#9EAF2E#9EAF2E

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

Color values

HEX#9EAF2E
RGBrgb(158, 175, 46)
HSLhsl(68, 58%, 43%)
HSVhsv(68, 74%, 69%)
CMYKcmyk(9.7%, 0%, 73.7%, 31.4%)
CIE-LABlab(68.11, -22.41, 60.00)
CIE-LCHlch(68.11, 64.05, 110.49°)
OKLaboklab(71.75% -0.0674 0.1328)
OKLCHoklch(71.75% 0.149 116.9)
XYZxyz(29.9244, 38.1267, 8.3670)
Luminance0.3813 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EAF2E #3F2EAF
analogous
#AF7F2E #9EAF2E #5DAF2E
triadic
#9EAF2E #2E9EAF #AF2E9E
tetradic
#9EAF2E #2EAF7F #3F2EAF #AF2E5D
square
#9EAF2E #2EAF7F #3F2EAF #AF2E5D
split-complementary
#9EAF2E #2E5DAF #7F2EAF
monochromatic
#464E15 #727F21 #9EAF2E #BED04B #D0DC7B

Accessibility & contrast

On white

2.43
#9EAF2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.63
#9EAF2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EAF2E
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EAF2E#FFFFFF#000000##000000
##9EAF2E1.002.438.638.63
#FFFFFF2.431.0021.0021.00
#0000008.6321.001.001.00
##0000008.6321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9eaf2e;
/* rgb */ color: rgb(158, 175, 46);
/* oklch */ color: oklch(71.7% 0.149 116.9);
Tailwind
colors: {
  custom: {
    50: '#bec670',
    500: '#9eaf2e',
    950: '#000000',
  },
}
SCSS
$custom: #9eaf2e;
$custom-light: #bec670;
$custom-dark: #000000;
JSON
{
  "hex": "#9eaf2e",
  "rgb": {
    "r": 158,
    "g": 175,
    "b": 46
  },
  "hsl": {
    "h": 67.907,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.71745,
    "c": 0.14895,
    "h": 116.9
  },
  "luminance": 0.38126
}

Semantic roles & 50–950 ramp

primary
#9EAF2E
secondary
#7F74C5
accent
#46E25B
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #9EAF2E

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

Preview Lab → · Contrast checker → · Palette generator →

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