#9D8924#9D8924

#9D8924 is a light, moderate yellow. Relative luminance 0.252; OKLCH L 63.0% C 0.118 H 97.4°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#9D8924
RGBrgb(157, 137, 36)
HSLhsl(50, 63%, 38%)
HSVhsv(50, 77%, 62%)
CMYKcmyk(0%, 12.7%, 77.1%, 38.4%)
CIE-LABlab(57.26, -3.42, 53.24)
CIE-LCHlch(57.26, 53.35, 93.68°)
OKLaboklab(63.04% -0.0152 0.1167)
OKLCHoklch(63.04% 0.118 97.4)
XYZxyz(23.1699, 25.1880, 5.3101)
Luminance0.2519 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D8924 #24389D
analogous
#9D4D24 #9D8924 #749D24
triadic
#9D8924 #249D89 #89249D
tetradic
#9D8924 #249D4D #24389D #9D2474
square
#9D8924 #249D4D #24389D #9D2474
split-complementary
#9D8924 #24749D #4D249D
monochromatic
#39320D #6B5E19 #9D8924 #CFB42F #DBC761

Accessibility & contrast

On white

3.48
#9D8924 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#9D8924 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D8924
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D8924#FFFFFF#000000##000000
##9D89241.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#978610
Deuteranopia (green-blind)
#9D8C2B
Tritanopia (blue-blind)
#AA7E76
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #9d8924;
/* rgb */ color: rgb(157, 137, 36);
/* oklch */ color: oklch(63.0% 0.118 97.4);
Tailwind
colors: {
  custom: {
    50: '#beab67',
    500: '#9d8924',
    950: '#000000',
  },
}
SCSS
$custom: #9d8924;
$custom-light: #beab67;
$custom-dark: #000000;
JSON
{
  "hex": "#9d8924",
  "rgb": {
    "r": 157,
    "g": 137,
    "b": 36
  },
  "hsl": {
    "h": 50.083,
    "s": 62.694,
    "l": 37.843
  },
  "oklch": {
    "l": 0.6304,
    "c": 0.11763,
    "h": 97.4
  },
  "luminance": 0.25187
}

Semantic roles & 50–950 ramp

primary
#9D8924
secondary
#5D6DC0
accent
#5DE642
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9D8924

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

Preview Lab → · Contrast checker → · Palette generator →

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