#9EAF3E#9EAF3E

#9EAF3E is a light, vivid yellow. Relative luminance 0.383; OKLCH L 71.9% C 0.138 H 117.3°. Best body text is #000000 at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#9EAF3E
RGBrgb(158, 175, 62)
HSLhsl(69, 48%, 46%)
HSVhsv(69, 65%, 69%)
CMYKcmyk(9.7%, 0%, 64.6%, 31.4%)
CIE-LABlab(68.22, -21.47, 53.94)
CIE-LCHlch(68.22, 58.06, 111.70°)
OKLaboklab(71.87% -0.0633 0.1226)
OKLCHoklch(71.87% 0.138 117.3)
XYZxyz(30.3006, 38.2772, 10.3485)
Luminance0.3828 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EAF3E #4F3EAF
analogous
#AF883E #9EAF3E #66AF3E
triadic
#9EAF3E #3E9EAF #AF3E9E
tetradic
#9EAF3E #3EAF88 #4F3EAF #AF3E66
square
#9EAF3E #3EAF88 #4F3EAF #AF3E66
split-complementary
#9EAF3E #3E66AF #883EAF
monochromatic
#4C551E #75822E #9EAF3E #B8C863 #CDD890

Accessibility & contrast

On white

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

On black

8.66
#9EAF3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EAF3E
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EAF3E#FFFFFF#000000##000000
##9EAF3E1.002.438.668.66
#FFFFFF2.431.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA62F
Deuteranopia (green-blind)
#B9A746
Tritanopia (blue-blind)
#A7A698
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #9eaf3e;
/* rgb */ color: rgb(158, 175, 62);
/* oklch */ color: oklch(71.9% 0.138 117.3);
Tailwind
colors: {
  custom: {
    50: '#bdc679',
    500: '#9eaf3e',
    950: '#000000',
  },
}
SCSS
$custom: #9eaf3e;
$custom-light: #bdc679;
$custom-dark: #000000;
JSON
{
  "hex": "#9eaf3e",
  "rgb": {
    "r": 158,
    "g": 175,
    "b": 62
  },
  "hsl": {
    "h": 69.027,
    "s": 47.679,
    "l": 46.471
  },
  "oklch": {
    "l": 0.71869,
    "c": 0.13799,
    "h": 117.3
  },
  "luminance": 0.38277
}

Semantic roles & 50–950 ramp

primary
#9EAF3E
secondary
#8F86C3
accent
#51D765
background
#FBFCF7
surface
#F7F8EE
border
#D0D1C9
text
#121309
muted
#81827B

Preview Lab

Preview with #9EAF3E

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

Preview Lab → · Contrast checker → · Palette generator →

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