#9DAF2E#9DAF2E

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

Color values

HEX#9DAF2E
RGBrgb(157, 175, 46)
HSLhsl(68, 58%, 43%)
HSVhsv(68, 74%, 69%)
CMYKcmyk(10.3%, 0%, 73.7%, 31.4%)
CIE-LABlab(68.04, -22.84, 59.90)
CIE-LCHlch(68.04, 64.10, 110.87°)
OKLaboklab(71.67% -0.0686 0.1326)
OKLCHoklch(71.67% 0.149 117.3)
XYZxyz(29.7284, 38.0256, 8.3578)
Luminance0.3802 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DAF2E #402EAF
analogous
#AF802E #9DAF2E #5CAF2E
triadic
#9DAF2E #2E9DAF #AF2E9D
tetradic
#9DAF2E #2EAF80 #402EAF #AF2E5C
square
#9DAF2E #2EAF80 #402EAF #AF2E5C
split-complementary
#9DAF2E #2E5CAF #802EAF
monochromatic
#464E15 #727F21 #9DAF2E #BDD04B #CFDC7B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9DAF2E#FFFFFF#000000##000000
##9DAF2E1.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)
#BBA514
Deuteranopia (green-blind)
#B9A739
Tritanopia (blue-blind)
#A7A596
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #9daf2e;
/* rgb */ color: rgb(157, 175, 46);
/* oklch */ color: oklch(71.7% 0.149 117.3);
Tailwind
colors: {
  custom: {
    50: '#bdc670',
    500: '#9daf2e',
    950: '#000000',
  },
}
SCSS
$custom: #9daf2e;
$custom-light: #bdc670;
$custom-dark: #000000;
JSON
{
  "hex": "#9daf2e",
  "rgb": {
    "r": 157,
    "g": 175,
    "b": 46
  },
  "hsl": {
    "h": 68.372,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.71666,
    "c": 0.14931,
    "h": 117.3
  },
  "luminance": 0.38025
}

Semantic roles & 50–950 ramp

primary
#9DAF2E
secondary
#7F74C5
accent
#46E25C
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #9DAF2E

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

Preview Lab → · Contrast checker → · Palette generator →

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