#9EA01C#9EA01C

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

Color values

HEX#9EA01C
RGBrgb(158, 160, 28)
HSLhsl(61, 70%, 37%)
HSVhsv(61, 83%, 63%)
CMYKcmyk(1.2%, 0%, 82.5%, 37.3%)
CIE-LABlab(63.75, -15.55, 61.59)
CIE-LCHlch(63.75, 63.52, 104.17°)
OKLaboklab(68.22% -0.0499 0.133)
OKLCHoklch(68.22% 0.142 110.6)
XYZxyz(26.8820, 32.4953, 5.9546)
Luminance0.3250 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EA01C #1E1CA0
analogous
#A0601C #9EA01C #5CA01C
triadic
#9EA01C #1C9EA0 #A01C9E
tetradic
#9EA01C #1CA060 #1E1CA0 #A01C5C
square
#9EA01C #1CA060 #1E1CA0 #A01C5C
split-complementary
#9EA01C #1C5CA0 #601CA0
monochromatic
#37380A #6B6C13 #9EA01C #D1D425 #DFE155

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9EA01C#FFFFFF#000000##000000
##9EA01C1.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)
#AE9C29
Tritanopia (blue-blind)
#AA9589
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #9ea01c;
/* rgb */ color: rgb(158, 160, 28);
/* oklch */ color: oklch(68.2% 0.142 110.6);
Tailwind
colors: {
  custom: {
    50: '#bfbb67',
    500: '#9ea01c',
    950: '#000000',
  },
}
SCSS
$custom: #9ea01c;
$custom-light: #bfbb67;
$custom-dark: #000000;
JSON
{
  "hex": "#9ea01c",
  "rgb": {
    "r": 158,
    "g": 160,
    "b": 28
  },
  "hsl": {
    "h": 60.909,
    "s": 70.213,
    "l": 36.863
  },
  "oklch": {
    "l": 0.68218,
    "c": 0.142,
    "h": 110.6
  },
  "luminance": 0.32495
}

Semantic roles & 50–950 ramp

primary
#9EA01C
secondary
#5553C4
accent
#3BED3E
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9EA01C

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

Preview Lab → · Contrast checker → · Palette generator →

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