#9E9924#9E9924

#9E9924 is a light, vivid yellow. Relative luminance 0.302; OKLCH L 66.7% C 0.131 H 106.9°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#9E9924
RGBrgb(158, 153, 36)
HSLhsl(58, 63%, 38%)
HSVhsv(58, 77%, 62%)
CMYKcmyk(0%, 3.2%, 77.2%, 38%)
CIE-LABlab(61.81, -11.60, 57.48)
CIE-LCHlch(61.81, 58.64, 101.41°)
OKLaboklab(66.68% -0.0383 0.1257)
OKLCHoklch(66.68% 0.131 106.9)
XYZxyz(25.8113, 30.1799, 6.1344)
Luminance0.3018 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E9924 #24299E
analogous
#9E5C24 #9E9924 #669E24
triadic
#9E9924 #249E99 #99249E
tetradic
#9E9924 #249E5C #24299E #9E2466
square
#9E9924 #249E5C #24299E #9E2466
split-complementary
#9E9924 #24669E #5C249E
monochromatic
#3A380D #6C6919 #9E9924 #D0C92F #DBD661

Accessibility & contrast

On white

2.98
#9E9924 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#9E9924 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9E9924
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E9924#FFFFFF#000000##000000
##9E99241.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69306
Deuteranopia (green-blind)
#A9972D
Tritanopia (blue-blind)
#AA8E83
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #9e9924;
/* rgb */ color: rgb(158, 153, 36);
/* oklch */ color: oklch(66.7% 0.131 106.9);
Tailwind
colors: {
  custom: {
    50: '#beb669',
    500: '#9e9924',
    950: '#000000',
  },
}
SCSS
$custom: #9e9924;
$custom-light: #beb669;
$custom-dark: #000000;
JSON
{
  "hex": "#9e9924",
  "rgb": {
    "r": 158,
    "g": 153,
    "b": 36
  },
  "hsl": {
    "h": 57.541,
    "s": 62.887,
    "l": 38.039
  },
  "oklch": {
    "l": 0.66679,
    "c": 0.13136,
    "h": 106.9
  },
  "luminance": 0.30179
}

Semantic roles & 50–950 ramp

primary
#9E9924
secondary
#5E62C0
accent
#49E642
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9E9924

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

Preview Lab → · Contrast checker → · Palette generator →

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