#C39D2A#C39D2A

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

Color values

HEX#C39D2A
RGBrgb(195, 157, 42)
HSLhsl(45, 65%, 46%)
HSVhsv(45, 78%, 76%)
CMYKcmyk(0%, 19.5%, 78.5%, 23.5%)
CIE-LABlab(66.43, 3.01, 60.97)
CIE-LCHlch(66.43, 61.05, 87.17°)
OKLaboklab(71.18% 0.0017 0.1326)
OKLCHoklch(71.18% 0.133 89.3)
XYZxyz(34.9827, 35.8855, 7.2741)
Luminance0.3588 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C39D2A #2A50C3
analogous
#C3512A #C39D2A #9DC32A
triadic
#C39D2A #2AC39D #9D2AC3
tetradic
#C39D2A #2AC351 #2A50C3 #C32A9D
square
#C39D2A #2AC351 #2A50C3 #C32A9D
split-complementary
#C39D2A #2A9DC3 #512AC3
monochromatic
#5E4C14 #91741F #C39D2A #D9B851 #E4CC83

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C39D2A#FFFFFF#000000##000000
##C39D2A1.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)
#B09B12
Deuteranopia (green-blind)
#B9A631
Tritanopia (blue-blind)
#D48F87
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #c39d2a;
/* rgb */ color: rgb(195, 157, 42);
/* oklch */ color: oklch(71.2% 0.133 89.3);
Tailwind
colors: {
  custom: {
    50: '#dab96d',
    500: '#c39d2a',
    950: '#000000',
  },
}
SCSS
$custom: #c39d2a;
$custom-light: #dab96d;
$custom-dark: #000000;
JSON
{
  "hex": "#c39d2a",
  "rgb": {
    "r": 195,
    "g": 157,
    "b": 42
  },
  "hsl": {
    "h": 45.098,
    "s": 64.557,
    "l": 46.471
  },
  "oklch": {
    "l": 0.71178,
    "c": 0.13265,
    "h": 89.3
  },
  "luminance": 0.35883
}

Semantic roles & 50–950 ramp

primary
#C39D2A
secondary
#7B90CD
accent
#6AE840
background
#FEFBF6
surface
#FCF6EC
border
#D5D0C7
text
#161108
muted
#84807B

Preview Lab

Preview with #C39D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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