#C4A52E#C4A52E

#C4A52E is a light, vivid yellow. Relative luminance 0.388; OKLCH L 73.0% C 0.135 H 93.6°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#C4A52E
RGBrgb(196, 165, 46)
HSLhsl(48, 62%, 47%)
HSVhsv(48, 77%, 77%)
CMYKcmyk(0%, 15.8%, 76.5%, 23.1%)
CIE-LABlab(68.64, -0.68, 61.65)
CIE-LCHlch(68.64, 61.65, 90.63°)
OKLaboklab(72.95% -0.0085 0.1349)
OKLCHoklch(72.95% 0.135 93.6)
XYZxyz(36.7153, 38.8454, 8.1483)
Luminance0.3884 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4A52E #2E4DC4
analogous
#C45A2E #C4A52E #98C42E
triadic
#C4A52E #2EC4A5 #A52EC4
tetradic
#C4A52E #2EC45A #2E4DC4 #C42E98
square
#C4A52E #2EC45A #2E4DC4 #C42E98
split-complementary
#C4A52E #2E98C4 #5A2EC4
monochromatic
#615217 #927B22 #C4A52E #D8BD58 #E3D189

Accessibility & contrast

On white

2.39
#C4A52E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.77
#C4A52E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4A52E
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4A52E#FFFFFF#000000##000000
##C4A52E1.002.398.778.77
#FFFFFF2.391.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c4a52e;
/* rgb */ color: rgb(196, 165, 46);
/* oklch */ color: oklch(73.0% 0.135 93.6);
Tailwind
colors: {
  custom: {
    50: '#dabf70',
    500: '#c4a52e',
    950: '#000000',
  },
}
SCSS
$custom: #c4a52e;
$custom-light: #dabf70;
$custom-dark: #000000;
JSON
{
  "hex": "#c4a52e",
  "rgb": {
    "r": 196,
    "g": 165,
    "b": 46
  },
  "hsl": {
    "h": 47.6,
    "s": 61.983,
    "l": 47.451
  },
  "oklch": {
    "l": 0.7295,
    "c": 0.13514,
    "h": 93.6
  },
  "luminance": 0.38843
}

Semantic roles & 50–950 ramp

primary
#C4A52E
secondary
#8190CD
accent
#64E543
background
#FEFBF7
surface
#FCF6ED
border
#D5D0C8
text
#151208
muted
#84817B

Preview Lab

Preview with #C4A52E

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

Preview Lab → · Contrast checker → · Palette generator →

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