#9DB229#9DB229

#9DB229 is a light, vivid yellow. Relative luminance 0.392; OKLCH L 72.3% C 0.155 H 118.3°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#9DB229
RGBrgb(157, 178, 41)
HSLhsl(69, 63%, 43%)
HSVhsv(69, 77%, 70%)
CMYKcmyk(11.8%, 0%, 77%, 30.2%)
CIE-LABlab(68.87, -24.55, 62.34)
CIE-LCHlch(68.87, 67.00, 111.50°)
OKLaboklab(72.33% -0.0737 0.1369)
OKLCHoklch(72.33% 0.156 118.3)
XYZxyz(30.2260, 39.1693, 8.0655)
Luminance0.3917 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DB229 #3E29B2
analogous
#B28229 #9DB229 #58B229
triadic
#9DB229 #299DB2 #B2299D
tetradic
#9DB229 #29B282 #3E29B2 #B22958
square
#9DB229 #29B282 #3E29B2 #B22958
split-complementary
#9DB229 #2958B2 #8229B2
monochromatic
#454F12 #71801E #9DB229 #BED444 #CFDF76

Accessibility & contrast

On white

2.38
#9DB229 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.83
#9DB229 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DB229
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DB229#FFFFFF#000000##000000
##9DB2291.002.388.838.83
#FFFFFF2.381.0021.0021.00
#0000008.8321.001.001.00
##0000008.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA802
Deuteranopia (green-blind)
#BCA936
Tritanopia (blue-blind)
#A7A898
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #9db229;
/* rgb */ color: rgb(157, 178, 41);
/* oklch */ color: oklch(72.3% 0.155 118.3);
Tailwind
colors: {
  custom: {
    50: '#bec96e',
    500: '#9db229',
    950: '#000000',
  },
}
SCSS
$custom: #9db229;
$custom-light: #bec96e;
$custom-dark: #000000;
JSON
{
  "hex": "#9db229",
  "rgb": {
    "r": 157,
    "g": 178,
    "b": 41
  },
  "hsl": {
    "h": 69.197,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.72329,
    "c": 0.1555,
    "h": 118.3
  },
  "luminance": 0.39169
}

Semantic roles & 50–950 ramp

primary
#9DB229
secondary
#7D70C7
accent
#42E65B
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #9DB229

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#9DB229 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva