#9D8E24#9D8E24

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

Color values

HEX#9D8E24
RGBrgb(157, 142, 36)
HSLhsl(53, 63%, 38%)
HSVhsv(53, 77%, 62%)
CMYKcmyk(0%, 9.6%, 77.1%, 38.4%)
CIE-LABlab(58.64, -6.16, 54.53)
CIE-LCHlch(58.64, 54.87, 96.44°)
OKLaboklab(64.14% -0.0229 0.1194)
OKLCHoklch(64.14% 0.122 100.9)
XYZxyz(23.8972, 26.6426, 5.5525)
Luminance0.2664 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D8E24 #24339D
analogous
#9D5124 #9D8E24 #6F9D24
triadic
#9D8E24 #249D8E #8E249D
tetradic
#9D8E24 #249D51 #24339D #9D246F
square
#9D8E24 #249D51 #24339D #9D246F
split-complementary
#9D8E24 #246F9D #51249D
monochromatic
#39340D #6B6119 #9D8E24 #CFBB2F #DBCC61

Accessibility & contrast

On white

3.32
#9D8E24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#9D8E24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D8E24
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D8E24#FFFFFF#000000##000000
##9D8E241.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A0E
Deuteranopia (green-blind)
#A0902C
Tritanopia (blue-blind)
#AA837A
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #9d8e24;
/* rgb */ color: rgb(157, 142, 36);
/* oklch */ color: oklch(64.1% 0.122 100.9);
Tailwind
colors: {
  custom: {
    50: '#beae68',
    500: '#9d8e24',
    950: '#000000',
  },
}
SCSS
$custom: #9d8e24;
$custom-light: #beae68;
$custom-dark: #000000;
JSON
{
  "hex": "#9d8e24",
  "rgb": {
    "r": 157,
    "g": 142,
    "b": 36
  },
  "hsl": {
    "h": 52.562,
    "s": 62.694,
    "l": 37.843
  },
  "oklch": {
    "l": 0.64138,
    "c": 0.12158,
    "h": 100.9
  },
  "luminance": 0.26641
}

Semantic roles & 50–950 ramp

primary
#9D8E24
secondary
#5D69C0
accent
#56E642
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9D8E24

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

Preview Lab → · Contrast checker → · Palette generator →

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