#9DB821

A color in the Yellow, Gold family

#9db821 is a color in the Yellow, Gold family: RGB(157, 184, 33), HSL(71°, 70%, 43%), CMYK(15%, 0%, 82%, 28%). Closest named color: yellowgreen. Contrast is 2.26:1 on white and 9.31:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#9db821
RGBrgb(157 184 33)
RGB (legacy)rgb(157, 184, 33)
RGB %rgb(62% 72% 13%)
HSLhsl(71 70% 43%)
HSV / HSBhsv(71, 82%, 72%)
HWBhwb(71 13% 28%)
CMYKcmyk(15%, 0%, 82%, 28%)
CIELAB (D50)lab(70.84 -23.24 65.29)
LCHlch(70.84 69.3 109.59)
OKLaboklab(0.7368 -0.0831 0.1437)
OKLCHoklch(0.7368 0.166 120.06)
Decimal10336289

Properties

Color ToneYellow, Gold
Closest named coloryellowgreen ΔE 5.5
Closest web-safe color#99cc33
Hue71°
Saturation (HSL / HSV)70% / 82%
Lightness (HSL)43%
Brightness or Value (HSV)72%
Luminance (Rec.601 / Rec.709)62% / 66%
Relative luminance (WCAG)0.4156
Red / Green / Blue157 / 184 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
2.26:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
9.31: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 44.3 / -57.8 · As background with white / black text: Lc -49.1 / 59.7

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: #9db821;
  --color-brand-oklch: oklch(73.68% 0.166 120.06);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(157 184 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#9db821] text-[#9db821] border-[#9db821]">