#9C8620#9C8620

#9C8620 is a light, moderate yellow. Relative luminance 0.242; OKLCH L 62.3% C 0.118 H 96.2°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#9C8620
RGBrgb(156, 134, 32)
HSLhsl(49, 66%, 37%)
HSVhsv(49, 79%, 61%)
CMYKcmyk(0%, 14.1%, 79.5%, 38.8%)
CIE-LABlab(56.31, -2.39, 53.74)
CIE-LCHlch(56.31, 53.80, 92.55°)
OKLaboklab(62.26% -0.0126 0.117)
OKLCHoklch(62.26% 0.118 96.2)
XYZxyz(22.4973, 24.2236, 4.8569)
Luminance0.2422 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8620 #20369C
analogous
#9C4820 #9C8620 #749C20
triadic
#9C8620 #209C86 #86209C
tetradic
#9C8620 #209C48 #20369C #9C2074
square
#9C8620 #209C48 #20369C #9C2074
split-complementary
#9C8620 #20749C #48209C
monochromatic
#362F0B #695A16 #9C8620 #CFB22A #DDC659

Accessibility & contrast

On white

3.59
#9C8620 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#9C8620 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8620
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8620#FFFFFF#000000##000000
##9C86201.003.595.845.84
#FFFFFF3.591.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9c8620;
/* rgb */ color: rgb(156, 134, 32);
/* oklch */ color: oklch(62.3% 0.118 96.2);
Tailwind
colors: {
  custom: {
    50: '#bda865',
    500: '#9c8620',
    950: '#000000',
  },
}
SCSS
$custom: #9c8620;
$custom-light: #bda865;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8620",
  "rgb": {
    "r": 156,
    "g": 134,
    "b": 32
  },
  "hsl": {
    "h": 49.355,
    "s": 65.957,
    "l": 36.863
  },
  "oklch": {
    "l": 0.6226,
    "c": 0.11763,
    "h": 96.2
  },
  "luminance": 0.24222
}

Semantic roles & 50–950 ramp

primary
#9C8620
secondary
#576AC1
accent
#5DE93F
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9C8620

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

Preview Lab → · Contrast checker → · Palette generator →

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