#9EAE31#9EAE31

#9EAE31 is a light, vivid yellow. Relative luminance 0.378; OKLCH L 71.5% C 0.146 H 116.6°. Best body text is #000000 at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#9EAE31
RGBrgb(158, 174, 49)
HSLhsl(68, 56%, 44%)
HSVhsv(68, 72%, 68%)
CMYKcmyk(9.2%, 0%, 71.8%, 31.8%)
CIE-LABlab(67.85, -21.76, 58.67)
CIE-LCHlch(67.85, 62.57, 110.35°)
OKLaboklab(71.54% -0.0654 0.1305)
OKLCHoklch(71.54% 0.146 116.6)
XYZxyz(29.7917, 37.7633, 8.6248)
Luminance0.3776 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EAE31 #4131AE
analogous
#AE7F31 #9EAE31 #5FAE31
triadic
#9EAE31 #319EAE #AE319E
tetradic
#9EAE31 #31AE7F #4131AE #AE315F
square
#9EAE31 #31AE7F #4131AE #AE315F
split-complementary
#9EAE31 #315FAE #7F31AE
monochromatic
#474E16 #737E24 #9EAE31 #BDCD4F #CFDB7F

Accessibility & contrast

On white

2.46
#9EAE31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.55
#9EAE31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EAE31
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EAE31#FFFFFF#000000##000000
##9EAE311.002.468.558.55
#FFFFFF2.461.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA51A
Deuteranopia (green-blind)
#B9A63B
Tritanopia (blue-blind)
#A8A496
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #9eae31;
/* rgb */ color: rgb(158, 174, 49);
/* oklch */ color: oklch(71.5% 0.146 116.6);
Tailwind
colors: {
  custom: {
    50: '#bec672',
    500: '#9eae31',
    950: '#000000',
  },
}
SCSS
$custom: #9eae31;
$custom-light: #bec672;
$custom-dark: #000000;
JSON
{
  "hex": "#9eae31",
  "rgb": {
    "r": 158,
    "g": 174,
    "b": 49
  },
  "hsl": {
    "h": 67.68,
    "s": 56.054,
    "l": 43.725
  },
  "oklch": {
    "l": 0.71535,
    "c": 0.14598,
    "h": 116.6
  },
  "luminance": 0.37763
}

Semantic roles & 50–950 ramp

primary
#9EAE31
secondary
#8177C4
accent
#48DF5C
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #9EAE31

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

Preview Lab → · Contrast checker → · Palette generator →

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