#C5AF4E#C5AF4E

#C5AF4E is a light, moderate yellow. Relative luminance 0.431; OKLCH L 75.4% C 0.120 H 96.6°. Best body text is #000000 at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#C5AF4E
RGBrgb(197, 175, 78)
HSLhsl(49, 51%, 54%)
HSVhsv(49, 60%, 77%)
CMYKcmyk(0%, 11.2%, 60.4%, 22.7%)
CIE-LABlab(71.61, -3.77, 51.50)
CIE-LCHlch(71.61, 51.64, 94.19°)
OKLaboklab(75.4% -0.0138 0.1187)
OKLCHoklch(75.4% 0.12 96.6)
XYZxyz(39.7327, 43.0822, 13.4291)
Luminance0.4308 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5AF4E #4E64C5
analogous
#C5744E #C5AF4E #9FC54E
triadic
#C5AF4E #4EC5AF #AF4EC5
tetradic
#C5AF4E #4EC574 #4E64C5 #C54E9F
square
#C5AF4E #4EC574 #4E64C5 #C54E9F
split-complementary
#C5AF4E #4E9FC5 #744EC5
monochromatic
#736526 #A18D35 #C5AF4E #D4C47C #E3D9AA

Accessibility & contrast

On white

2.18
#C5AF4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.62
#C5AF4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5AF4E
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5AF4E#FFFFFF#000000##000000
##C5AF4E1.002.189.629.62
#FFFFFF2.181.0021.0021.00
#0000009.6221.001.001.00
##0000009.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAB44
Deuteranopia (green-blind)
#C5B353
Tritanopia (blue-blind)
#D3A39A
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #c5af4e;
/* rgb */ color: rgb(197, 175, 78);
/* oklch */ color: oklch(75.4% 0.120 96.6);
Tailwind
colors: {
  custom: {
    50: '#d9c683',
    500: '#c5af4e',
    950: '#000000',
  },
}
SCSS
$custom: #c5af4e;
$custom-light: #d9c683;
$custom-dark: #000000;
JSON
{
  "hex": "#c5af4e",
  "rgb": {
    "r": 197,
    "g": 175,
    "b": 78
  },
  "hsl": {
    "h": 48.908,
    "s": 50.638,
    "l": 53.922
  },
  "oklch": {
    "l": 0.75401,
    "c": 0.11951,
    "h": 96.6
  },
  "luminance": 0.4308
}

Semantic roles & 50–950 ramp

primary
#C5AF4E
secondary
#9EA7D1
accent
#68DA4E
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #C5AF4E

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

Preview Lab → · Contrast checker → · Palette generator →

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