#9DB131#9DB131

#9DB131 is a light, vivid yellow. Relative luminance 0.388; OKLCH L 72.1% C 0.150 H 118.1°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#9DB131
RGBrgb(157, 177, 49)
HSLhsl(69, 57%, 44%)
HSVhsv(69, 72%, 69%)
CMYKcmyk(11.3%, 0%, 72.3%, 30.6%)
CIE-LABlab(68.63, -23.67, 59.41)
CIE-LCHlch(68.63, 63.95, 111.72°)
OKLaboklab(72.15% -0.0706 0.1321)
OKLCHoklch(72.15% 0.15 118.1)
XYZxyz(30.1818, 38.8344, 8.8109)
Luminance0.3883 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DB131 #4531B1
analogous
#B18531 #9DB131 #5DB131
triadic
#9DB131 #319DB1 #B1319D
tetradic
#9DB131 #31B185 #4531B1 #B1315D
square
#9DB131 #31B185 #4531B1 #B1315D
split-complementary
#9DB131 #315DB1 #8531B1
monochromatic
#485116 #728124 #9DB131 #BBCF51 #CEDC80

Accessibility & contrast

On white

2.40
#9DB131 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.77
#9DB131 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DB131
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DB131#FFFFFF#000000##000000
##9DB1311.002.408.778.77
#FFFFFF2.401.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA719
Deuteranopia (green-blind)
#BBA83C
Tritanopia (blue-blind)
#A7A798
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #9db131;
/* rgb */ color: rgb(157, 177, 49);
/* oklch */ color: oklch(72.1% 0.150 118.1);
Tailwind
colors: {
  custom: {
    50: '#bdc872',
    500: '#9db131',
    950: '#000000',
  },
}
SCSS
$custom: #9db131;
$custom-light: #bdc872;
$custom-dark: #000000;
JSON
{
  "hex": "#9db131",
  "rgb": {
    "r": 157,
    "g": 177,
    "b": 49
  },
  "hsl": {
    "h": 69.375,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.72148,
    "c": 0.14979,
    "h": 118.1
  },
  "luminance": 0.38834
}

Semantic roles & 50–950 ramp

primary
#9DB131
secondary
#8579C5
accent
#48E060
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #9DB131

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

Preview Lab → · Contrast checker → · Palette generator →

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