#C5AE4F#C5AE4F

#C5AE4F is a light, moderate yellow. Relative luminance 0.427; OKLCH L 75.2% C 0.118 H 95.8°. Best body text is #000000 at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#C5AE4F
RGBrgb(197, 174, 79)
HSLhsl(48, 50%, 54%)
HSVhsv(48, 60%, 77%)
CMYKcmyk(0%, 11.7%, 59.9%, 22.7%)
CIE-LABlab(71.36, -3.18, 50.75)
CIE-LCHlch(71.36, 50.85, 93.58°)
OKLaboklab(75.2% -0.0119 0.1173)
OKLCHoklch(75.2% 0.118 95.8)
XYZxyz(39.5749, 42.7088, 13.5547)
Luminance0.4271 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5AE4F #4F66C5
analogous
#C5734F #C5AE4F #A1C54F
triadic
#C5AE4F #4FC5AE #AE4FC5
tetradic
#C5AE4F #4FC573 #4F66C5 #C54FA1
square
#C5AE4F #4FC573 #4F66C5 #C54FA1
split-complementary
#C5AE4F #4FA1C5 #734FC5
monochromatic
#746426 #A28C35 #C5AE4F #D4C37D #E3D8AB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5AE4F#FFFFFF#000000##000000
##C5AE4F1.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)
#BEAA45
Deuteranopia (green-blind)
#C4B253
Tritanopia (blue-blind)
#D3A299
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #c5ae4f;
/* rgb */ color: rgb(197, 174, 79);
/* oklch */ color: oklch(75.2% 0.118 95.8);
Tailwind
colors: {
  custom: {
    50: '#d9c584',
    500: '#c5ae4f',
    950: '#000000',
  },
}
SCSS
$custom: #c5ae4f;
$custom-light: #d9c584;
$custom-dark: #000000;
JSON
{
  "hex": "#c5ae4f",
  "rgb": {
    "r": 197,
    "g": 174,
    "b": 79
  },
  "hsl": {
    "h": 48.305,
    "s": 50.427,
    "l": 54.118
  },
  "oklch": {
    "l": 0.75203,
    "c": 0.11786,
    "h": 95.8
  },
  "luminance": 0.42707
}

Semantic roles & 50–950 ramp

primary
#C5AE4F
secondary
#9FA9D1
accent
#69DA4E
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15120B
muted
#83817C

Preview Lab

Preview with #C5AE4F

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

Preview Lab → · Contrast checker → · Palette generator →

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