#9E9527#9E9527

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

Color values

HEX#9E9527
RGBrgb(158, 149, 39)
HSLhsl(55, 60%, 39%)
HSVhsv(55, 75%, 62%)
CMYKcmyk(0%, 5.7%, 75.3%, 38%)
CIE-LABlab(60.70, -9.34, 55.42)
CIE-LCHlch(60.70, 56.20, 99.57°)
OKLaboklab(65.8% -0.0316 0.1219)
OKLCHoklch(65.8% 0.126 104.6)
XYZxyz(25.2153, 28.9115, 6.1713)
Luminance0.2891 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E9527 #27309E
analogous
#9E5927 #9E9527 #6B9E27
triadic
#9E9527 #279E95 #95279E
tetradic
#9E9527 #279E59 #27309E #9E276B
square
#9E9527 #279E59 #27309E #9E276B
split-complementary
#9E9527 #276B9E #59279E
monochromatic
#3C380F #6D671B #9E9527 #CDC235 #D9D166

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E9527#FFFFFF#000000##000000
##9E95271.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)
#A39011
Deuteranopia (green-blind)
#A6952F
Tritanopia (blue-blind)
#AA8A80
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9e9527;
/* rgb */ color: rgb(158, 149, 39);
/* oklch */ color: oklch(65.8% 0.126 104.6);
Tailwind
colors: {
  custom: {
    50: '#beb36a',
    500: '#9e9527',
    950: '#000000',
  },
}
SCSS
$custom: #9e9527;
$custom-light: #beb36a;
$custom-dark: #000000;
JSON
{
  "hex": "#9e9527",
  "rgb": {
    "r": 158,
    "g": 149,
    "b": 39
  },
  "hsl": {
    "h": 55.462,
    "s": 60.406,
    "l": 38.627
  },
  "oklch": {
    "l": 0.65804,
    "c": 0.12589,
    "h": 104.6
  },
  "luminance": 0.2891
}

Semantic roles & 50–950 ramp

primary
#9E9527
secondary
#6269BF
accent
#50E444
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9E9527

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

Preview Lab → · Contrast checker → · Palette generator →

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