#9EB12F#9EB12F

#9EB12F 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#9EB12F
RGBrgb(158, 177, 47)
HSLhsl(69, 58%, 44%)
HSVhsv(69, 73%, 69%)
CMYKcmyk(10.7%, 0%, 73.4%, 30.6%)
CIE-LABlab(68.69, -23.35, 60.20)
CIE-LCHlch(68.69, 64.57, 111.20°)
OKLaboklab(72.21% -0.07 0.1334)
OKLCHoklch(72.21% 0.151 117.7)
XYZxyz(30.3365, 38.9189, 8.6028)
Luminance0.3892 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EB12F #422FB1
analogous
#B1832F #9EB12F #5DB12F
triadic
#9EB12F #2F9EB1 #B12F9E
tetradic
#9EB12F #2FB183 #422FB1 #B12F5D
square
#9EB12F #2FB183 #422FB1 #B12F5D
split-complementary
#9EB12F #2F5DB1 #832FB1
monochromatic
#485015 #738122 #9EB12F #BDD04D #CFDD7E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9EB12F#FFFFFF#000000##000000
##9EB12F1.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)
#BDA715
Deuteranopia (green-blind)
#BBA83A
Tritanopia (blue-blind)
#A8A798
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #9eb12f;
/* rgb */ color: rgb(158, 177, 47);
/* oklch */ color: oklch(72.2% 0.151 117.7);
Tailwind
colors: {
  custom: {
    50: '#bec871',
    500: '#9eb12f',
    950: '#000000',
  },
}
SCSS
$custom: #9eb12f;
$custom-light: #bec871;
$custom-dark: #000000;
JSON
{
  "hex": "#9eb12f",
  "rgb": {
    "r": 158,
    "g": 177,
    "b": 47
  },
  "hsl": {
    "h": 68.769,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.72212,
    "c": 0.15065,
    "h": 117.7
  },
  "luminance": 0.38919
}

Semantic roles & 50–950 ramp

primary
#9EB12F
secondary
#8276C5
accent
#47E15D
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #9EB12F

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

Preview Lab → · Contrast checker → · Palette generator →

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