#C39E21#C39E21

#C39E21 is a light, vivid yellow. Relative luminance 0.362; OKLCH L 71.3% C 0.137 H 90.7°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#C39E21
RGBrgb(195, 158, 33)
HSLhsl(46, 71%, 45%)
HSVhsv(46, 83%, 76%)
CMYKcmyk(0%, 19%, 83.1%, 23.5%)
CIE-LABlab(66.65, 2.17, 64.03)
CIE-LCHlch(66.65, 64.07, 88.06°)
OKLaboklab(71.34% -0.0016 0.1373)
OKLCHoklch(71.34% 0.137 90.7)
XYZxyz(35.0092, 36.1679, 6.5757)
Luminance0.3617 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C39E21 #2146C3
analogous
#C34D21 #C39E21 #97C321
triadic
#C39E21 #21C39E #9E21C3
tetradic
#C39E21 #21C34D #2146C3 #C32197
square
#C39E21 #21C34D #2146C3 #C32197
split-complementary
#C39E21 #2197C3 #4D21C3
monochromatic
#5A490F #8F7418 #C39E21 #DFBB42 #E8CE77

Accessibility & contrast

On white

2.55
#C39E21 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#C39E21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C39E21
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C39E21#FFFFFF#000000##000000
##C39E211.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C00
Deuteranopia (green-blind)
#BAA62A
Tritanopia (blue-blind)
#D49087
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #c39e21;
/* rgb */ color: rgb(195, 158, 33);
/* oklch */ color: oklch(71.3% 0.137 90.7);
Tailwind
colors: {
  custom: {
    50: '#daba69',
    500: '#c39e21',
    950: '#000000',
  },
}
SCSS
$custom: #c39e21;
$custom-light: #daba69;
$custom-dark: #000000;
JSON
{
  "hex": "#c39e21",
  "rgb": {
    "r": 195,
    "g": 158,
    "b": 33
  },
  "hsl": {
    "h": 46.296,
    "s": 71.053,
    "l": 44.706
  },
  "oklch": {
    "l": 0.71335,
    "c": 0.13734,
    "h": 90.7
  },
  "luminance": 0.36166
}

Semantic roles & 50–950 ramp

primary
#C39E21
secondary
#7186CF
accent
#63EE3A
background
#FEFBF6
surface
#FCF6EB
border
#D5D0C6
text
#161107
muted
#84807A

Preview Lab

Preview with #C39E21

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

Preview Lab → · Contrast checker → · Palette generator →

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