#9D8624#9D8624

#9D8624 is a light, moderate yellow. Relative luminance 0.243; OKLCH L 62.4% C 0.115 H 95.2°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#9D8624
RGBrgb(157, 134, 36)
HSLhsl(49, 63%, 38%)
HSVhsv(49, 77%, 62%)
CMYKcmyk(0%, 14.6%, 77.1%, 38.4%)
CIE-LABlab(56.43, -1.77, 52.46)
CIE-LCHlch(56.43, 52.49, 91.93°)
OKLaboklab(62.39% -0.0105 0.115)
OKLCHoklch(62.39% 0.115 95.2)
XYZxyz(22.7494, 24.3469, 5.1699)
Luminance0.2435 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D8624 #243B9D
analogous
#9D4924 #9D8624 #779D24
triadic
#9D8624 #249D86 #86249D
tetradic
#9D8624 #249D49 #243B9D #9D2477
square
#9D8624 #249D49 #243B9D #9D2477
split-complementary
#9D8624 #24779D #49249D
monochromatic
#39310D #6B5C19 #9D8624 #CFB02F #DBC461

Accessibility & contrast

On white

3.58
#9D8624 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#9D8624 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D8624
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D8624#FFFFFF#000000##000000
##9D86241.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#958311
Deuteranopia (green-blind)
#9A8A2A
Tritanopia (blue-blind)
#AA7B73
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #9d8624;
/* rgb */ color: rgb(157, 134, 36);
/* oklch */ color: oklch(62.4% 0.115 95.2);
Tailwind
colors: {
  custom: {
    50: '#bea867',
    500: '#9d8624',
    950: '#000000',
  },
}
SCSS
$custom: #9d8624;
$custom-light: #bea867;
$custom-dark: #000000;
JSON
{
  "hex": "#9d8624",
  "rgb": {
    "r": 157,
    "g": 134,
    "b": 36
  },
  "hsl": {
    "h": 48.595,
    "s": 62.694,
    "l": 37.843
  },
  "oklch": {
    "l": 0.62388,
    "c": 0.11548,
    "h": 95.2
  },
  "luminance": 0.24346
}

Semantic roles & 50–950 ramp

primary
#9D8624
secondary
#5D70C0
accent
#61E642
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9D8624

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

Preview Lab → · Contrast checker → · Palette generator →

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