#C5AF43#C5AF43

#C5AF43 is a light, vivid yellow. Relative luminance 0.429; OKLCH L 75.3% C 0.128 H 97.7°. Best body text is #000000 at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#C5AF43
RGBrgb(197, 175, 67)
HSLhsl(50, 53%, 52%)
HSVhsv(50, 66%, 77%)
CMYKcmyk(0%, 11.2%, 66%, 22.7%)
CIE-LABlab(71.51, -4.49, 56.28)
CIE-LCHlch(71.51, 56.46, 94.56°)
OKLaboklab(75.29% -0.0171 0.1273)
OKLCHoklch(75.29% 0.128 97.7)
XYZxyz(39.3708, 42.9374, 11.5231)
Luminance0.4294 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5AF43 #4359C5
analogous
#C56E43 #C5AF43 #9AC543
triadic
#C5AF43 #43C5AF #AF43C5
tetradic
#C5AF43 #43C56E #4359C5 #C5439A
square
#C5AF43 #43C56E #4359C5 #C5439A
split-complementary
#C5AF43 #439AC5 #6E43C5
monochromatic
#6C6021 #9B8930 #C5AF43 #D3C372 #E2D7A1

Accessibility & contrast

On white

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

On black

9.59
#C5AF43 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5AF43
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5AF43#FFFFFF#000000##000000
##C5AF431.002.199.599.59
#FFFFFF2.191.0021.0021.00
#0000009.5921.001.001.00
##0000009.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AB36
Deuteranopia (green-blind)
#C5B249
Tritanopia (blue-blind)
#D4A298
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #c5af43;
/* rgb */ color: rgb(197, 175, 67);
/* oklch */ color: oklch(75.3% 0.128 97.7);
Tailwind
colors: {
  custom: {
    50: '#dac67c',
    500: '#c5af43',
    950: '#000000',
  },
}
SCSS
$custom: #c5af43;
$custom-light: #dac67c;
$custom-dark: #000000;
JSON
{
  "hex": "#c5af43",
  "rgb": {
    "r": 197,
    "g": 175,
    "b": 67
  },
  "hsl": {
    "h": 49.846,
    "s": 52.846,
    "l": 51.765
  },
  "oklch": {
    "l": 0.75291,
    "c": 0.12843,
    "h": 97.7
  },
  "luminance": 0.42936
}

Semantic roles & 50–950 ramp

primary
#C5AF43
secondary
#959FCE
accent
#64DC4C
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C5AF43

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

Preview Lab → · Contrast checker → · Palette generator →

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