#9EA01F#9EA01F

#9EA01F is a light, vivid yellow. Relative luminance 0.325; OKLCH L 68.2% C 0.141 H 110.5°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#9EA01F
RGBrgb(158, 160, 31)
HSLhsl(61, 68%, 37%)
HSVhsv(61, 81%, 63%)
CMYKcmyk(1.2%, 0%, 80.6%, 37.3%)
CIE-LABlab(63.76, -15.45, 60.77)
CIE-LCHlch(63.76, 62.70, 104.26°)
OKLaboklab(68.23% -0.0494 0.1318)
OKLCHoklch(68.23% 0.141 110.5)
XYZxyz(26.9197, 32.5104, 6.1532)
Luminance0.3251 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EA01F #211FA0
analogous
#A0611F #9EA01F #5EA01F
triadic
#9EA01F #1F9EA0 #A01F9E
tetradic
#9EA01F #1FA061 #211FA0 #A01F5E
square
#9EA01F #1FA061 #211FA0 #A01F5E
split-complementary
#9EA01F #1F5EA0 #611FA0
monochromatic
#39390B #6B6D15 #9EA01F #D1D329 #DDDF5A

Accessibility & contrast

On white

2.80
#9EA01F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#9EA01F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EA01F
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EA01F#FFFFFF#000000##000000
##9EA01F1.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9900
Deuteranopia (green-blind)
#AE9C2B
Tritanopia (blue-blind)
#AA9589
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #9ea01f;
/* rgb */ color: rgb(158, 160, 31);
/* oklch */ color: oklch(68.2% 0.141 110.5);
Tailwind
colors: {
  custom: {
    50: '#bebb68',
    500: '#9ea01f',
    950: '#000000',
  },
}
SCSS
$custom: #9ea01f;
$custom-light: #bebb68;
$custom-dark: #000000;
JSON
{
  "hex": "#9ea01f",
  "rgb": {
    "r": 158,
    "g": 160,
    "b": 31
  },
  "hsl": {
    "h": 60.93,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.68232,
    "c": 0.1407,
    "h": 110.5
  },
  "luminance": 0.3251
}

Semantic roles & 50–950 ramp

primary
#9EA01F
secondary
#5958C3
accent
#3DEA40
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9EA01F

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

Preview Lab → · Contrast checker → · Palette generator →

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