#9E9525#9E9525

#9E9525 is a light, vivid yellow. Relative luminance 0.289; OKLCH L 65.8% C 0.127 H 104.6°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#9E9525
RGBrgb(158, 149, 37)
HSLhsl(56, 62%, 38%)
HSVhsv(56, 77%, 62%)
CMYKcmyk(0%, 5.7%, 76.6%, 38%)
CIE-LABlab(60.69, -9.43, 56.11)
CIE-LCHlch(60.69, 56.90, 99.54°)
OKLaboklab(65.79% -0.0321 0.1229)
OKLCHoklch(65.79% 0.127 104.6)
XYZxyz(25.1830, 28.8986, 6.0014)
Luminance0.2890 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E9525 #252E9E
analogous
#9E5825 #9E9525 #6A9E25
triadic
#9E9525 #259E95 #95259E
tetradic
#9E9525 #259E58 #252E9E #9E256A
square
#9E9525 #259E58 #252E9E #9E256A
split-complementary
#9E9525 #256A9E #58259E
monochromatic
#3B370E #6C6619 #9E9525 #CFC331 #DAD263

Accessibility & contrast

On white

3.10
#9E9525 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#9E9525 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E9525
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E9525#FFFFFF#000000##000000
##9E95251.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3900C
Deuteranopia (green-blind)
#A6952E
Tritanopia (blue-blind)
#AA8A80
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9e9525;
/* rgb */ color: rgb(158, 149, 37);
/* oklch */ color: oklch(65.8% 0.127 104.6);
Tailwind
colors: {
  custom: {
    50: '#beb369',
    500: '#9e9525',
    950: '#000000',
  },
}
SCSS
$custom: #9e9525;
$custom-light: #beb369;
$custom-dark: #000000;
JSON
{
  "hex": "#9e9525",
  "rgb": {
    "r": 158,
    "g": 149,
    "b": 37
  },
  "hsl": {
    "h": 55.537,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.65791,
    "c": 0.12706,
    "h": 104.6
  },
  "luminance": 0.28898
}

Semantic roles & 50–950 ramp

primary
#9E9525
secondary
#5F66C0
accent
#4FE543
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9E9525

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

Preview Lab → · Contrast checker → · Palette generator →

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