#C4AF3F#C4AF3F

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

Color values

HEX#C4AF3F
RGBrgb(196, 175, 63)
HSLhsl(51, 53%, 51%)
HSVhsv(51, 68%, 77%)
CMYKcmyk(0%, 10.7%, 67.9%, 23.1%)
CIE-LABlab(71.39, -5.15, 57.80)
CIE-LCHlch(71.39, 58.03, 95.09°)
OKLaboklab(75.16% -0.0194 0.1299)
OKLCHoklch(75.16% 0.131 98.5)
XYZxyz(38.9939, 42.7564, 10.9005)
Luminance0.4275 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4AF3F #3F54C4
analogous
#C46C3F #C4AF3F #97C43F
triadic
#C4AF3F #3FC4AF #AF3FC4
tetradic
#C4AF3F #3FC46C #3F54C4 #C43F97
square
#C4AF3F #3FC46C #3F54C4 #C43F97
split-complementary
#C4AF3F #3F97C4 #6C3FC4
monochromatic
#685D20 #97872E #C4AF3F #D2C36E #E1D69D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C4AF3F#FFFFFF#000000##000000
##C4AF3F1.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)
#C0AB30
Deuteranopia (green-blind)
#C5B245
Tritanopia (blue-blind)
#D3A298
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #c4af3f;
/* rgb */ color: rgb(196, 175, 63);
/* oklch */ color: oklch(75.2% 0.131 98.5);
Tailwind
colors: {
  custom: {
    50: '#d9c67a',
    500: '#c4af3f',
    950: '#000000',
  },
}
SCSS
$custom: #c4af3f;
$custom-light: #d9c67a;
$custom-dark: #000000;
JSON
{
  "hex": "#c4af3f",
  "rgb": {
    "r": 196,
    "g": 175,
    "b": 63
  },
  "hsl": {
    "h": 50.526,
    "s": 52.988,
    "l": 50.784
  },
  "oklch": {
    "l": 0.75162,
    "c": 0.13133,
    "h": 98.5
  },
  "luminance": 0.42755
}

Semantic roles & 50–950 ramp

primary
#C4AF3F
secondary
#929BCD
accent
#62DC4B
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C4AF3F

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

Preview Lab → · Contrast checker → · Palette generator →

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