#9D8424#9D8424

#9D8424 is a mid, moderate yellow. Relative luminance 0.238; OKLCH L 62.0% C 0.114 H 93.7°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#9D8424
RGBrgb(157, 132, 36)
HSLhsl(48, 63%, 38%)
HSVhsv(48, 77%, 62%)
CMYKcmyk(0%, 15.9%, 77.1%, 38.4%)
CIE-LABlab(55.89, -0.66, 51.95)
CIE-LCHlch(55.89, 51.95, 90.73°)
OKLaboklab(61.96% -0.0073 0.1139)
OKLCHoklch(61.96% 0.114 93.7)
XYZxyz(22.4756, 23.7993, 5.0786)
Luminance0.2380 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D8424 #243D9D
analogous
#9D4724 #9D8424 #7A9D24
triadic
#9D8424 #249D84 #84249D
tetradic
#9D8424 #249D47 #243D9D #9D247A
square
#9D8424 #249D47 #243D9D #9D247A
split-complementary
#9D8424 #247A9D #47249D
monochromatic
#39300D #6B5A19 #9D8424 #CFAE2F #DBC161

Accessibility & contrast

On white

3.65
#9D8424 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#9D8424 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D8424
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D8424#FFFFFF#000000##000000
##9D84241.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#938212
Deuteranopia (green-blind)
#99892A
Tritanopia (blue-blind)
#AA7971
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #9d8424;
/* rgb */ color: rgb(157, 132, 36);
/* oklch */ color: oklch(62.0% 0.114 93.7);
Tailwind
colors: {
  custom: {
    50: '#bea766',
    500: '#9d8424',
    950: '#000000',
  },
}
SCSS
$custom: #9d8424;
$custom-light: #bea766;
$custom-dark: #000000;
JSON
{
  "hex": "#9d8424",
  "rgb": {
    "r": 157,
    "g": 132,
    "b": 36
  },
  "hsl": {
    "h": 47.603,
    "s": 62.694,
    "l": 37.843
  },
  "oklch": {
    "l": 0.61955,
    "c": 0.11415,
    "h": 93.7
  },
  "luminance": 0.23798
}

Semantic roles & 50–950 ramp

primary
#9D8424
secondary
#5D71C0
accent
#64E642
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9D8424

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

Preview Lab → · Contrast checker → · Palette generator →

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