#9EAA31#9EAA31

#9EAA31 is a light, vivid yellow. Relative luminance 0.362; OKLCH L 70.6% C 0.141 H 115.0°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#9EAA31
RGBrgb(158, 170, 49)
HSLhsl(66, 55%, 43%)
HSVhsv(66, 71%, 67%)
CMYKcmyk(7.1%, 0%, 71.2%, 33.3%)
CIE-LABlab(66.70, -19.76, 57.55)
CIE-LCHlch(66.70, 60.85, 108.95°)
OKLaboklab(70.62% -0.0598 0.1282)
OKLCHoklch(70.62% 0.141 115)
XYZxyz(29.0304, 36.2408, 8.3710)
Luminance0.3624 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EAA31 #3D31AA
analogous
#AA7931 #9EAA31 #62AA31
triadic
#9EAA31 #319EAA #AA319E
tetradic
#9EAA31 #31AA79 #3D31AA #AA3162
square
#9EAA31 #31AA79 #3D31AA #AA3162
split-complementary
#9EAA31 #3162AA #7931AA
monochromatic
#464B16 #727A23 #9EAA31 #BFCC4D #D0D97C

Accessibility & contrast

On white

2.55
#9EAA31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.25
#9EAA31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EAA31
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EAA31#FFFFFF#000000##000000
##9EAA311.002.558.258.25
#FFFFFF2.551.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A11C
Deuteranopia (green-blind)
#B5A33A
Tritanopia (blue-blind)
#A8A092
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9eaa31;
/* rgb */ color: rgb(158, 170, 49);
/* oklch */ color: oklch(70.6% 0.141 115.0);
Tailwind
colors: {
  custom: {
    50: '#bec371',
    500: '#9eaa31',
    950: '#000000',
  },
}
SCSS
$custom: #9eaa31;
$custom-light: #bec371;
$custom-dark: #000000;
JSON
{
  "hex": "#9eaa31",
  "rgb": {
    "r": 158,
    "g": 170,
    "b": 49
  },
  "hsl": {
    "h": 65.95,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.70618,
    "c": 0.14142,
    "h": 115
  },
  "luminance": 0.3624
}

Semantic roles & 50–950 ramp

primary
#9EAA31
secondary
#7D75C2
accent
#49DF58
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9EAA31

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

Preview Lab → · Contrast checker → · Palette generator →

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