#C3A52E#C3A52E

#C3A52E is a light, vivid yellow. Relative luminance 0.387; OKLCH L 72.9% C 0.135 H 94.1°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#C3A52E
RGBrgb(195, 165, 46)
HSLhsl(48, 62%, 47%)
HSVhsv(48, 76%, 76%)
CMYKcmyk(0%, 15.4%, 76.4%, 23.5%)
CIE-LABlab(68.54, -1.12, 61.52)
CIE-LCHlch(68.54, 61.53, 91.04°)
OKLaboklab(72.85% -0.0097 0.1346)
OKLCHoklch(72.85% 0.135 94.1)
XYZxyz(36.4560, 38.7117, 8.1362)
Luminance0.3871 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3A52E #2E4CC3
analogous
#C35A2E #C3A52E #97C32E
triadic
#C3A52E #2EC3A5 #A52EC3
tetradic
#C3A52E #2EC35A #2E4CC3 #C32E97
square
#C3A52E #2EC35A #2E4CC3 #C32E97
split-complementary
#C3A52E #2E97C3 #5A2EC3
monochromatic
#605117 #917B22 #C3A52E #D7BD57 #E3D188

Accessibility & contrast

On white

2.40
#C3A52E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.74
#C3A52E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C3A52E
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C3A52E#FFFFFF#000000##000000
##C3A52E1.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A217
Deuteranopia (green-blind)
#BFAB35
Tritanopia (blue-blind)
#D3978E
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #c3a52e;
/* rgb */ color: rgb(195, 165, 46);
/* oklch */ color: oklch(72.9% 0.135 94.1);
Tailwind
colors: {
  custom: {
    50: '#d9bf70',
    500: '#c3a52e',
    950: '#000000',
  },
}
SCSS
$custom: #c3a52e;
$custom-light: #d9bf70;
$custom-dark: #000000;
JSON
{
  "hex": "#c3a52e",
  "rgb": {
    "r": 195,
    "g": 165,
    "b": 46
  },
  "hsl": {
    "h": 47.919,
    "s": 61.826,
    "l": 47.255
  },
  "oklch": {
    "l": 0.7285,
    "c": 0.13499,
    "h": 94.1
  },
  "luminance": 0.3871
}

Semantic roles & 50–950 ramp

primary
#C3A52E
secondary
#808FCD
accent
#64E543
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #C3A52E

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

Preview Lab → · Contrast checker → · Palette generator →

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