#C4AF3C#C4AF3C

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

Color values

HEX#C4AF3C
RGBrgb(196, 175, 60)
HSLhsl(51, 54%, 50%)
HSVhsv(51, 69%, 77%)
CMYKcmyk(0%, 10.7%, 69.4%, 23.1%)
CIE-LABlab(71.37, -5.32, 59.00)
CIE-LCHlch(71.37, 59.24, 95.15°)
OKLaboklab(75.14% -0.0202 0.1319)
OKLCHoklch(75.14% 0.133 98.7)
XYZxyz(38.9123, 42.7238, 10.4710)
Luminance0.4272 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4AF3C #3C51C4
analogous
#C46B3C #C4AF3C #95C43C
triadic
#C4AF3C #3CC4AF #AF3CC4
tetradic
#C4AF3C #3CC46B #3C51C4 #C43C95
square
#C4AF3C #3CC46B #3C51C4 #C43C95
split-complementary
#C4AF3C #3C95C4 #6B3CC4
monochromatic
#675C1F #96852D #C4AF3C #D2C26B #E0D69A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C4AF3C#FFFFFF#000000##000000
##C4AF3C1.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)
#C0AB2C
Deuteranopia (green-blind)
#C5B243
Tritanopia (blue-blind)
#D3A298
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #c4af3c;
/* rgb */ color: rgb(196, 175, 60);
/* oklch */ color: oklch(75.1% 0.133 98.7);
Tailwind
colors: {
  custom: {
    50: '#d9c678',
    500: '#c4af3c',
    950: '#000000',
  },
}
SCSS
$custom: #c4af3c;
$custom-light: #d9c678;
$custom-dark: #000000;
JSON
{
  "hex": "#c4af3c",
  "rgb": {
    "r": 196,
    "g": 175,
    "b": 60
  },
  "hsl": {
    "h": 50.735,
    "s": 53.543,
    "l": 50.196
  },
  "oklch": {
    "l": 0.75137,
    "c": 0.13345,
    "h": 98.7
  },
  "luminance": 0.42722
}

Semantic roles & 50–950 ramp

primary
#C4AF3C
secondary
#9099CC
accent
#61DD4B
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151309
muted
#83827B

Preview Lab

Preview with #C4AF3C

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

Preview Lab → · Contrast checker → · Palette generator →

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