#9DAF2B#9DAF2B

#9DAF2B is a light, vivid yellow. Relative luminance 0.380; OKLCH L 71.6% C 0.151 H 117.3°. Best body text is #000000 at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#9DAF2B
RGBrgb(157, 175, 43)
HSLhsl(68, 61%, 43%)
HSVhsv(68, 75%, 69%)
CMYKcmyk(10.3%, 0%, 75.4%, 31.4%)
CIE-LABlab(68.02, -22.98, 60.90)
CIE-LCHlch(68.02, 65.09, 110.67°)
OKLaboklab(71.65% -0.0692 0.1342)
OKLCHoklch(71.65% 0.151 117.3)
XYZxyz(29.6714, 38.0028, 8.0572)
Luminance0.3800 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DAF2B #3D2BAF
analogous
#AF7F2B #9DAF2B #5BAF2B
triadic
#9DAF2B #2B9DAF #AF2B9D
tetradic
#9DAF2B #2BAF7F #3D2BAF #AF2B5B
square
#9DAF2B #2BAF7F #3D2BAF #AF2B5B
split-complementary
#9DAF2B #2B5BAF #7F2BAF
monochromatic
#454D13 #717E1F #9DAF2B #BED146 #D0DE77

Accessibility & contrast

On white

2.44
#9DAF2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.60
#9DAF2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DAF2B
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DAF2B#FFFFFF#000000##000000
##9DAF2B1.002.448.608.60
#FFFFFF2.441.0021.0021.00
#0000008.6021.001.001.00
##0000008.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA50B
Deuteranopia (green-blind)
#B9A737
Tritanopia (blue-blind)
#A7A596
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #9daf2b;
/* rgb */ color: rgb(157, 175, 43);
/* oklch */ color: oklch(71.6% 0.151 117.3);
Tailwind
colors: {
  custom: {
    50: '#bdc66f',
    500: '#9daf2b',
    950: '#000000',
  },
}
SCSS
$custom: #9daf2b;
$custom-light: #bdc66f;
$custom-dark: #000000;
JSON
{
  "hex": "#9daf2b",
  "rgb": {
    "r": 157,
    "g": 175,
    "b": 43
  },
  "hsl": {
    "h": 68.182,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.71647,
    "c": 0.15102,
    "h": 117.3
  },
  "luminance": 0.38002
}

Semantic roles & 50–950 ramp

primary
#9DAF2B
secondary
#7C70C5
accent
#44E45A
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #9DAF2B

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

Preview Lab → · Contrast checker → · Palette generator →

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