#C4A52F#C4A52F

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

Color values

HEX#C4A52F
RGBrgb(196, 165, 47)
HSLhsl(48, 61%, 48%)
HSVhsv(48, 76%, 77%)
CMYKcmyk(0%, 15.8%, 76%, 23.1%)
CIE-LABlab(68.64, -0.64, 61.30)
CIE-LCHlch(68.64, 61.30, 90.60°)
OKLaboklab(72.96% -0.0083 0.1343)
OKLCHoklch(72.96% 0.135 93.5)
XYZxyz(36.7352, 38.8534, 8.2533)
Luminance0.3885 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4A52F #2F4EC4
analogous
#C45B2F #C4A52F #98C42F
triadic
#C4A52F #2FC4A5 #A52FC4
tetradic
#C4A52F #2FC45B #2F4EC4 #C42F98
square
#C4A52F #2FC45B #2F4EC4 #C42F98
split-complementary
#C4A52F #2F98C4 #5B2FC4
monochromatic
#615217 #937B23 #C4A52F #D7BD59 #E3D18A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C4A52F#FFFFFF#000000##000000
##C4A52F1.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)
#B7A219
Deuteranopia (green-blind)
#BFAB36
Tritanopia (blue-blind)
#D4978E
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #c4a52f;
/* rgb */ color: rgb(196, 165, 47);
/* oklch */ color: oklch(73.0% 0.135 93.5);
Tailwind
colors: {
  custom: {
    50: '#dabf70',
    500: '#c4a52f',
    950: '#000000',
  },
}
SCSS
$custom: #c4a52f;
$custom-light: #dabf70;
$custom-dark: #000000;
JSON
{
  "hex": "#c4a52f",
  "rgb": {
    "r": 196,
    "g": 165,
    "b": 47
  },
  "hsl": {
    "h": 47.517,
    "s": 61.317,
    "l": 47.647
  },
  "oklch": {
    "l": 0.72956,
    "c": 0.13458,
    "h": 93.5
  },
  "luminance": 0.38851
}

Semantic roles & 50–950 ramp

primary
#C4A52F
secondary
#8291CD
accent
#65E443
background
#FEFBF7
surface
#FCF6ED
border
#D5D0C8
text
#151208
muted
#84817B

Preview Lab

Preview with #C4A52F

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

Preview Lab → · Contrast checker → · Palette generator →

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