#9E9D25#9E9D25

#9E9D25 is a light, vivid yellow. Relative luminance 0.315; OKLCH L 67.6% C 0.135 H 109.0°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#9E9D25
RGBrgb(158, 157, 37)
HSLhsl(60, 62%, 38%)
HSVhsv(60, 77%, 62%)
CMYKcmyk(0%, 0.6%, 76.6%, 38%)
CIE-LABlab(62.94, -13.66, 58.19)
CIE-LCHlch(62.94, 59.77, 103.21°)
OKLaboklab(67.58% -0.0439 0.1274)
OKLCHoklch(67.58% 0.135 109)
XYZxyz(26.4925, 31.5174, 6.4379)
Luminance0.3152 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E9D25 #25269E
analogous
#9E6025 #9E9D25 #629E25
triadic
#9E9D25 #259E9D #9D259E
tetradic
#9E9D25 #259E60 #25269E #9E2562
square
#9E9D25 #259E60 #25269E #9E2562
split-complementary
#9E9D25 #25629E #60259E
monochromatic
#3B3A0E #6C6C19 #9E9D25 #CFCE31 #DAD963

Accessibility & contrast

On white

2.88
#9E9D25 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#9E9D25 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9E9D25
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E9D25#FFFFFF#000000##000000
##9E9D251.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9606
Deuteranopia (green-blind)
#AC9A2F
Tritanopia (blue-blind)
#AA9387
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #9e9d25;
/* rgb */ color: rgb(158, 157, 37);
/* oklch */ color: oklch(67.6% 0.135 109.0);
Tailwind
colors: {
  custom: {
    50: '#beb96a',
    500: '#9e9d25',
    950: '#000000',
  },
}
SCSS
$custom: #9e9d25;
$custom-light: #beb96a;
$custom-dark: #000000;
JSON
{
  "hex": "#9e9d25",
  "rgb": {
    "r": 158,
    "g": 157,
    "b": 37
  },
  "hsl": {
    "h": 59.504,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.67585,
    "c": 0.13472,
    "h": 109
  },
  "luminance": 0.31517
}

Semantic roles & 50–950 ramp

primary
#9E9D25
secondary
#5F60C0
accent
#44E543
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131107
muted
#82807A

Preview Lab

Preview with #9E9D25

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

Preview Lab → · Contrast checker → · Palette generator →

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