#C4A52B#C4A52B

#C4A52B is a light, vivid yellow. Relative luminance 0.388; OKLCH L 72.9% C 0.137 H 93.8°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#C4A52B
RGBrgb(196, 165, 43)
HSLhsl(48, 64%, 47%)
HSVhsv(48, 78%, 77%)
CMYKcmyk(0%, 15.8%, 78.1%, 23.1%)
CIE-LABlab(68.62, -0.80, 62.67)
CIE-LCHlch(68.62, 62.67, 90.73°)
OKLaboklab(72.93% -0.0091 0.1364)
OKLCHoklch(72.93% 0.137 93.8)
XYZxyz(36.6582, 38.8226, 7.8477)
Luminance0.3882 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4A52B #2B4AC4
analogous
#C4592B #C4A52B #97C42B
triadic
#C4A52B #2BC4A5 #A52BC4
tetradic
#C4A52B #2BC459 #2B4AC4 #C42B97
square
#C4A52B #2BC459 #2B4AC4 #C42B97
split-complementary
#C4A52B #2B97C4 #592BC4
monochromatic
#605015 #927B20 #C4A52B #D9BE53 #E4D185

Accessibility & contrast

On white

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

On black

8.76
#C4A52B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4A52B
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4A52B#FFFFFF#000000##000000
##C4A52B1.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c4a52b;
/* rgb */ color: rgb(196, 165, 43);
/* oklch */ color: oklch(72.9% 0.137 93.8);
Tailwind
colors: {
  custom: {
    50: '#dabf6e',
    500: '#c4a52b',
    950: '#000000',
  },
}
SCSS
$custom: #c4a52b;
$custom-light: #dabf6e;
$custom-dark: #000000;
JSON
{
  "hex": "#c4a52b",
  "rgb": {
    "r": 196,
    "g": 165,
    "b": 43
  },
  "hsl": {
    "h": 47.843,
    "s": 64.017,
    "l": 46.863
  },
  "oklch": {
    "l": 0.72931,
    "c": 0.13675,
    "h": 93.8
  },
  "luminance": 0.3882
}

Semantic roles & 50–950 ramp

primary
#C4A52B
secondary
#7D8ECE
accent
#62E741
background
#FEFBF7
surface
#FCF6ED
border
#D5D0C8
text
#161208
muted
#84817B

Preview Lab

Preview with #C4A52B

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

Preview Lab → · Contrast checker → · Palette generator →

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