#9E9724#9E9724

#9E9724 is a light, vivid yellow. Relative luminance 0.295; OKLCH L 66.2% C 0.129 H 105.8°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#9E9724
RGBrgb(158, 151, 36)
HSLhsl(57, 63%, 38%)
HSVhsv(57, 77%, 62%)
CMYKcmyk(0%, 4.4%, 77.2%, 38%)
CIE-LABlab(61.25, -10.54, 56.97)
CIE-LCHlch(61.25, 57.93, 100.48°)
OKLaboklab(66.23% -0.0353 0.1246)
OKLCHoklch(66.23% 0.129 105.8)
XYZxyz(25.4867, 29.5307, 6.0262)
Luminance0.2953 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E9724 #242B9E
analogous
#9E5A24 #9E9724 #689E24
triadic
#9E9724 #249E97 #97249E
tetradic
#9E9724 #249E5A #242B9E #9E2468
square
#9E9724 #249E5A #242B9E #9E2468
split-complementary
#9E9724 #24689E #5A249E
monochromatic
#3A380D #6C6719 #9E9724 #D0C72F #DBD461

Accessibility & contrast

On white

3.04
#9E9724 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#9E9724 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E9724
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E9724#FFFFFF#000000##000000
##9E97241.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59108
Deuteranopia (green-blind)
#A7962D
Tritanopia (blue-blind)
#AA8C81
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #9e9724;
/* rgb */ color: rgb(158, 151, 36);
/* oklch */ color: oklch(66.2% 0.129 105.8);
Tailwind
colors: {
  custom: {
    50: '#beb569',
    500: '#9e9724',
    950: '#000000',
  },
}
SCSS
$custom: #9e9724;
$custom-light: #beb569;
$custom-dark: #000000;
JSON
{
  "hex": "#9e9724",
  "rgb": {
    "r": 158,
    "g": 151,
    "b": 36
  },
  "hsl": {
    "h": 56.557,
    "s": 62.887,
    "l": 38.039
  },
  "oklch": {
    "l": 0.66231,
    "c": 0.12946,
    "h": 105.8
  },
  "luminance": 0.2953
}

Semantic roles & 50–950 ramp

primary
#9E9724
secondary
#5E63C0
accent
#4BE642
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9E9724

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

Preview Lab → · Contrast checker → · Palette generator →

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