#C4AF3E#C4AF3E

#C4AF3E is a light, vivid yellow. Relative luminance 0.427; OKLCH L 75.2% C 0.132 H 98.6°. Best body text is #000000 at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#C4AF3E
RGBrgb(196, 175, 62)
HSLhsl(51, 53%, 51%)
HSVhsv(51, 68%, 77%)
CMYKcmyk(0%, 10.7%, 68.4%, 23.1%)
CIE-LABlab(71.38, -5.21, 58.21)
CIE-LCHlch(71.38, 58.44, 95.11°)
OKLaboklab(75.15% -0.0197 0.1306)
OKLCHoklch(75.15% 0.132 98.6)
XYZxyz(38.9662, 42.7454, 10.7547)
Luminance0.4274 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4AF3E #3E53C4
analogous
#C46C3E #C4AF3E #96C43E
triadic
#C4AF3E #3EC4AF #AF3EC4
tetradic
#C4AF3E #3EC46C #3E53C4 #C43E96
square
#C4AF3E #3EC46C #3E53C4 #C43E96
split-complementary
#C4AF3E #3E96C4 #6C3EC4
monochromatic
#685D20 #97862E #C4AF3E #D2C26D #E1D69C

Accessibility & contrast

On white

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

On black

9.55
#C4AF3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4AF3E
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4AF3E#FFFFFF#000000##000000
##C4AF3E1.002.209.559.55
#FFFFFF2.201.0021.0021.00
#0000009.5521.001.001.00
##0000009.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AB2F
Deuteranopia (green-blind)
#C5B244
Tritanopia (blue-blind)
#D3A298
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #c4af3e;
/* rgb */ color: rgb(196, 175, 62);
/* oklch */ color: oklch(75.2% 0.132 98.6);
Tailwind
colors: {
  custom: {
    50: '#d9c679',
    500: '#c4af3e',
    950: '#000000',
  },
}
SCSS
$custom: #c4af3e;
$custom-light: #d9c679;
$custom-dark: #000000;
JSON
{
  "hex": "#c4af3e",
  "rgb": {
    "r": 196,
    "g": 175,
    "b": 62
  },
  "hsl": {
    "h": 50.597,
    "s": 53.175,
    "l": 50.588
  },
  "oklch": {
    "l": 0.75154,
    "c": 0.13204,
    "h": 98.6
  },
  "luminance": 0.42744
}

Semantic roles & 50–950 ramp

primary
#C4AF3E
secondary
#919ACD
accent
#62DD4B
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151309
muted
#83827B

Preview Lab

Preview with #C4AF3E

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

Preview Lab → · Contrast checker → · Palette generator →

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