#C5A33D#C5A33D

#C5A33D is a light, vivid yellow. Relative luminance 0.384; OKLCH L 72.8% C 0.125 H 90.2°. Best body text is #000000 at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#C5A33D
RGBrgb(197, 163, 61)
HSLhsl(45, 54%, 51%)
HSVhsv(45, 69%, 77%)
CMYKcmyk(0%, 17.3%, 69%, 22.7%)
CIE-LABlab(68.32, 1.54, 55.50)
CIE-LCHlch(68.32, 55.52, 88.41°)
OKLaboklab(72.75% -0.0005 0.1246)
OKLCHoklch(72.75% 0.125 90.2)
XYZxyz(36.9674, 38.4038, 9.8795)
Luminance0.3840 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5A33D #3D5FC5
analogous
#C55F3D #C5A33D #A3C53D
triadic
#C5A33D #3DC5A3 #A33DC5
tetradic
#C5A33D #3DC55F #3D5FC5 #C53DA3
square
#C5A33D #3DC55F #3D5FC5 #C53DA3
split-complementary
#C5A33D #3DA3C5 #5F3DC5
monochromatic
#68561F #987D2D #C5A33D #D3B96C #E1D09B

Accessibility & contrast

On white

2.42
#C5A33D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.68
#C5A33D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5A33D
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5A33D#FFFFFF#000000##000000
##C5A33D1.002.428.688.68
#FFFFFF2.421.0021.0021.00
#0000008.6821.001.001.00
##0000008.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A130
Deuteranopia (green-blind)
#BDAB42
Tritanopia (blue-blind)
#D5968E
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #c5a33d;
/* rgb */ color: rgb(197, 163, 61);
/* oklch */ color: oklch(72.8% 0.125 90.2);
Tailwind
colors: {
  custom: {
    50: '#dabd78',
    500: '#c5a33d',
    950: '#000000',
  },
}
SCSS
$custom: #c5a33d;
$custom-light: #dabd78;
$custom-dark: #000000;
JSON
{
  "hex": "#c5a33d",
  "rgb": {
    "r": 197,
    "g": 163,
    "b": 61
  },
  "hsl": {
    "h": 45,
    "s": 53.968,
    "l": 50.588
  },
  "oklch": {
    "l": 0.72751,
    "c": 0.12464,
    "h": 90.2
  },
  "luminance": 0.38402
}

Semantic roles & 50–950 ramp

primary
#C5A33D
secondary
#91A0CD
accent
#6FDD4A
background
#FDFBF7
surface
#FBF6EE
border
#D4D0C9
text
#151209
muted
#83817B

Preview Lab

Preview with #C5A33D

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

Preview Lab → · Contrast checker → · Palette generator →

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