#C5AF4A#C5AF4A

#C5AF4A is a light, vivid yellow. Relative luminance 0.430; OKLCH L 75.4% C 0.123 H 97.0°. Best body text is #000000 at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#C5AF4A
RGBrgb(197, 175, 74)
HSLhsl(49, 51%, 53%)
HSVhsv(49, 62%, 77%)
CMYKcmyk(0%, 11.2%, 62.4%, 22.7%)
CIE-LABlab(71.57, -4.05, 53.28)
CIE-LCHlch(71.57, 53.43, 94.35°)
OKLaboklab(75.36% -0.015 0.122)
OKLCHoklch(75.36% 0.123 97)
XYZxyz(39.5937, 43.0265, 12.6966)
Luminance0.4303 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5AF4A #4A60C5
analogous
#C5714A #C5AF4A #9DC54A
triadic
#C5AF4A #4AC5AF #AF4AC5
tetradic
#C5AF4A #4AC571 #4A60C5 #C54A9D
square
#C5AF4A #4AC571 #4A60C5 #C54A9D
split-complementary
#C5AF4A #4A9DC5 #714AC5
monochromatic
#716324 #9F8C33 #C5AF4A #D4C378 #E3D8A7

Accessibility & contrast

On white

2.19
#C5AF4A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.61
#C5AF4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5AF4A
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5AF4A#FFFFFF#000000##000000
##C5AF4A1.002.199.619.61
#FFFFFF2.191.0021.0021.00
#0000009.6121.001.001.00
##0000009.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAB3F
Deuteranopia (green-blind)
#C5B24F
Tritanopia (blue-blind)
#D4A399
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #c5af4a;
/* rgb */ color: rgb(197, 175, 74);
/* oklch */ color: oklch(75.4% 0.123 97.0);
Tailwind
colors: {
  custom: {
    50: '#dac681',
    500: '#c5af4a',
    950: '#000000',
  },
}
SCSS
$custom: #c5af4a;
$custom-light: #dac681;
$custom-dark: #000000;
JSON
{
  "hex": "#c5af4a",
  "rgb": {
    "r": 197,
    "g": 175,
    "b": 74
  },
  "hsl": {
    "h": 49.268,
    "s": 51.464,
    "l": 53.137
  },
  "oklch": {
    "l": 0.75359,
    "c": 0.12289,
    "h": 97
  },
  "luminance": 0.43025
}

Semantic roles & 50–950 ramp

primary
#C5AF4A
secondary
#9BA4D0
accent
#66DB4D
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130A
muted
#83827C

Preview Lab

Preview with #C5AF4A

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

Preview Lab → · Contrast checker → · Palette generator →

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