#C5AF3E#C5AF3E

#C5AF3E is a light, vivid yellow. Relative luminance 0.429; OKLCH L 75.2% C 0.132 H 98.1°. Best body text is #000000 at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#C5AF3E
RGBrgb(197, 175, 62)
HSLhsl(50, 54%, 51%)
HSVhsv(50, 69%, 77%)
CMYKcmyk(0%, 11.2%, 68.5%, 22.7%)
CIE-LABlab(71.47, -4.77, 58.33)
CIE-LCHlch(71.47, 58.53, 94.68°)
OKLaboklab(75.25% -0.0185 0.1308)
OKLCHoklch(75.25% 0.132 98.1)
XYZxyz(39.2273, 42.8800, 10.7669)
Luminance0.4288 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5AF3E #3E54C5
analogous
#C56B3E #C5AF3E #97C53E
triadic
#C5AF3E #3EC5AF #AF3EC5
tetradic
#C5AF3E #3EC56B #3E54C5 #C53E97
square
#C5AF3E #3EC56B #3E54C5 #C53E97
split-complementary
#C5AF3E #3E97C5 #6B3EC5
monochromatic
#695D20 #98872E #C5AF3E #D3C36D #E1D69C

Accessibility & contrast

On white

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

On black

9.58
#C5AF3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5AF3E
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5AF3E#FFFFFF#000000##000000
##C5AF3E1.002.199.589.58
#FFFFFF2.191.0021.0021.00
#0000009.5821.001.001.00
##0000009.5821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c5af3e;
/* rgb */ color: rgb(197, 175, 62);
/* oklch */ color: oklch(75.2% 0.132 98.1);
Tailwind
colors: {
  custom: {
    50: '#dac679',
    500: '#c5af3e',
    950: '#000000',
  },
}
SCSS
$custom: #c5af3e;
$custom-light: #dac679;
$custom-dark: #000000;
JSON
{
  "hex": "#c5af3e",
  "rgb": {
    "r": 197,
    "g": 175,
    "b": 62
  },
  "hsl": {
    "h": 50.222,
    "s": 53.785,
    "l": 50.784
  },
  "oklch": {
    "l": 0.75248,
    "c": 0.1321,
    "h": 98.1
  },
  "luminance": 0.42878
}

Semantic roles & 50–950 ramp

primary
#C5AF3E
secondary
#919BCD
accent
#63DD4B
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151309
muted
#83827B

Preview Lab

Preview with #C5AF3E

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

Preview Lab → · Contrast checker → · Palette generator →

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