#C5A63D#C5A63D

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

Color values

HEX#C5A63D
RGBrgb(197, 166, 61)
HSLhsl(46, 54%, 51%)
HSVhsv(46, 69%, 77%)
CMYKcmyk(0%, 15.7%, 69%, 22.7%)
CIE-LABlab(69.10, -0.06, 56.31)
CIE-LCHlch(69.10, 56.31, 90.07°)
OKLaboklab(73.37% -0.0051 0.1264)
OKLCHoklch(73.37% 0.126 92.3)
XYZxyz(37.5064, 39.4818, 10.0592)
Luminance0.3948 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5A63D #3D5CC5
analogous
#C5623D #C5A63D #A0C53D
triadic
#C5A63D #3DC5A6 #A63DC5
tetradic
#C5A63D #3DC562 #3D5CC5 #C53DA0
square
#C5A63D #3DC562 #3D5CC5 #C53DA0
split-complementary
#C5A63D #3DA0C5 #623DC5
monochromatic
#68581F #987F2D #C5A63D #D3BC6C #E1D19B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5A63D#FFFFFF#000000##000000
##C5A63D1.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)
#B8A32F
Deuteranopia (green-blind)
#BFAC42
Tritanopia (blue-blind)
#D59990
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #c5a63d;
/* rgb */ color: rgb(197, 166, 61);
/* oklch */ color: oklch(73.4% 0.126 92.3);
Tailwind
colors: {
  custom: {
    50: '#dac078',
    500: '#c5a63d',
    950: '#000000',
  },
}
SCSS
$custom: #c5a63d;
$custom-light: #dac078;
$custom-dark: #000000;
JSON
{
  "hex": "#c5a63d",
  "rgb": {
    "r": 197,
    "g": 166,
    "b": 61
  },
  "hsl": {
    "h": 46.324,
    "s": 53.968,
    "l": 50.588
  },
  "oklch": {
    "l": 0.73367,
    "c": 0.12645,
    "h": 92.3
  },
  "luminance": 0.3948
}

Semantic roles & 50–950 ramp

primary
#C5A63D
secondary
#919ECD
accent
#6CDD4A
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#151209
muted
#83817B

Preview Lab

Preview with #C5A63D

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

Preview Lab → · Contrast checker → · Palette generator →

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