#9EA525#9EA525

#9EA525 is a light, vivid yellow. Relative luminance 0.343; OKLCH L 69.4% C 0.143 H 112.8°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#9EA525
RGBrgb(158, 165, 37)
HSLhsl(63, 63%, 40%)
HSVhsv(63, 78%, 65%)
CMYKcmyk(4.2%, 0%, 77.6%, 35.3%)
CIE-LABlab(65.21, -17.79, 60.27)
CIE-LCHlch(65.21, 62.84, 106.44°)
OKLaboklab(69.4% -0.0554 0.1318)
OKLCHoklch(69.4% 0.143 112.8)
XYZxyz(27.8905, 34.3136, 6.9039)
Luminance0.3431 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EA525 #2C25A5
analogous
#A56C25 #9EA525 #5EA525
triadic
#9EA525 #259EA5 #A5259E
tetradic
#9EA525 #25A56C #2C25A5 #A5255E
square
#9EA525 #25A56C #2C25A5 #A5255E
split-complementary
#9EA525 #255EA5 #6C25A5
monochromatic
#3E410F #6E731A #9EA525 #C9D235 #D7DD67

Accessibility & contrast

On white

2.67
#9EA525 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#9EA525 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EA525
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EA525#FFFFFF#000000##000000
##9EA5251.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D00
Deuteranopia (green-blind)
#B2A030
Tritanopia (blue-blind)
#A99B8D
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #9ea525;
/* rgb */ color: rgb(158, 165, 37);
/* oklch */ color: oklch(69.4% 0.143 112.8);
Tailwind
colors: {
  custom: {
    50: '#bebf6b',
    500: '#9ea525',
    950: '#000000',
  },
}
SCSS
$custom: #9ea525;
$custom-light: #bebf6b;
$custom-dark: #000000;
JSON
{
  "hex": "#9ea525",
  "rgb": {
    "r": 158,
    "g": 165,
    "b": 37
  },
  "hsl": {
    "h": 63.281,
    "s": 63.366,
    "l": 39.608
  },
  "oklch": {
    "l": 0.694,
    "c": 0.14295,
    "h": 112.8
  },
  "luminance": 0.34313
}

Semantic roles & 50–950 ramp

primary
#9EA525
secondary
#6863C3
accent
#41E64A
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #9EA525

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

Preview Lab → · Contrast checker → · Palette generator →

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