#9EB52A#9EB52A

#9EB52A is a light, vivid yellow. Relative luminance 0.405; OKLCH L 73.1% C 0.158 H 118.9°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#9EB52A
RGBrgb(158, 181, 42)
HSLhsl(70, 62%, 44%)
HSVhsv(70, 77%, 71%)
CMYKcmyk(12.7%, 0%, 76.8%, 29%)
CIE-LABlab(69.81, -25.55, 62.92)
CIE-LCHlch(69.81, 67.91, 112.10°)
OKLaboklab(73.11% -0.0764 0.1383)
OKLCHoklch(73.11% 0.158 118.9)
XYZxyz(31.0430, 40.4842, 8.3689)
Luminance0.4048 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EB52A #412AB5
analogous
#B5862A #9EB52A #58B52A
triadic
#9EB52A #2A9EB5 #B52A9E
tetradic
#9EB52A #2AB586 #412AB5 #B52A58
square
#9EB52A #2AB586 #412AB5 #B52A58
split-complementary
#9EB52A #2A58B5 #862AB5
monochromatic
#475213 #73831E #9EB52A #BDD448 #CFE079

Accessibility & contrast

On white

2.31
#9EB52A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.10
#9EB52A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EB52A
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EB52A#FFFFFF#000000##000000
##9EB52A1.002.319.109.10
#FFFFFF2.311.0021.0021.00
#0000009.1021.001.001.00
##0000009.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB03
Deuteranopia (green-blind)
#BFAB37
Tritanopia (blue-blind)
#A8AB9B
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #9eb52a;
/* rgb */ color: rgb(158, 181, 42);
/* oklch */ color: oklch(73.1% 0.158 118.9);
Tailwind
colors: {
  custom: {
    50: '#becb6f',
    500: '#9eb52a',
    950: '#000000',
  },
}
SCSS
$custom: #9eb52a;
$custom-light: #becb6f;
$custom-dark: #000000;
JSON
{
  "hex": "#9eb52a",
  "rgb": {
    "r": 158,
    "g": 181,
    "b": 42
  },
  "hsl": {
    "h": 69.928,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.73105,
    "c": 0.15801,
    "h": 118.9
  },
  "luminance": 0.40484
}

Semantic roles & 50–950 ramp

primary
#9EB52A
secondary
#8173C8
accent
#42E55D
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #9EB52A

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

Preview Lab → · Contrast checker → · Palette generator →

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