#9EA12B#9EA12B

#9EA12B is a light, vivid yellow. Relative luminance 0.329; OKLCH L 68.5% C 0.135 H 111.0°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#9EA12B
RGBrgb(158, 161, 43)
HSLhsl(62, 58%, 40%)
HSVhsv(62, 73%, 63%)
CMYKcmyk(1.9%, 0%, 73.3%, 36.9%)
CIE-LABlab(64.11, -15.46, 57.22)
CIE-LCHlch(64.11, 59.27, 105.12°)
OKLaboklab(68.53% -0.0484 0.1264)
OKLCHoklch(68.53% 0.135 111)
XYZxyz(27.2824, 32.9340, 7.2048)
Luminance0.3293 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EA12B #2E2BA1
analogous
#A1692B #9EA12B #63A12B
triadic
#9EA12B #2B9EA1 #A12B9E
tetradic
#9EA12B #2BA169 #2E2BA1 #A12B63
square
#9EA12B #2BA169 #2E2BA1 #A12B63
split-complementary
#9EA12B #2B63A1 #692BA1
monochromatic
#3F4011 #6F711E #9EA12B #C8CB3E #D6D86E

Accessibility & contrast

On white

2.77
#9EA12B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.59
#9EA12B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EA12B
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EA12B#FFFFFF#000000##000000
##9EA12B1.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A14
Deuteranopia (green-blind)
#AF9D34
Tritanopia (blue-blind)
#A9978A
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9ea12b;
/* rgb */ color: rgb(158, 161, 43);
/* oklch */ color: oklch(68.5% 0.135 111.0);
Tailwind
colors: {
  custom: {
    50: '#bebc6d',
    500: '#9ea12b',
    950: '#000000',
  },
}
SCSS
$custom: #9ea12b;
$custom-light: #bebc6d;
$custom-dark: #000000;
JSON
{
  "hex": "#9ea12b",
  "rgb": {
    "r": 158,
    "g": 161,
    "b": 43
  },
  "hsl": {
    "h": 61.525,
    "s": 57.843,
    "l": 40
  },
  "oklch": {
    "l": 0.68527,
    "c": 0.13537,
    "h": 111
  },
  "luminance": 0.32933
}

Semantic roles & 50–950 ramp

primary
#9EA12B
secondary
#6B69BF
accent
#47E14B
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #9EA12B

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

Preview Lab → · Contrast checker → · Palette generator →

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