#9E8F24#9E8F24

#9E8F24 is a light, vivid yellow. Relative luminance 0.270; OKLCH L 64.5% C 0.122 H 100.9°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#9E8F24
RGBrgb(158, 143, 36)
HSLhsl(53, 63%, 38%)
HSVhsv(53, 77%, 62%)
CMYKcmyk(0%, 9.5%, 77.2%, 38%)
CIE-LABlab(59.01, -6.24, 54.91)
CIE-LCHlch(59.01, 55.26, 96.49°)
OKLaboklab(64.46% -0.0232 0.1202)
OKLCHoklch(64.46% 0.122 100.9)
XYZxyz(24.2426, 27.0425, 5.6115)
Luminance0.2704 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E8F24 #24339E
analogous
#9E5224 #9E8F24 #709E24
triadic
#9E8F24 #249E8F #8F249E
tetradic
#9E8F24 #249E52 #24339E #9E2470
square
#9E8F24 #249E52 #24339E #9E2470
split-complementary
#9E8F24 #24709E #52249E
monochromatic
#3A350D #6C6219 #9E8F24 #D0BC2F #DBCC61

Accessibility & contrast

On white

3.28
#9E8F24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#9E8F24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E8F24
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E8F24#FFFFFF#000000##000000
##9E8F241.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B0D
Deuteranopia (green-blind)
#A1912C
Tritanopia (blue-blind)
#AB847B
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #9e8f24;
/* rgb */ color: rgb(158, 143, 36);
/* oklch */ color: oklch(64.5% 0.122 100.9);
Tailwind
colors: {
  custom: {
    50: '#beaf68',
    500: '#9e8f24',
    950: '#000000',
  },
}
SCSS
$custom: #9e8f24;
$custom-light: #beaf68;
$custom-dark: #000000;
JSON
{
  "hex": "#9e8f24",
  "rgb": {
    "r": 158,
    "g": 143,
    "b": 36
  },
  "hsl": {
    "h": 52.623,
    "s": 62.887,
    "l": 38.039
  },
  "oklch": {
    "l": 0.64455,
    "c": 0.12238,
    "h": 100.9
  },
  "luminance": 0.27041
}

Semantic roles & 50–950 ramp

primary
#9E8F24
secondary
#5E6AC0
accent
#56E642
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131007
muted
#827F7A

Preview Lab

Preview with #9E8F24

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

Preview Lab → · Contrast checker → · Palette generator →

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