#9DB231#9DB231

#9DB231 is a light, vivid yellow. Relative luminance 0.392; OKLCH L 72.4% C 0.151 H 118.5°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#9DB231
RGBrgb(157, 178, 49)
HSLhsl(70, 57%, 45%)
HSVhsv(70, 72%, 70%)
CMYKcmyk(11.8%, 0%, 72.5%, 30.2%)
CIE-LABlab(68.92, -24.16, 59.69)
CIE-LCHlch(68.92, 64.39, 112.04°)
OKLaboklab(72.38% -0.072 0.1327)
OKLCHoklch(72.38% 0.151 118.5)
XYZxyz(30.3800, 39.2309, 8.8770)
Luminance0.3923 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DB231 #4631B2
analogous
#B28631 #9DB231 #5DB231
triadic
#9DB231 #319DB2 #B2319D
tetradic
#9DB231 #31B286 #4631B2 #B2315D
square
#9DB231 #31B286 #4631B2 #B2315D
split-complementary
#9DB231 #315DB2 #8631B2
monochromatic
#485217 #738224 #9DB231 #BBCF51 #CDDC81

Accessibility & contrast

On white

2.37
#9DB231 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.85
#9DB231 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DB231
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DB231#FFFFFF#000000##000000
##9DB2311.002.378.858.85
#FFFFFF2.371.0021.0021.00
#0000008.8521.001.001.00
##0000008.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA819
Deuteranopia (green-blind)
#BCA93C
Tritanopia (blue-blind)
#A6A899
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #9db231;
/* rgb */ color: rgb(157, 178, 49);
/* oklch */ color: oklch(72.4% 0.151 118.5);
Tailwind
colors: {
  custom: {
    50: '#bdc972',
    500: '#9db231',
    950: '#000000',
  },
}
SCSS
$custom: #9db231;
$custom-light: #bdc972;
$custom-dark: #000000;
JSON
{
  "hex": "#9db231",
  "rgb": {
    "r": 157,
    "g": 178,
    "b": 49
  },
  "hsl": {
    "h": 69.767,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.72379,
    "c": 0.15095,
    "h": 118.5
  },
  "luminance": 0.39231
}

Semantic roles & 50–950 ramp

primary
#9DB231
secondary
#8679C5
accent
#48E061
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #9DB231

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

Preview Lab → · Contrast checker → · Palette generator →

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