#9E9C24#9E9C24

#9E9C24 is a light, vivid yellow. Relative luminance 0.312; OKLCH L 67.4% C 0.134 H 108.5°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#9E9C24
RGBrgb(158, 156, 36)
HSLhsl(59, 63%, 38%)
HSVhsv(59, 77%, 62%)
CMYKcmyk(0%, 1.3%, 77.2%, 38%)
CIE-LABlab(62.65, -13.17, 58.26)
CIE-LCHlch(62.65, 59.73, 102.74°)
OKLaboklab(67.35% -0.0427 0.1273)
OKLCHoklch(67.35% 0.134 108.5)
XYZxyz(26.3085, 31.1743, 6.3001)
Luminance0.3117 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E9C24 #24269E
analogous
#9E5F24 #9E9C24 #639E24
triadic
#9E9C24 #249E9C #9C249E
tetradic
#9E9C24 #249E5F #24269E #9E2463
square
#9E9C24 #249E5F #24269E #9E2463
split-complementary
#9E9C24 #24639E #5F249E
monochromatic
#3A3A0D #6C6B19 #9E9C24 #D0CD2F #DBD961

Accessibility & contrast

On white

2.90
#9E9C24 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#9E9C24 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9E9C24
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E9C24#FFFFFF#000000##000000
##9E9C241.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99504
Deuteranopia (green-blind)
#AB992E
Tritanopia (blue-blind)
#AA9186
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #9e9c24;
/* rgb */ color: rgb(158, 156, 36);
/* oklch */ color: oklch(67.4% 0.134 108.5);
Tailwind
colors: {
  custom: {
    50: '#beb869',
    500: '#9e9c24',
    950: '#000000',
  },
}
SCSS
$custom: #9e9c24;
$custom-light: #beb869;
$custom-dark: #000000;
JSON
{
  "hex": "#9e9c24",
  "rgb": {
    "r": 158,
    "g": 156,
    "b": 36
  },
  "hsl": {
    "h": 59.016,
    "s": 62.887,
    "l": 38.039
  },
  "oklch": {
    "l": 0.67354,
    "c": 0.13426,
    "h": 108.5
  },
  "luminance": 0.31173
}

Semantic roles & 50–950 ramp

primary
#9E9C24
secondary
#5E5FC0
accent
#45E642
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9E9C24

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

Preview Lab → · Contrast checker → · Palette generator →

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