#9C8E20#9C8E20

#9C8E20 is a light, vivid yellow. Relative luminance 0.265; OKLCH L 64.0% C 0.124 H 101.6°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#9C8E20
RGBrgb(156, 142, 32)
HSLhsl(53, 66%, 37%)
HSVhsv(53, 79%, 61%)
CMYKcmyk(0%, 9%, 79.5%, 38.8%)
CIE-LABlab(58.53, -6.77, 55.75)
CIE-LCHlch(58.53, 56.16, 96.93°)
OKLaboklab(64.02% -0.025 0.1213)
OKLCHoklch(64.02% 0.124 101.6)
XYZxyz(23.6452, 26.5193, 5.2395)
Luminance0.2652 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8E20 #202E9C
analogous
#9C5020 #9C8E20 #6C9C20
triadic
#9C8E20 #209C8E #8E209C
tetradic
#9C8E20 #209C50 #202E9C #9C206C
square
#9C8E20 #209C50 #202E9C #9C206C
split-complementary
#9C8E20 #206C9C #50209C
monochromatic
#36320B #696016 #9C8E20 #CFBC2A #DDCE59

Accessibility & contrast

On white

3.33
#9C8E20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#9C8E20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8E20
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8E20#FFFFFF#000000##000000
##9C8E201.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A03
Deuteranopia (green-blind)
#A08F28
Tritanopia (blue-blind)
#A8837A
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #9c8e20;
/* rgb */ color: rgb(156, 142, 32);
/* oklch */ color: oklch(64.0% 0.124 101.6);
Tailwind
colors: {
  custom: {
    50: '#bdae66',
    500: '#9c8e20',
    950: '#000000',
  },
}
SCSS
$custom: #9c8e20;
$custom-light: #bdae66;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8e20",
  "rgb": {
    "r": 156,
    "g": 142,
    "b": 32
  },
  "hsl": {
    "h": 53.226,
    "s": 65.957,
    "l": 36.863
  },
  "oklch": {
    "l": 0.64017,
    "c": 0.1238,
    "h": 101.6
  },
  "luminance": 0.26518
}

Semantic roles & 50–950 ramp

primary
#9C8E20
secondary
#5763C1
accent
#52E93F
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9C8E20

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

Preview Lab → · Contrast checker → · Palette generator →

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