#9EB525#9EB525

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

Color values

HEX#9EB525
RGBrgb(158, 181, 37)
HSLhsl(70, 66%, 43%)
HSVhsv(70, 80%, 71%)
CMYKcmyk(12.7%, 0%, 79.6%, 29%)
CIE-LABlab(69.79, -25.76, 64.40)
CIE-LCHlch(69.79, 69.36, 111.80°)
OKLaboklab(73.08% -0.0774 0.1406)
OKLCHoklch(73.08% 0.16 118.8)
XYZxyz(30.9591, 40.4507, 7.9267)
Luminance0.4045 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EB525 #3C25B5
analogous
#B58425 #9EB525 #56B525
triadic
#9EB525 #259EB5 #B5259E
tetradic
#9EB525 #25B584 #3C25B5 #B52556
square
#9EB525 #25B584 #3C25B5 #B52556
split-complementary
#9EB525 #2556B5 #8425B5
monochromatic
#454F10 #72821B #9EB525 #BFD83F #D0E272

Accessibility & contrast

On white

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

On black

9.09
#9EB525 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EB525
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EB525#FFFFFF#000000##000000
##9EB5251.002.319.099.09
#FFFFFF2.311.0021.0021.00
#0000009.0921.001.001.00
##0000009.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AA00
Deuteranopia (green-blind)
#BFAB34
Tritanopia (blue-blind)
#A8AB9B
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #9eb525;
/* rgb */ color: rgb(158, 181, 37);
/* oklch */ color: oklch(73.1% 0.160 118.8);
Tailwind
colors: {
  custom: {
    50: '#becb6d',
    500: '#9eb525',
    950: '#000000',
  },
}
SCSS
$custom: #9eb525;
$custom-light: #becb6d;
$custom-dark: #000000;
JSON
{
  "hex": "#9eb525",
  "rgb": {
    "r": 158,
    "g": 181,
    "b": 37
  },
  "hsl": {
    "h": 69.583,
    "s": 66.055,
    "l": 42.745
  },
  "oklch": {
    "l": 0.73078,
    "c": 0.16048,
    "h": 118.8
  },
  "luminance": 0.4045
}

Semantic roles & 50–950 ramp

primary
#9EB525
secondary
#7B6DC9
accent
#3FE95A
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A

Preview Lab

Preview with #9EB525

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

Preview Lab → · Contrast checker → · Palette generator →

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