#C39F21#C39F21

#C39F21 is a light, vivid yellow. Relative luminance 0.365; OKLCH L 71.5% C 0.138 H 91.3°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#C39F21
RGBrgb(195, 159, 33)
HSLhsl(47, 71%, 45%)
HSVhsv(47, 83%, 76%)
CMYKcmyk(0%, 18.5%, 83.1%, 23.5%)
CIE-LABlab(66.91, 1.63, 64.25)
CIE-LCHlch(66.91, 64.27, 88.54°)
OKLaboklab(71.54% -0.0031 0.1378)
OKLCHoklch(71.54% 0.138 91.3)
XYZxyz(35.1805, 36.5105, 6.6328)
Luminance0.3651 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C39F21 #2145C3
analogous
#C34E21 #C39F21 #96C321
triadic
#C39F21 #21C39F #9F21C3
tetradic
#C39F21 #21C34E #2145C3 #C32196
square
#C39F21 #21C34E #2145C3 #C32196
split-complementary
#C39F21 #2196C3 #4E21C3
monochromatic
#5A4A0F #8F7418 #C39F21 #DFBC42 #E8CF77

Accessibility & contrast

On white

2.53
#C39F21 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.30
#C39F21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C39F21
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C39F21#FFFFFF#000000##000000
##C39F211.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D00
Deuteranopia (green-blind)
#BBA72A
Tritanopia (blue-blind)
#D49188
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #c39f21;
/* rgb */ color: rgb(195, 159, 33);
/* oklch */ color: oklch(71.5% 0.138 91.3);
Tailwind
colors: {
  custom: {
    50: '#daba69',
    500: '#c39f21',
    950: '#000000',
  },
}
SCSS
$custom: #c39f21;
$custom-light: #daba69;
$custom-dark: #000000;
JSON
{
  "hex": "#c39f21",
  "rgb": {
    "r": 195,
    "g": 159,
    "b": 33
  },
  "hsl": {
    "h": 46.667,
    "s": 71.053,
    "l": 44.706
  },
  "oklch": {
    "l": 0.7154,
    "c": 0.13785,
    "h": 91.3
  },
  "luminance": 0.36508
}

Semantic roles & 50–950 ramp

primary
#C39F21
secondary
#7186CF
accent
#62EE3A
background
#FEFBF6
surface
#FCF6EC
border
#D5D0C7
text
#161107
muted
#84807A

Preview Lab

Preview with #C39F21

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

Preview Lab → · Contrast checker → · Palette generator →

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