#9BA00A

A color in the Yellow, Gold family

#9ba00a is a color in the Yellow, Gold family: RGB(155, 160, 10), HSL(62°, 88%, 33%), CMYK(3%, 0%, 94%, 37%). Closest named color: darkgoldenrod. Contrast is 2.83:1 on white and 7.43:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#9ba00a
RGBrgb(155 160 10)
RGB (legacy)rgb(155, 160, 10)
RGB %rgb(61% 63% 4%)
HSLhsl(62 88% 33%)
HSV / HSBhsv(62, 94%, 63%)
HWBhwb(62 4% 37%)
CMYKcmyk(3%, 0%, 94%, 37%)
CIELAB (D50)lab(63.76 -13.2 64.08)
LCHlch(63.76 65.43 101.64)
OKLaboklab(0.679 -0.0555 0.1375)
OKLCHoklch(0.679 0.1483 111.99)
Decimal10199050

Properties

Color ToneYellow, Gold
Closest named colordarkgoldenrod ΔE 8
Closest web-safe color#999900
Hue62°
Saturation (HSL / HSV)88% / 94%
Lightness (HSL)33%
Brightness or Value (HSV)63%
Luminance (Rec.601 / Rec.709)55% / 58%
Relative luminance (WCAG)0.3213
Red / Green / Blue155 / 160 / 10

WCAG 2.2 Contrast Ratio

On White (#ffffff)
2.83:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
7.43:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 54.1 / -47.7 · As background with white / black text: Lc -59.4 / 49.9

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #9ba00a;
  --color-brand-oklch: oklch(67.9% 0.1483 111.99);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(155 160 10 / 50%); }
/* Tailwind CSS */
<div class="bg-[#9ba00a] text-[#9ba00a] border-[#9ba00a]">