#C39C21#C39C21

#C39C21 is a light, vivid yellow. Relative luminance 0.355; OKLCH L 70.9% C 0.136 H 89.4°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#C39C21
RGBrgb(195, 156, 33)
HSLhsl(46, 71%, 45%)
HSVhsv(46, 83%, 76%)
CMYKcmyk(0%, 20%, 83.1%, 23.5%)
CIE-LABlab(66.13, 3.25, 63.59)
CIE-LCHlch(66.13, 63.67, 87.07°)
OKLaboklab(70.93% 0.0015 0.1364)
OKLCHoklch(70.93% 0.136 89.4)
XYZxyz(34.6708, 35.4912, 6.4629)
Luminance0.3549 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C39C21 #2148C3
analogous
#C34B21 #C39C21 #99C321
triadic
#C39C21 #21C39C #9C21C3
tetradic
#C39C21 #21C34B #2148C3 #C32199
square
#C39C21 #21C34B #2148C3 #C32199
split-complementary
#C39C21 #2199C3 #4B21C3
monochromatic
#5A480F #8F7218 #C39C21 #DFB942 #E8CD77

Accessibility & contrast

On white

2.59
#C39C21 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.10
#C39C21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C39C21
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C39C21#FFFFFF#000000##000000
##C39C211.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9A00
Deuteranopia (green-blind)
#B9A529
Tritanopia (blue-blind)
#D48E86
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #c39c21;
/* rgb */ color: rgb(195, 156, 33);
/* oklch */ color: oklch(70.9% 0.136 89.4);
Tailwind
colors: {
  custom: {
    50: '#dab869',
    500: '#c39c21',
    950: '#000000',
  },
}
SCSS
$custom: #c39c21;
$custom-light: #dab869;
$custom-dark: #000000;
JSON
{
  "hex": "#c39c21",
  "rgb": {
    "r": 195,
    "g": 156,
    "b": 33
  },
  "hsl": {
    "h": 45.556,
    "s": 71.053,
    "l": 44.706
  },
  "oklch": {
    "l": 0.70926,
    "c": 0.13637,
    "h": 89.4
  },
  "luminance": 0.35489
}

Semantic roles & 50–950 ramp

primary
#C39C21
secondary
#7187CF
accent
#65EE3A
background
#FEFBF6
surface
#FCF6EB
border
#D5D0C6
text
#161107
muted
#84807A

Preview Lab

Preview with #C39C21

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

Preview Lab → · Contrast checker → · Palette generator →

#C39C21 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva