#C5AD3F#C5AD3F

#C5AD3F is a light, vivid yellow. Relative luminance 0.421; OKLCH L 74.8% C 0.130 H 96.7°. Best body text is #000000 at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#C5AD3F
RGBrgb(197, 173, 63)
HSLhsl(49, 54%, 51%)
HSVhsv(49, 68%, 77%)
CMYKcmyk(0%, 12.2%, 68%, 22.7%)
CIE-LABlab(70.95, -3.67, 57.38)
CIE-LCHlch(70.95, 57.50, 93.66°)
OKLaboklab(74.84% -0.0152 0.129)
OKLCHoklch(74.84% 0.13 96.7)
XYZxyz(38.8686, 42.1183, 10.7840)
Luminance0.4212 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5AD3F #3F57C5
analogous
#C56A3F #C5AD3F #9AC53F
triadic
#C5AD3F #3FC5AD #AD3FC5
tetradic
#C5AD3F #3FC56A #3F57C5 #C53F9A
square
#C5AD3F #3FC56A #3F57C5 #C53F9A
split-complementary
#C5AD3F #3F9AC5 #6A3FC5
monochromatic
#6A5C20 #99862E #C5AD3F #D3C16E #E1D59D

Accessibility & contrast

On white

2.23
#C5AD3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.42
#C5AD3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5AD3F
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5AD3F#FFFFFF#000000##000000
##C5AD3F1.002.239.429.42
#FFFFFF2.231.0021.0021.00
#0000009.4221.001.001.00
##0000009.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA930
Deuteranopia (green-blind)
#C4B145
Tritanopia (blue-blind)
#D4A096
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #c5ad3f;
/* rgb */ color: rgb(197, 173, 63);
/* oklch */ color: oklch(74.8% 0.130 96.7);
Tailwind
colors: {
  custom: {
    50: '#dac57a',
    500: '#c5ad3f',
    950: '#000000',
  },
}
SCSS
$custom: #c5ad3f;
$custom-light: #dac57a;
$custom-dark: #000000;
JSON
{
  "hex": "#c5ad3f",
  "rgb": {
    "r": 197,
    "g": 173,
    "b": 63
  },
  "hsl": {
    "h": 49.254,
    "s": 53.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.74838,
    "c": 0.12987,
    "h": 96.7
  },
  "luminance": 0.42116
}

Semantic roles & 50–950 ramp

primary
#C5AD3F
secondary
#929DCE
accent
#65DD4B
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15120A
muted
#83817C

Preview Lab

Preview with #C5AD3F

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

Preview Lab → · Contrast checker → · Palette generator →

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