#9D8024#9D8024

#9D8024 is a mid, moderate yellow. Relative luminance 0.227; OKLCH L 61.1% C 0.112 H 90.5°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#9D8024
RGBrgb(157, 128, 36)
HSLhsl(46, 63%, 38%)
HSVhsv(46, 77%, 62%)
CMYKcmyk(0%, 18.5%, 77.1%, 38.4%)
CIE-LABlab(54.80, 1.57, 50.92)
CIE-LCHlch(54.80, 50.95, 88.24°)
OKLaboklab(61.1% -0.001 0.1117)
OKLCHoklch(61.1% 0.112 90.5)
XYZxyz(21.9435, 22.7352, 4.9013)
Luminance0.2273 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D8024 #24419D
analogous
#9D4424 #9D8024 #7D9D24
triadic
#9D8024 #249D80 #80249D
tetradic
#9D8024 #249D44 #24419D #9D247D
square
#9D8024 #249D44 #24419D #9D247D
split-complementary
#9D8024 #247D9D #44249D
monochromatic
#392F0D #6B5719 #9D8024 #CFA92F #DBBD61

Accessibility & contrast

On white

3.79
#9D8024 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#9D8024 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D8024
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D8024#FFFFFF#000000##000000
##9D80241.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E14
Deuteranopia (green-blind)
#968729
Tritanopia (blue-blind)
#AA756E
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #9d8024;
/* rgb */ color: rgb(157, 128, 36);
/* oklch */ color: oklch(61.1% 0.112 90.5);
Tailwind
colors: {
  custom: {
    50: '#bea466',
    500: '#9d8024',
    950: '#000000',
  },
}
SCSS
$custom: #9d8024;
$custom-light: #bea466;
$custom-dark: #000000;
JSON
{
  "hex": "#9d8024",
  "rgb": {
    "r": 157,
    "g": 128,
    "b": 36
  },
  "hsl": {
    "h": 45.62,
    "s": 62.694,
    "l": 37.843
  },
  "oklch": {
    "l": 0.61096,
    "c": 0.11172,
    "h": 90.5
  },
  "luminance": 0.22734
}

Semantic roles & 50–950 ramp

primary
#9D8024
secondary
#5D75C0
accent
#69E642
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9D8024

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

Preview Lab → · Contrast checker → · Palette generator →

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