#9EA521

A color in the Yellow, Gold family

#9ea521 is a color in the Yellow, Gold family: RGB(158, 165, 33), HSL(63°, 67%, 39%), CMYK(4%, 0%, 80%, 35%). Closest named color: darkgoldenrod. Contrast is 2.67:1 on white and 7.86:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#9ea521
RGBrgb(158 165 33)
RGB (legacy)rgb(158, 165, 33)
RGB %rgb(62% 65% 13%)
HSLhsl(63 67% 39%)
HSV / HSBhsv(63, 80%, 65%)
HWBhwb(63 13% 35%)
CMYKcmyk(4%, 0%, 80%, 35%)
CIELAB (D50)lab(65.49 -13.91 60.84)
LCHlch(65.49 62.41 102.88)
OKLaboklab(0.6938 -0.0562 0.1336)
OKLCHoklch(0.6938 0.1449 112.8)
Decimal10396961

Properties

Color ToneYellow, Gold
Closest named colordarkgoldenrod ΔE 8.6
Closest web-safe color#999933
Hue63°
Saturation (HSL / HSV)67% / 80%
Lightness (HSL)39%
Brightness or Value (HSV)65%
Luminance (Rec.601 / Rec.709)58% / 60%
Relative luminance (WCAG)0.3429
Red / Green / Blue158 / 165 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
2.67:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
7.86: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 51.8 / -50.1 · As background with white / black text: Lc -57 / 52.2

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: #9ea521;
  --color-brand-oklch: oklch(69.38% 0.1449 112.8);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(158 165 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#9ea521] text-[#9ea521] border-[#9ea521]">