#9EB12A#9EB12A

#9EB12A is a light, vivid yellow. Relative luminance 0.389; OKLCH L 72.2% C 0.153 H 117.6°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#9EB12A
RGBrgb(158, 177, 42)
HSLhsl(68, 62%, 43%)
HSVhsv(68, 76%, 69%)
CMYKcmyk(10.7%, 0%, 76.3%, 30.6%)
CIE-LABlab(68.66, -23.59, 61.85)
CIE-LCHlch(68.66, 66.20, 110.88°)
OKLaboklab(72.18% -0.071 0.136)
OKLCHoklch(72.18% 0.153 117.6)
XYZxyz(30.2413, 38.8809, 8.1017)
Luminance0.3888 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EB12A #3D2AB1
analogous
#B1802A #9EB12A #5BB12A
triadic
#9EB12A #2A9EB1 #B12A9E
tetradic
#9EB12A #2AB180 #3D2AB1 #B12A5B
square
#9EB12A #2AB180 #3D2AB1 #B12A5B
split-complementary
#9EB12A #2A5BB1 #802AB1
monochromatic
#464E13 #72801E #9EB12A #BFD345 #D0DF77

Accessibility & contrast

On white

2.39
#9EB12A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.78
#9EB12A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EB12A
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EB12A#FFFFFF#000000##000000
##9EB12A1.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA706
Deuteranopia (green-blind)
#BBA836
Tritanopia (blue-blind)
#A8A798
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #9eb12a;
/* rgb */ color: rgb(158, 177, 42);
/* oklch */ color: oklch(72.2% 0.153 117.6);
Tailwind
colors: {
  custom: {
    50: '#bec86f',
    500: '#9eb12a',
    950: '#000000',
  },
}
SCSS
$custom: #9eb12a;
$custom-light: #bec86f;
$custom-dark: #000000;
JSON
{
  "hex": "#9eb12a",
  "rgb": {
    "r": 158,
    "g": 177,
    "b": 42
  },
  "hsl": {
    "h": 68.444,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.72181,
    "c": 0.15347,
    "h": 117.6
  },
  "luminance": 0.38881
}

Semantic roles & 50–950 ramp

primary
#9EB12A
secondary
#7D70C6
accent
#43E55A
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #9EB12A

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

Preview Lab → · Contrast checker → · Palette generator →

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