#9D8620#9D8620

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

Color values

HEX#9D8620
RGBrgb(157, 134, 32)
HSLhsl(49, 66%, 37%)
HSVhsv(49, 80%, 62%)
CMYKcmyk(0%, 14.6%, 79.6%, 38.4%)
CIE-LABlab(56.41, -1.94, 53.87)
CIE-LCHlch(56.41, 53.91, 92.06°)
OKLaboklab(62.36% -0.0114 0.1172)
OKLCHoklch(62.36% 0.118 95.5)
XYZxyz(22.6917, 24.3239, 4.8660)
Luminance0.2432 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D8620 #20379D
analogous
#9D4820 #9D8620 #769D20
triadic
#9D8620 #209D86 #86209D
tetradic
#9D8620 #209D48 #20379D #9D2076
square
#9D8620 #209D48 #20379D #9D2076
split-complementary
#9D8620 #20769D #48209D
monochromatic
#372F0B #6A5B16 #9D8620 #D0B12A #DDC55A

Accessibility & contrast

On white

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

On black

5.86
#9D8620 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D8620
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D8620#FFFFFF#000000##000000
##9D86201.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d8620;
/* rgb */ color: rgb(157, 134, 32);
/* oklch */ color: oklch(62.4% 0.118 95.5);
Tailwind
colors: {
  custom: {
    50: '#bea865',
    500: '#9d8620',
    950: '#000000',
  },
}
SCSS
$custom: #9d8620;
$custom-light: #bea865;
$custom-dark: #000000;
JSON
{
  "hex": "#9d8620",
  "rgb": {
    "r": 157,
    "g": 134,
    "b": 32
  },
  "hsl": {
    "h": 48.96,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.62362,
    "c": 0.11772,
    "h": 95.5
  },
  "luminance": 0.24323
}

Semantic roles & 50–950 ramp

primary
#9D8620
secondary
#576BC1
accent
#5EE93F
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9D8620

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

Preview Lab → · Contrast checker → · Palette generator →

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