#C4AF36#C4AF36

#C4AF36 is a light, vivid yellow. Relative luminance 0.427; OKLCH L 75.1% C 0.137 H 99.1°. Best body text is #000000 at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#C4AF36
RGBrgb(196, 175, 54)
HSLhsl(51, 57%, 49%)
HSVhsv(51, 72%, 77%)
CMYKcmyk(0%, 10.7%, 72.4%, 23.1%)
CIE-LABlab(71.33, -5.62, 61.29)
CIE-LCHlch(71.33, 61.55, 95.24°)
OKLaboklab(75.09% -0.0217 0.1357)
OKLCHoklch(75.09% 0.137 99.1)
XYZxyz(38.7626, 42.6639, 9.6825)
Luminance0.4266 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4AF36 #364BC4
analogous
#C46836 #C4AF36 #92C436
triadic
#C4AF36 #36C4AF #AF36C4
tetradic
#C4AF36 #36C468 #364BC4 #C43692
square
#C4AF36 #36C468 #364BC4 #C43692
split-complementary
#C4AF36 #3692C4 #6836C4
monochromatic
#64591C #948429 #C4AF36 #D4C363 #E1D693

Accessibility & contrast

On white

2.20
#C4AF36 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.53
#C4AF36 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4AF36
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4AF36#FFFFFF#000000##000000
##C4AF361.002.209.539.53
#FFFFFF2.201.0021.0021.00
#0000009.5321.001.001.00
##0000009.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA22
Deuteranopia (green-blind)
#C6B23E
Tritanopia (blue-blind)
#D3A297
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #c4af36;
/* rgb */ color: rgb(196, 175, 54);
/* oklch */ color: oklch(75.1% 0.137 99.1);
Tailwind
colors: {
  custom: {
    50: '#dac675',
    500: '#c4af36',
    950: '#000000',
  },
}
SCSS
$custom: #c4af36;
$custom-light: #dac675;
$custom-dark: #000000;
JSON
{
  "hex": "#c4af36",
  "rgb": {
    "r": 196,
    "g": 175,
    "b": 54
  },
  "hsl": {
    "h": 51.127,
    "s": 56.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.75092,
    "c": 0.1374,
    "h": 99.1
  },
  "luminance": 0.42662
}

Semantic roles & 50–950 ramp

primary
#C4AF36
secondary
#8993CC
accent
#5EE048
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C4AF36

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

Preview Lab → · Contrast checker → · Palette generator →

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