#9E9524#9E9524

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

Color values

HEX#9E9524
RGBrgb(158, 149, 36)
HSLhsl(56, 63%, 38%)
HSVhsv(56, 77%, 62%)
CMYKcmyk(0%, 5.7%, 77.2%, 38%)
CIE-LABlab(60.69, -9.47, 56.45)
CIE-LCHlch(60.69, 57.24, 99.53°)
OKLaboklab(65.79% -0.0323 0.1235)
OKLCHoklch(65.79% 0.128 104.7)
XYZxyz(25.1675, 28.8924, 5.9198)
Luminance0.2889 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E9524 #242D9E
analogous
#9E5824 #9E9524 #6A9E24
triadic
#9E9524 #249E95 #95249E
tetradic
#9E9524 #249E58 #242D9E #9E246A
square
#9E9524 #249E58 #242D9E #9E246A
split-complementary
#9E9524 #246A9E #58249E
monochromatic
#3A370D #6C6619 #9E9524 #D0C42F #DBD261

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E9524#FFFFFF#000000##000000
##9E95241.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)
#A39009
Deuteranopia (green-blind)
#A6952D
Tritanopia (blue-blind)
#AA8A80
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9e9524;
/* rgb */ color: rgb(158, 149, 36);
/* oklch */ color: oklch(65.8% 0.128 104.7);
Tailwind
colors: {
  custom: {
    50: '#beb368',
    500: '#9e9524',
    950: '#000000',
  },
}
SCSS
$custom: #9e9524;
$custom-light: #beb368;
$custom-dark: #000000;
JSON
{
  "hex": "#9e9524",
  "rgb": {
    "r": 158,
    "g": 149,
    "b": 36
  },
  "hsl": {
    "h": 55.574,
    "s": 62.887,
    "l": 38.039
  },
  "oklch": {
    "l": 0.65785,
    "c": 0.12762,
    "h": 104.7
  },
  "luminance": 0.28891
}

Semantic roles & 50–950 ramp

primary
#9E9524
secondary
#5E65C0
accent
#4EE642
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9E9524

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

Preview Lab → · Contrast checker → · Palette generator →

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