#C39D2B#C39D2B

#C39D2B is a light, vivid yellow. Relative luminance 0.359; OKLCH L 71.2% C 0.132 H 89.2°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#C39D2B
RGBrgb(195, 157, 43)
HSLhsl(45, 64%, 47%)
HSVhsv(45, 78%, 76%)
CMYKcmyk(0%, 19.5%, 77.9%, 23.5%)
CIE-LABlab(66.44, 3.05, 60.63)
CIE-LCHlch(66.44, 60.70, 87.12°)
OKLaboklab(71.19% 0.0019 0.1321)
OKLCHoklch(71.19% 0.132 89.2)
XYZxyz(35.0008, 35.8928, 7.3695)
Luminance0.3589 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C39D2B #2B51C3
analogous
#C3512B #C39D2B #9DC32B
triadic
#C39D2B #2BC39D #9D2BC3
tetradic
#C39D2B #2BC351 #2B51C3 #C32B9D
square
#C39D2B #2BC351 #2B51C3 #C32B9D
split-complementary
#C39D2B #2B9DC3 #512BC3
monochromatic
#5F4C15 #917520 #C39D2B #D9B752 #E4CC84

Accessibility & contrast

On white

2.57
#C39D2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#C39D2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C39D2B
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C39D2B#FFFFFF#000000##000000
##C39D2B1.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B14
Deuteranopia (green-blind)
#B9A632
Tritanopia (blue-blind)
#D48F87
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #c39d2b;
/* rgb */ color: rgb(195, 157, 43);
/* oklch */ color: oklch(71.2% 0.132 89.2);
Tailwind
colors: {
  custom: {
    50: '#dab96e',
    500: '#c39d2b',
    950: '#000000',
  },
}
SCSS
$custom: #c39d2b;
$custom-light: #dab96e;
$custom-dark: #000000;
JSON
{
  "hex": "#c39d2b",
  "rgb": {
    "r": 195,
    "g": 157,
    "b": 43
  },
  "hsl": {
    "h": 45,
    "s": 63.866,
    "l": 46.667
  },
  "oklch": {
    "l": 0.71185,
    "c": 0.13212,
    "h": 89.2
  },
  "luminance": 0.3589
}

Semantic roles & 50–950 ramp

primary
#C39D2B
secondary
#7D91CD
accent
#6AE741
background
#FEFBF6
surface
#FCF6EC
border
#D5D0C7
text
#161108
muted
#84807B

Preview Lab

Preview with #C39D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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