#C5AA46#C5AA46

#C5AA46 is a light, vivid yellow. Relative luminance 0.411; OKLCH L 74.3% C 0.122 H 94.1°. Best body text is #000000 at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#C5AA46
RGBrgb(197, 170, 70)
HSLhsl(47, 52%, 52%)
HSVhsv(47, 64%, 77%)
CMYKcmyk(0%, 13.7%, 64.5%, 22.7%)
CIE-LABlab(70.22, -1.66, 53.60)
CIE-LCHlch(70.22, 53.62, 91.78°)
OKLaboklab(74.28% -0.0087 0.1221)
OKLCHoklch(74.28% 0.122 94.1)
XYZxyz(38.5080, 41.0640, 11.6910)
Luminance0.4106 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5AA46 #4661C5
analogous
#C56B46 #C5AA46 #A1C546
triadic
#C5AA46 #46C5AA #AA46C5
tetradic
#C5AA46 #46C56B #4661C5 #C546A1
square
#C5AA46 #46C56B #4661C5 #C546A1
split-complementary
#C5AA46 #46A1C5 #6B46C5
monochromatic
#6E5E23 #9D8631 #C5AA46 #D4BF75 #E2D5A3

Accessibility & contrast

On white

2.28
#C5AA46 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.21
#C5AA46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5AA46
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5AA46#FFFFFF#000000##000000
##C5AA461.002.289.219.21
#FFFFFF2.281.0021.0021.00
#0000009.2121.001.001.00
##0000009.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA73A
Deuteranopia (green-blind)
#C2AF4B
Tritanopia (blue-blind)
#D49D95
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #c5aa46;
/* rgb */ color: rgb(197, 170, 70);
/* oklch */ color: oklch(74.3% 0.122 94.1);
Tailwind
colors: {
  custom: {
    50: '#dac37e',
    500: '#c5aa46',
    950: '#000000',
  },
}
SCSS
$custom: #c5aa46;
$custom-light: #dac37e;
$custom-dark: #000000;
JSON
{
  "hex": "#c5aa46",
  "rgb": {
    "r": 197,
    "g": 170,
    "b": 70
  },
  "hsl": {
    "h": 47.244,
    "s": 52.263,
    "l": 52.353
  },
  "oklch": {
    "l": 0.74278,
    "c": 0.12238,
    "h": 94.1
  },
  "luminance": 0.41062
}

Semantic roles & 50–950 ramp

primary
#C5AA46
secondary
#98A4CF
accent
#6BDC4C
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#15120A
muted
#83817C

Preview Lab

Preview with #C5AA46

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

Preview Lab → · Contrast checker → · Palette generator →

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