#9EB12E#9EB12E

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

Color values

HEX#9EB12E
RGBrgb(158, 177, 46)
HSLhsl(69, 59%, 44%)
HSVhsv(69, 74%, 69%)
CMYKcmyk(10.7%, 0%, 74%, 30.6%)
CIE-LABlab(68.69, -23.40, 60.54)
CIE-LCHlch(68.69, 64.91, 111.13°)
OKLaboklab(72.21% -0.0702 0.134)
OKLCHoklch(72.21% 0.151 117.7)
XYZxyz(30.3165, 38.9110, 8.4977)
Luminance0.3891 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EB12E #412EB1
analogous
#B1822E #9EB12E #5CB12E
triadic
#9EB12E #2E9EB1 #B12E9E
tetradic
#9EB12E #2EB182 #412EB1 #B12E5C
square
#9EB12E #2EB182 #412EB1 #B12E5C
split-complementary
#9EB12E #2E5CB1 #822EB1
monochromatic
#475015 #738021 #9EB12E #BDD04C #CFDD7C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9EB12E#FFFFFF#000000##000000
##9EB12E1.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)
#BDA712
Deuteranopia (green-blind)
#BBA839
Tritanopia (blue-blind)
#A8A798
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #9eb12e;
/* rgb */ color: rgb(158, 177, 46);
/* oklch */ color: oklch(72.2% 0.151 117.7);
Tailwind
colors: {
  custom: {
    50: '#bec871',
    500: '#9eb12e',
    950: '#000000',
  },
}
SCSS
$custom: #9eb12e;
$custom-light: #bec871;
$custom-dark: #000000;
JSON
{
  "hex": "#9eb12e",
  "rgb": {
    "r": 158,
    "g": 177,
    "b": 46
  },
  "hsl": {
    "h": 68.702,
    "s": 58.744,
    "l": 43.725
  },
  "oklch": {
    "l": 0.72205,
    "c": 0.15123,
    "h": 117.7
  },
  "luminance": 0.38911
}

Semantic roles & 50–950 ramp

primary
#9EB12E
secondary
#8175C6
accent
#46E25C
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #9EB12E

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

Preview Lab → · Contrast checker → · Palette generator →

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