#9EB42E#9EB42E

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

Color values

HEX#9EB42E
RGBrgb(158, 180, 46)
HSLhsl(70, 59%, 44%)
HSVhsv(70, 74%, 71%)
CMYKcmyk(12.2%, 0%, 74.4%, 29.4%)
CIE-LABlab(69.55, -24.88, 61.36)
CIE-LCHlch(69.55, 66.21, 112.07°)
OKLaboklab(72.9% -0.0743 0.1357)
OKLCHoklch(72.9% 0.155 118.7)
XYZxyz(30.9156, 40.1091, 8.6974)
Luminance0.4011 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EB42E #442EB4
analogous
#B4872E #9EB42E #5BB42E
triadic
#9EB42E #2E9EB4 #B42E9E
tetradic
#9EB42E #2EB487 #442EB4 #B42E5B
square
#9EB42E #2EB487 #442EB4 #B42E5B
split-complementary
#9EB42E #2E5BB4 #872EB4
monochromatic
#485315 #738322 #9EB42E #BCD24E #CEDE7E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9EB42E#FFFFFF#000000##000000
##9EB42E1.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)
#C0AA11
Deuteranopia (green-blind)
#BEAA3A
Tritanopia (blue-blind)
#A8AA9B
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #9eb42e;
/* rgb */ color: rgb(158, 180, 46);
/* oklch */ color: oklch(72.9% 0.155 118.7);
Tailwind
colors: {
  custom: {
    50: '#beca71',
    500: '#9eb42e',
    950: '#000000',
  },
}
SCSS
$custom: #9eb42e;
$custom-light: #beca71;
$custom-dark: #000000;
JSON
{
  "hex": "#9eb42e",
  "rgb": {
    "r": 158,
    "g": 180,
    "b": 46
  },
  "hsl": {
    "h": 69.851,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.72897,
    "c": 0.15467,
    "h": 118.7
  },
  "luminance": 0.40109
}

Semantic roles & 50–950 ramp

primary
#9EB42E
secondary
#8477C7
accent
#45E25F
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #9EB42E

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

Preview Lab → · Contrast checker → · Palette generator →

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