#9EB02F#9EB02F

#9EB02F is a light, vivid yellow. Relative luminance 0.385; OKLCH L 72.0% C 0.149 H 117.3°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#9EB02F
RGBrgb(158, 176, 47)
HSLhsl(68, 58%, 44%)
HSVhsv(68, 73%, 69%)
CMYKcmyk(10.2%, 0%, 73.3%, 31%)
CIE-LABlab(68.41, -22.86, 59.93)
CIE-LCHlch(68.41, 64.14, 110.88°)
OKLaboklab(71.98% -0.0686 0.1328)
OKLCHoklch(71.98% 0.15 117.3)
XYZxyz(30.1397, 38.5254, 8.5372)
Luminance0.3852 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EB02F #412FB0
analogous
#B0812F #9EB02F #5DB02F
triadic
#9EB02F #2F9EB0 #B02F9E
tetradic
#9EB02F #2FB081 #412FB0 #B02F5D
square
#9EB02F #2FB081 #412FB0 #B02F5D
split-complementary
#9EB02F #2F5DB0 #812FB0
monochromatic
#474F15 #738022 #9EB02F #BDCF4D #CFDC7D

Accessibility & contrast

On white

2.41
#9EB02F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.70
#9EB02F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EB02F
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EB02F#FFFFFF#000000##000000
##9EB02F1.002.418.708.70
#FFFFFF2.411.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA615
Deuteranopia (green-blind)
#BAA83A
Tritanopia (blue-blind)
#A8A697
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #9eb02f;
/* rgb */ color: rgb(158, 176, 47);
/* oklch */ color: oklch(72.0% 0.149 117.3);
Tailwind
colors: {
  custom: {
    50: '#bec771',
    500: '#9eb02f',
    950: '#000000',
  },
}
SCSS
$custom: #9eb02f;
$custom-light: #bec771;
$custom-dark: #000000;
JSON
{
  "hex": "#9eb02f",
  "rgb": {
    "r": 158,
    "g": 176,
    "b": 47
  },
  "hsl": {
    "h": 68.372,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.71981,
    "c": 0.1495,
    "h": 117.3
  },
  "luminance": 0.38525
}

Semantic roles & 50–950 ramp

primary
#9EB02F
secondary
#8176C5
accent
#47E15C
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #9EB02F

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

Preview Lab → · Contrast checker → · Palette generator →

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