#9EB12D#9EB12D

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

Color values

HEX#9EB12D
RGBrgb(158, 177, 45)
HSLhsl(69, 59%, 44%)
HSVhsv(69, 75%, 69%)
CMYKcmyk(10.7%, 0%, 74.6%, 30.6%)
CIE-LABlab(68.68, -23.45, 60.88)
CIE-LCHlch(68.68, 65.24, 111.07°)
OKLaboklab(72.2% -0.0704 0.1345)
OKLCHoklch(72.2% 0.152 117.6)
XYZxyz(30.2971, 38.9032, 8.3951)
Luminance0.3890 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EB12D #402DB1
analogous
#B1822D #9EB12D #5CB12D
triadic
#9EB12D #2D9EB1 #B12D9E
tetradic
#9EB12D #2DB182 #402DB1 #B12D5C
square
#9EB12D #2DB182 #402DB1 #B12D5C
split-complementary
#9EB12D #2D5CB1 #822DB1
monochromatic
#474F14 #728021 #9EB12D #BED14A #CFDD7B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #9eb12d;
/* rgb */ color: rgb(158, 177, 45);
/* oklch */ color: oklch(72.2% 0.152 117.6);
Tailwind
colors: {
  custom: {
    50: '#bec870',
    500: '#9eb12d',
    950: '#000000',
  },
}
SCSS
$custom: #9eb12d;
$custom-light: #bec870;
$custom-dark: #000000;
JSON
{
  "hex": "#9eb12d",
  "rgb": {
    "r": 158,
    "g": 177,
    "b": 45
  },
  "hsl": {
    "h": 68.636,
    "s": 59.459,
    "l": 43.529
  },
  "oklch": {
    "l": 0.72199,
    "c": 0.15181,
    "h": 117.6
  },
  "luminance": 0.38903
}

Semantic roles & 50–950 ramp

primary
#9EB12D
secondary
#8074C6
accent
#45E35C
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #9EB12D

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

Preview Lab → · Contrast checker → · Palette generator →

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