#9EB42F#9EB42F

#9EB42F is a light, vivid yellow. Relative luminance 0.401; OKLCH L 72.9% C 0.154 H 118.7°. Best body text is #000000 at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#9EB42F
RGBrgb(158, 180, 47)
HSLhsl(70, 59%, 45%)
HSVhsv(70, 74%, 71%)
CMYKcmyk(12.2%, 0%, 73.9%, 29.4%)
CIE-LABlab(69.55, -24.83, 61.03)
CIE-LCHlch(69.55, 65.88, 112.14°)
OKLaboklab(72.9% -0.074 0.1351)
OKLCHoklch(72.9% 0.154 118.7)
XYZxyz(30.9356, 40.1171, 8.8024)
Luminance0.4012 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EB42F #452FB4
analogous
#B4882F #9EB42F #5CB42F
triadic
#9EB42F #2F9EB4 #B42F9E
tetradic
#9EB42F #2FB488 #452FB4 #B42F5C
square
#9EB42F #2FB488 #452FB4 #B42F5C
split-complementary
#9EB42F #2F5CB4 #882FB4
monochromatic
#495316 #738322 #9EB42F #BCD14F #CEDE80

Accessibility & contrast

On white

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

On black

9.02
#9EB42F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EB42F
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EB42F#FFFFFF#000000##000000
##9EB42F1.002.339.029.02
#FFFFFF2.331.0021.0021.00
#0000009.0221.001.001.00
##0000009.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA13
Deuteranopia (green-blind)
#BEAA3B
Tritanopia (blue-blind)
#A8AA9B
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #9eb42f;
/* rgb */ color: rgb(158, 180, 47);
/* oklch */ color: oklch(72.9% 0.154 118.7);
Tailwind
colors: {
  custom: {
    50: '#beca71',
    500: '#9eb42f',
    950: '#000000',
  },
}
SCSS
$custom: #9eb42f;
$custom-light: #beca71;
$custom-dark: #000000;
JSON
{
  "hex": "#9eb42f",
  "rgb": {
    "r": 158,
    "g": 180,
    "b": 47
  },
  "hsl": {
    "h": 69.925,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.72904,
    "c": 0.15409,
    "h": 118.7
  },
  "luminance": 0.40117
}

Semantic roles & 50–950 ramp

primary
#9EB42F
secondary
#8578C7
accent
#46E260
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #9EB42F

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

Preview Lab → · Contrast checker → · Palette generator →

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