#C4AF39#C4AF39

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

Color values

HEX#C4AF39
RGBrgb(196, 175, 57)
HSLhsl(51, 55%, 50%)
HSVhsv(51, 71%, 77%)
CMYKcmyk(0%, 10.7%, 70.9%, 23.1%)
CIE-LABlab(71.35, -5.47, 60.17)
CIE-LCHlch(71.35, 60.41, 95.19°)
OKLaboklab(75.11% -0.021 0.1338)
OKLCHoklch(75.11% 0.135 98.9)
XYZxyz(38.8353, 42.6930, 10.0651)
Luminance0.4269 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4AF39 #394EC4
analogous
#C46939 #C4AF39 #94C439
triadic
#C4AF39 #39C4AF #AF39C4
tetradic
#C4AF39 #39C469 #394EC4 #C43994
square
#C4AF39 #39C469 #394EC4 #C43994
split-complementary
#C4AF39 #3994C4 #6939C4
monochromatic
#655A1D #95852B #C4AF39 #D3C367 #E1D697

Accessibility & contrast

On white

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

On black

9.54
#C4AF39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4AF39
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4AF39#FFFFFF#000000##000000
##C4AF391.002.209.549.54
#FFFFFF2.201.0021.0021.00
#0000009.5421.001.001.00
##0000009.5421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c4af39;
/* rgb */ color: rgb(196, 175, 57);
/* oklch */ color: oklch(75.1% 0.135 98.9);
Tailwind
colors: {
  custom: {
    50: '#dac677',
    500: '#c4af39',
    950: '#000000',
  },
}
SCSS
$custom: #c4af39;
$custom-light: #dac677;
$custom-dark: #000000;
JSON
{
  "hex": "#c4af39",
  "rgb": {
    "r": 196,
    "g": 175,
    "b": 57
  },
  "hsl": {
    "h": 50.935,
    "s": 54.941,
    "l": 49.608
  },
  "oklch": {
    "l": 0.75114,
    "c": 0.13546,
    "h": 98.9
  },
  "luminance": 0.42691
}

Semantic roles & 50–950 ramp

primary
#C4AF39
secondary
#8D96CC
accent
#60DE4A
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C4AF39

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

Preview Lab → · Contrast checker → · Palette generator →

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