#9DBF31#9DBF31

#9DBF31 is a light, vivid yellow-green. Relative luminance 0.447; OKLCH L 75.4% C 0.166 H 122.5°. Best body text is #000000 at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#9DBF31
RGBrgb(157, 191, 49)
HSLhsl(74, 59%, 47%)
HSVhsv(74, 74%, 75%)
CMYKcmyk(17.8%, 0%, 74.3%, 25.1%)
CIE-LABlab(72.66, -30.42, 63.30)
CIE-LCHlch(72.66, 70.23, 115.67°)
OKLaboklab(75.4% -0.0892 0.1403)
OKLCHoklch(75.4% 0.166 122.5)
XYZxyz(33.0903, 44.6513, 9.7804)
Luminance0.4465 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DBF31 #5331BF
analogous
#BF9A31 #9DBF31 #56BF31
triadic
#9DBF31 #319DBF #BF319D
tetradic
#9DBF31 #31BF9A #5331BF #BF3156
square
#9DBF31 #31BF9A #5331BF #BF3156
split-complementary
#9DBF31 #3156BF #9A31BF
monochromatic
#4D5E18 #758E25 #9DBF31 #B7D459 #CCE18A

Accessibility & contrast

On white

2.11
#9DBF31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.93
#9DBF31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DBF31
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DBF31#FFFFFF#000000##000000
##9DBF311.002.119.939.93
#FFFFFF2.111.0021.0021.00
#0000009.9321.001.001.00
##0000009.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB312
Deuteranopia (green-blind)
#C6B23E
Tritanopia (blue-blind)
#A5B5A4
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #9dbf31;
/* rgb */ color: rgb(157, 191, 49);
/* oklch */ color: oklch(75.4% 0.166 122.5);
Tailwind
colors: {
  custom: {
    50: '#bed274',
    500: '#9dbf31',
    950: '#000000',
  },
}
SCSS
$custom: #9dbf31;
$custom-light: #bed274;
$custom-dark: #000000;
JSON
{
  "hex": "#9dbf31",
  "rgb": {
    "r": 157,
    "g": 191,
    "b": 49
  },
  "hsl": {
    "h": 74.366,
    "s": 59.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.75397,
    "c": 0.16624,
    "h": 122.5
  },
  "luminance": 0.44651
}

Semantic roles & 50–950 ramp

primary
#9DBF31
secondary
#9381CB
accent
#45E26B
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#121409
muted
#81827B

Preview Lab

Preview with #9DBF31

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

Preview Lab → · Contrast checker → · Palette generator →

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