#9C8B20#9C8B20

#9C8B20 is a light, vivid yellow. Relative luminance 0.256; OKLCH L 63.4% C 0.121 H 99.7°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#9C8B20
RGBrgb(156, 139, 32)
HSLhsl(52, 66%, 37%)
HSVhsv(52, 79%, 61%)
CMYKcmyk(0%, 10.9%, 79.5%, 38.8%)
CIE-LABlab(57.69, -5.14, 55.00)
CIE-LCHlch(57.69, 55.24, 95.34°)
OKLaboklab(63.36% -0.0204 0.1196)
OKLCHoklch(63.36% 0.121 99.7)
XYZxyz(23.2048, 25.6386, 5.0927)
Luminance0.2564 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8B20 #20319C
analogous
#9C4D20 #9C8B20 #6F9C20
triadic
#9C8B20 #209C8B #8B209C
tetradic
#9C8B20 #209C4D #20319C #9C206F
square
#9C8B20 #209C4D #20319C #9C206F
split-complementary
#9C8B20 #206F9C #4D209C
monochromatic
#36310B #695E16 #9C8B20 #CFB82A #DDCB59

Accessibility & contrast

On white

3.43
#9C8B20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#9C8B20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8B20
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8B20#FFFFFF#000000##000000
##9C8B201.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#998705
Deuteranopia (green-blind)
#9E8D28
Tritanopia (blue-blind)
#A98077
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9c8b20;
/* rgb */ color: rgb(156, 139, 32);
/* oklch */ color: oklch(63.4% 0.121 99.7);
Tailwind
colors: {
  custom: {
    50: '#bdac65',
    500: '#9c8b20',
    950: '#000000',
  },
}
SCSS
$custom: #9c8b20;
$custom-light: #bdac65;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8b20",
  "rgb": {
    "r": 156,
    "g": 139,
    "b": 32
  },
  "hsl": {
    "h": 51.774,
    "s": 65.957,
    "l": 36.863
  },
  "oklch": {
    "l": 0.63355,
    "c": 0.12135,
    "h": 99.7
  },
  "luminance": 0.25637
}

Semantic roles & 50–950 ramp

primary
#9C8B20
secondary
#5765C1
accent
#56E93F
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9C8B20

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

Preview Lab → · Contrast checker → · Palette generator →

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