#C5A63E#C5A63E

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

Color values

HEX#C5A63E
RGBrgb(197, 166, 62)
HSLhsl(46, 54%, 51%)
HSVhsv(46, 69%, 77%)
CMYKcmyk(0%, 15.7%, 68.5%, 22.7%)
CIE-LABlab(69.11, -0.01, 55.90)
CIE-LCHlch(69.11, 55.90, 90.01°)
OKLaboklab(73.38% -0.0049 0.1257)
OKLCHoklch(73.38% 0.126 92.2)
XYZxyz(37.5336, 39.4927, 10.2024)
Luminance0.3949 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5A63E #3E5DC5
analogous
#C5623E #C5A63E #A0C53E
triadic
#C5A63E #3EC5A6 #A63EC5
tetradic
#C5A63E #3EC562 #3E5DC5 #C53EA0
square
#C5A63E #3EC562 #3E5DC5 #C53EA0
split-complementary
#C5A63E #3EA0C5 #623EC5
monochromatic
#695820 #98802E #C5A63E #D3BC6D #E1D19C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5A63E#FFFFFF#000000##000000
##C5A63E1.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)
#B8A331
Deuteranopia (green-blind)
#BFAC43
Tritanopia (blue-blind)
#D59990
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #c5a63e;
/* rgb */ color: rgb(197, 166, 62);
/* oklch */ color: oklch(73.4% 0.126 92.2);
Tailwind
colors: {
  custom: {
    50: '#dac079',
    500: '#c5a63e',
    950: '#000000',
  },
}
SCSS
$custom: #c5a63e;
$custom-light: #dac079;
$custom-dark: #000000;
JSON
{
  "hex": "#c5a63e",
  "rgb": {
    "r": 197,
    "g": 166,
    "b": 62
  },
  "hsl": {
    "h": 46.222,
    "s": 53.785,
    "l": 50.784
  },
  "oklch": {
    "l": 0.73376,
    "c": 0.12574,
    "h": 92.2
  },
  "luminance": 0.39491
}

Semantic roles & 50–950 ramp

primary
#C5A63E
secondary
#919FCD
accent
#6CDD4B
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#151209
muted
#83817B

Preview Lab

Preview with #C5A63E

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

Preview Lab → · Contrast checker → · Palette generator →

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