#9EA02C#9EA02C

#9EA02C is a light, vivid yellow. Relative luminance 0.326; OKLCH L 68.3% C 0.134 H 110.5°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#9EA02C
RGBrgb(158, 160, 44)
HSLhsl(61, 57%, 40%)
HSVhsv(61, 73%, 63%)
CMYKcmyk(1.2%, 0%, 72.5%, 37.3%)
CIE-LABlab(63.83, -14.90, 56.60)
CIE-LCHlch(63.83, 58.52, 104.75°)
OKLaboklab(68.31% -0.0467 0.1253)
OKLCHoklch(68.31% 0.134 110.5)
XYZxyz(27.1269, 32.5933, 7.2446)
Luminance0.3259 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EA02C #2E2CA0
analogous
#A0682C #9EA02C #64A02C
triadic
#9EA02C #2C9EA0 #A02C9E
tetradic
#9EA02C #2CA068 #2E2CA0 #A02C64
square
#9EA02C #2CA068 #2E2CA0 #A02C64
split-complementary
#9EA02C #2C64A0 #682CA0
monochromatic
#3F4012 #6F701F #9EA02C #C8CA3F #D6D76F

Accessibility & contrast

On white

2.79
#9EA02C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.52
#9EA02C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EA02C
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EA02C#FFFFFF#000000##000000
##9EA02C1.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9916
Deuteranopia (green-blind)
#AE9C35
Tritanopia (blue-blind)
#A9968A
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9ea02c;
/* rgb */ color: rgb(158, 160, 44);
/* oklch */ color: oklch(68.3% 0.134 110.5);
Tailwind
colors: {
  custom: {
    50: '#bebb6e',
    500: '#9ea02c',
    950: '#000000',
  },
}
SCSS
$custom: #9ea02c;
$custom-light: #bebb6e;
$custom-dark: #000000;
JSON
{
  "hex": "#9ea02c",
  "rgb": {
    "r": 158,
    "g": 160,
    "b": 44
  },
  "hsl": {
    "h": 61.034,
    "s": 56.863,
    "l": 40
  },
  "oklch": {
    "l": 0.68308,
    "c": 0.13371,
    "h": 110.5
  },
  "luminance": 0.32593
}

Semantic roles & 50–950 ramp

primary
#9EA02C
secondary
#6B69BF
accent
#48E04A
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131108
muted
#82807B

Preview Lab

Preview with #9EA02C

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

Preview Lab → · Contrast checker → · Palette generator →

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