#9E9528#9E9528

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

Color values

HEX#9E9528
RGBrgb(158, 149, 40)
HSLhsl(55, 60%, 39%)
HSVhsv(55, 75%, 62%)
CMYKcmyk(0%, 5.7%, 74.7%, 38%)
CIE-LABlab(60.71, -9.30, 55.07)
CIE-LCHlch(60.71, 55.85, 99.58°)
OKLaboklab(65.81% -0.0314 0.1213)
OKLCHoklch(65.81% 0.125 104.5)
XYZxyz(25.2321, 28.9182, 6.2597)
Luminance0.2892 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E9528 #28319E
analogous
#9E5A28 #9E9528 #6C9E28
triadic
#9E9528 #289E95 #95289E
tetradic
#9E9528 #289E5A #28319E #9E286C
square
#9E9528 #289E5A #28319E #9E286C
split-complementary
#9E9528 #286C9E #5A289E
monochromatic
#3C390F #6D671C #9E9528 #CCC137 #D9D068

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E9528#FFFFFF#000000##000000
##9E95281.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)
#A39013
Deuteranopia (green-blind)
#A69530
Tritanopia (blue-blind)
#AA8A80
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9e9528;
/* rgb */ color: rgb(158, 149, 40);
/* oklch */ color: oklch(65.8% 0.125 104.5);
Tailwind
colors: {
  custom: {
    50: '#beb36a',
    500: '#9e9528',
    950: '#000000',
  },
}
SCSS
$custom: #9e9528;
$custom-light: #beb36a;
$custom-dark: #000000;
JSON
{
  "hex": "#9e9528",
  "rgb": {
    "r": 158,
    "g": 149,
    "b": 40
  },
  "hsl": {
    "h": 55.424,
    "s": 59.596,
    "l": 38.824
  },
  "oklch": {
    "l": 0.6581,
    "c": 0.1253,
    "h": 104.5
  },
  "luminance": 0.28917
}

Semantic roles & 50–950 ramp

primary
#9E9528
secondary
#636ABF
accent
#51E345
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9E9528

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

Preview Lab → · Contrast checker → · Palette generator →

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