#9EAF37#9EAF37

#9EAF37 is a light, vivid yellow. Relative luminance 0.382; OKLCH L 71.8% C 0.143 H 117.1°. Best body text is #000000 at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#9EAF37
RGBrgb(158, 175, 55)
HSLhsl(69, 52%, 45%)
HSVhsv(69, 69%, 69%)
CMYKcmyk(9.7%, 0%, 68.6%, 31.4%)
CIE-LABlab(68.17, -21.92, 56.73)
CIE-LCHlch(68.17, 60.81, 111.13°)
OKLaboklab(71.81% -0.0652 0.1274)
OKLCHoklch(71.81% 0.143 117.1)
XYZxyz(30.1208, 38.2052, 9.4013)
Luminance0.3821 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EAF37 #4837AF
analogous
#AF8437 #9EAF37 #62AF37
triadic
#9EAF37 #379EAF #AF379E
tetradic
#9EAF37 #37AF84 #4837AF #AF3762
square
#9EAF37 #37AF84 #4837AF #AF3762
split-complementary
#9EAF37 #3762AF #8437AF
monochromatic
#4A521A #748028 #9EAF37 #BBCB59 #CED987

Accessibility & contrast

On white

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

On black

8.64
#9EAF37 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EAF37
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EAF37#FFFFFF#000000##000000
##9EAF371.002.438.648.64
#FFFFFF2.431.0021.0021.00
#0000008.6421.001.001.00
##0000008.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA625
Deuteranopia (green-blind)
#B9A740
Tritanopia (blue-blind)
#A8A597
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #9eaf37;
/* rgb */ color: rgb(158, 175, 55);
/* oklch */ color: oklch(71.8% 0.143 117.1);
Tailwind
colors: {
  custom: {
    50: '#bec675',
    500: '#9eaf37',
    950: '#000000',
  },
}
SCSS
$custom: #9eaf37;
$custom-light: #bec675;
$custom-dark: #000000;
JSON
{
  "hex": "#9eaf37",
  "rgb": {
    "r": 158,
    "g": 175,
    "b": 55
  },
  "hsl": {
    "h": 68.5,
    "s": 52.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.71809,
    "c": 0.14316,
    "h": 117.1
  },
  "luminance": 0.38205
}

Semantic roles & 50–950 ramp

primary
#9EAF37
secondary
#887FC3
accent
#4CDC61
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121309
muted
#81827B

Preview Lab

Preview with #9EAF37

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

Preview Lab → · Contrast checker → · Palette generator →

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