#C5A440#C5A440

#C5A440 is a light, vivid yellow. Relative luminance 0.388; OKLCH L 73.0% C 0.123 H 90.6°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#C5A440
RGBrgb(197, 164, 64)
HSLhsl(45, 53%, 51%)
HSVhsv(45, 68%, 77%)
CMYKcmyk(0%, 16.8%, 67.5%, 22.7%)
CIE-LABlab(68.60, 1.17, 54.51)
CIE-LCHlch(68.60, 54.52, 88.77°)
OKLaboklab(72.98% -0.0012 0.1231)
OKLCHoklch(72.98% 0.123 90.6)
XYZxyz(37.2288, 38.7936, 10.3765)
Luminance0.3879 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5A440 #4061C5
analogous
#C56140 #C5A440 #A3C540
triadic
#C5A440 #40C5A4 #A440C5
tetradic
#C5A440 #40C561 #4061C5 #C540A3
square
#C5A440 #40C561 #4061C5 #C540A3
split-complementary
#C5A440 #40A3C5 #6140C5
monochromatic
#6A5820 #997F2F #C5A440 #D3BA6F #E2D19E

Accessibility & contrast

On white

2.40
#C5A440 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.76
#C5A440 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5A440
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5A440#FFFFFF#000000##000000
##C5A4401.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A234
Deuteranopia (green-blind)
#BEAB45
Tritanopia (blue-blind)
#D5978F
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #c5a440;
/* rgb */ color: rgb(197, 164, 64);
/* oklch */ color: oklch(73.0% 0.123 90.6);
Tailwind
colors: {
  custom: {
    50: '#dabe7a',
    500: '#c5a440',
    950: '#000000',
  },
}
SCSS
$custom: #c5a440;
$custom-light: #dabe7a;
$custom-dark: #000000;
JSON
{
  "hex": "#c5a440",
  "rgb": {
    "r": 197,
    "g": 164,
    "b": 64
  },
  "hsl": {
    "h": 45.113,
    "s": 53.414,
    "l": 51.176
  },
  "oklch": {
    "l": 0.72983,
    "c": 0.12306,
    "h": 90.6
  },
  "luminance": 0.38791
}

Semantic roles & 50–950 ramp

primary
#C5A440
secondary
#93A2CE
accent
#6FDD4B
background
#FDFBF7
surface
#FBF6EE
border
#D4D0C9
text
#151209
muted
#83817B

Preview Lab

Preview with #C5A440

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

Preview Lab → · Contrast checker → · Palette generator →

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