#C5A63F#C5A63F

#C5A63F is a light, vivid yellow. Relative luminance 0.395; OKLCH L 73.4% C 0.125 H 92.1°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#C5A63F
RGBrgb(197, 166, 63)
HSLhsl(46, 54%, 51%)
HSVhsv(46, 68%, 77%)
CMYKcmyk(0%, 15.7%, 68%, 22.7%)
CIE-LABlab(69.11, 0.05, 55.48)
CIE-LCHlch(69.11, 55.48, 89.95°)
OKLaboklab(73.39% -0.0046 0.1249)
OKLCHoklch(73.39% 0.125 92.1)
XYZxyz(37.5613, 39.5038, 10.3482)
Luminance0.3950 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5A63F #3F5EC5
analogous
#C5633F #C5A63F #A1C53F
triadic
#C5A63F #3FC5A6 #A63FC5
tetradic
#C5A63F #3FC563 #3F5EC5 #C53FA1
square
#C5A63F #3FC563 #3F5EC5 #C53FA1
split-complementary
#C5A63F #3FA1C5 #633FC5
monochromatic
#6A5920 #99802E #C5A63F #D3BC6E #E1D29D

Accessibility & contrast

On white

2.36
#C5A63F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.90
#C5A63F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5A63F
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5A63F#FFFFFF#000000##000000
##C5A63F1.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A332
Deuteranopia (green-blind)
#BFAC44
Tritanopia (blue-blind)
#D59991
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #c5a63f;
/* rgb */ color: rgb(197, 166, 63);
/* oklch */ color: oklch(73.4% 0.125 92.1);
Tailwind
colors: {
  custom: {
    50: '#dac079',
    500: '#c5a63f',
    950: '#000000',
  },
}
SCSS
$custom: #c5a63f;
$custom-light: #dac079;
$custom-dark: #000000;
JSON
{
  "hex": "#c5a63f",
  "rgb": {
    "r": 197,
    "g": 166,
    "b": 63
  },
  "hsl": {
    "h": 46.119,
    "s": 53.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.73385,
    "c": 0.12501,
    "h": 92.1
  },
  "luminance": 0.39502
}

Semantic roles & 50–950 ramp

primary
#C5A63F
secondary
#92A0CE
accent
#6DDD4B
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#151209
muted
#83817B

Preview Lab

Preview with #C5A63F

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

Preview Lab → · Contrast checker → · Palette generator →

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