#9EAF2D#9EAF2D

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

Color values

HEX#9EAF2D
RGBrgb(158, 175, 45)
HSLhsl(68, 59%, 43%)
HSVhsv(68, 74%, 69%)
CMYKcmyk(9.7%, 0%, 74.3%, 31.4%)
CIE-LABlab(68.11, -22.46, 60.33)
CIE-LCHlch(68.11, 64.38, 110.42°)
OKLaboklab(71.74% -0.0677 0.1333)
OKLCHoklch(71.74% 0.15 116.9)
XYZxyz(29.9049, 38.1189, 8.2644)
Luminance0.3812 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EAF2D #3E2DAF
analogous
#AF7F2D #9EAF2D #5DAF2D
triadic
#9EAF2D #2D9EAF #AF2D9E
tetradic
#9EAF2D #2DAF7F #3E2DAF #AF2D5D
square
#9EAF2D #2DAF7F #3E2DAF #AF2D5D
split-complementary
#9EAF2D #2D5DAF #7F2DAF
monochromatic
#464E14 #727E20 #9EAF2D #BFD049 #D0DD7A

Accessibility & contrast

On white

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

On black

8.62
#9EAF2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EAF2D
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EAF2D#FFFFFF#000000##000000
##9EAF2D1.002.448.628.62
#FFFFFF2.441.0021.0021.00
#0000008.6221.001.001.00
##0000008.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA611
Deuteranopia (green-blind)
#BAA738
Tritanopia (blue-blind)
#A8A596
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #9eaf2d;
/* rgb */ color: rgb(158, 175, 45);
/* oklch */ color: oklch(71.7% 0.150 116.9);
Tailwind
colors: {
  custom: {
    50: '#bec670',
    500: '#9eaf2d',
    950: '#000000',
  },
}
SCSS
$custom: #9eaf2d;
$custom-light: #bec670;
$custom-dark: #000000;
JSON
{
  "hex": "#9eaf2d",
  "rgb": {
    "r": 158,
    "g": 175,
    "b": 45
  },
  "hsl": {
    "h": 67.846,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.71738,
    "c": 0.14953,
    "h": 116.9
  },
  "luminance": 0.38119
}

Semantic roles & 50–950 ramp

primary
#9EAF2D
secondary
#7E73C5
accent
#46E25A
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #9EAF2D

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

Preview Lab → · Contrast checker → · Palette generator →

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