#9EB41F#9EB41F

#9EB41F is a light, vivid yellow. Relative luminance 0.400; OKLCH L 72.8% C 0.162 H 118.4°. Best body text is #000000 at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#9EB41F
RGBrgb(158, 180, 31)
HSLhsl(69, 71%, 41%)
HSVhsv(69, 83%, 71%)
CMYKcmyk(12.2%, 0%, 82.8%, 29.4%)
CIE-LABlab(69.48, -25.49, 65.74)
CIE-LCHlch(69.48, 70.51, 111.19°)
OKLaboklab(72.82% -0.0771 0.1424)
OKLCHoklch(72.82% 0.162 118.4)
XYZxyz(30.6699, 40.0108, 7.4032)
Luminance0.4001 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EB41F #351FB4
analogous
#B4801F #9EB41F #54B41F
triadic
#9EB41F #1F9EB4 #B41F9E
tetradic
#9EB41F #1FB480 #351FB4 #B41F54
square
#9EB41F #1FB480 #351FB4 #B41F54
split-complementary
#9EB41F #1F54B4 #801FB4
monochromatic
#424C0D #708016 #9EB41F #C3DC34 #D3E568

Accessibility & contrast

On white

2.33
#9EB41F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.00
#9EB41F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EB41F
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EB41F#FFFFFF#000000##000000
##9EB41F1.002.339.009.00
#FFFFFF2.331.0021.0021.00
#0000009.0021.001.001.00
##0000009.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA00
Deuteranopia (green-blind)
#BEAA2F
Tritanopia (blue-blind)
#A8AA9A
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #9eb41f;
/* rgb */ color: rgb(158, 180, 31);
/* oklch */ color: oklch(72.8% 0.162 118.4);
Tailwind
colors: {
  custom: {
    50: '#bfca6b',
    500: '#9eb41f',
    950: '#000000',
  },
}
SCSS
$custom: #9eb41f;
$custom-light: #bfca6b;
$custom-dark: #000000;
JSON
{
  "hex": "#9eb41f",
  "rgb": {
    "r": 158,
    "g": 180,
    "b": 31
  },
  "hsl": {
    "h": 68.859,
    "s": 70.616,
    "l": 41.373
  },
  "oklch": {
    "l": 0.72819,
    "c": 0.16195,
    "h": 118.4
  },
  "luminance": 0.40011
}

Semantic roles & 50–950 ramp

primary
#9EB41F
secondary
#7364CB
accent
#3AED55
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #9EB41F

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

Preview Lab → · Contrast checker → · Palette generator →

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