#9DAF2D#9DAF2D

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

Color values

HEX#9DAF2D
RGBrgb(157, 175, 45)
HSLhsl(68, 59%, 43%)
HSVhsv(68, 74%, 69%)
CMYKcmyk(10.3%, 0%, 74.3%, 31.4%)
CIE-LABlab(68.03, -22.89, 60.24)
CIE-LCHlch(68.03, 64.44, 110.80°)
OKLaboklab(71.66% -0.0688 0.1332)
OKLCHoklch(71.66% 0.15 117.3)
XYZxyz(29.7090, 38.0178, 8.2552)
Luminance0.3802 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DAF2D #3F2DAF
analogous
#AF802D #9DAF2D #5CAF2D
triadic
#9DAF2D #2D9DAF #AF2D9D
tetradic
#9DAF2D #2DAF80 #3F2DAF #AF2D5C
square
#9DAF2D #2DAF80 #3F2DAF #AF2D5C
split-complementary
#9DAF2D #2D5CAF #802DAF
monochromatic
#464E14 #717E20 #9DAF2D #BDD049 #CFDD7A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9DAF2D#FFFFFF#000000##000000
##9DAF2D1.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)
#BBA511
Deuteranopia (green-blind)
#B9A738
Tritanopia (blue-blind)
#A7A596
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #9daf2d;
/* rgb */ color: rgb(157, 175, 45);
/* oklch */ color: oklch(71.7% 0.150 117.3);
Tailwind
colors: {
  custom: {
    50: '#bdc670',
    500: '#9daf2d',
    950: '#000000',
  },
}
SCSS
$custom: #9daf2d;
$custom-light: #bdc670;
$custom-dark: #000000;
JSON
{
  "hex": "#9daf2d",
  "rgb": {
    "r": 157,
    "g": 175,
    "b": 45
  },
  "hsl": {
    "h": 68.308,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.7166,
    "c": 0.14989,
    "h": 117.3
  },
  "luminance": 0.38018
}

Semantic roles & 50–950 ramp

primary
#9DAF2D
secondary
#7E73C5
accent
#46E25B
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #9DAF2D

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

Preview Lab → · Contrast checker → · Palette generator →

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