#C5A63A#C5A63A

#C5A63A is a light, vivid yellow. Relative luminance 0.394; OKLCH L 73.3% C 0.129 H 92.7°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#C5A63A
RGBrgb(197, 166, 58)
HSLhsl(47, 55%, 50%)
HSVhsv(47, 71%, 77%)
CMYKcmyk(0%, 15.7%, 70.6%, 22.7%)
CIE-LABlab(69.08, -0.22, 57.53)
CIE-LCHlch(69.08, 57.53, 90.22°)
OKLaboklab(73.34% -0.006 0.1284)
OKLCHoklch(73.34% 0.129 92.7)
XYZxyz(37.4279, 39.4504, 9.6455)
Luminance0.3945 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5A63A #3A59C5
analogous
#C5613A #C5A63A #9EC53A
triadic
#C5A63A #3AC5A6 #A63AC5
tetradic
#C5A63A #3AC561 #3A59C5 #C53A9E
square
#C5A63A #3AC561 #3A59C5 #C53A9E
split-complementary
#C5A63A #3A9EC5 #613AC5
monochromatic
#66561E #967E2C #C5A63A #D3BB69 #E1D199

Accessibility & contrast

On white

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

On black

8.89
#C5A63A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5A63A
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5A63A#FFFFFF#000000##000000
##C5A63A1.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A32B
Deuteranopia (green-blind)
#BFAC40
Tritanopia (blue-blind)
#D59990
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #c5a63a;
/* rgb */ color: rgb(197, 166, 58);
/* oklch */ color: oklch(73.3% 0.129 92.7);
Tailwind
colors: {
  custom: {
    50: '#dac076',
    500: '#c5a63a',
    950: '#000000',
  },
}
SCSS
$custom: #c5a63a;
$custom-light: #dac076;
$custom-dark: #000000;
JSON
{
  "hex": "#c5a63a",
  "rgb": {
    "r": 197,
    "g": 166,
    "b": 58
  },
  "hsl": {
    "h": 46.619,
    "s": 54.51,
    "l": 50
  },
  "oklch": {
    "l": 0.73342,
    "c": 0.12853,
    "h": 92.7
  },
  "luminance": 0.39448
}

Semantic roles & 50–950 ramp

primary
#C5A63A
secondary
#8E9CCD
accent
#6BDE4A
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C5A63A

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

Preview Lab → · Contrast checker → · Palette generator →

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