#9EB12C#9EB12C

#9EB12C 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#9EB12C
RGBrgb(158, 177, 44)
HSLhsl(69, 60%, 43%)
HSVhsv(69, 75%, 69%)
CMYKcmyk(10.7%, 0%, 75.1%, 30.6%)
CIE-LABlab(68.68, -23.50, 61.21)
CIE-LCHlch(68.68, 65.56, 111.00°)
OKLaboklab(72.19% -0.0706 0.135)
OKLCHoklch(72.19% 0.152 117.6)
XYZxyz(30.2780, 38.8956, 8.2949)
Luminance0.3890 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EB12C #3F2CB1
analogous
#B1812C #9EB12C #5CB12C
triadic
#9EB12C #2C9EB1 #B12C9E
tetradic
#9EB12C #2CB181 #3F2CB1 #B12C5C
square
#9EB12C #2CB181 #3F2CB1 #B12C5C
split-complementary
#9EB12C #2C5CB1 #812CB1
monochromatic
#464F14 #728020 #9EB12C #BED249 #D0DE7A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9EB12C#FFFFFF#000000##000000
##9EB12C1.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)
#BDA70D
Deuteranopia (green-blind)
#BBA838
Tritanopia (blue-blind)
#A8A798
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #9eb12c;
/* rgb */ color: rgb(158, 177, 44);
/* oklch */ color: oklch(72.2% 0.152 117.6);
Tailwind
colors: {
  custom: {
    50: '#bec870',
    500: '#9eb12c',
    950: '#000000',
  },
}
SCSS
$custom: #9eb12c;
$custom-light: #bec870;
$custom-dark: #000000;
JSON
{
  "hex": "#9eb12c",
  "rgb": {
    "r": 158,
    "g": 177,
    "b": 44
  },
  "hsl": {
    "h": 68.571,
    "s": 60.181,
    "l": 43.333
  },
  "oklch": {
    "l": 0.72193,
    "c": 0.15237,
    "h": 117.6
  },
  "luminance": 0.38895
}

Semantic roles & 50–950 ramp

primary
#9EB12C
secondary
#7F73C6
accent
#44E35B
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #9EB12C

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

Preview Lab → · Contrast checker → · Palette generator →

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