#C5AA3B#C5AA3B

#C5AA3B is a light, vivid yellow. Relative luminance 0.409; OKLCH L 74.2% C 0.131 H 95.2°. Best body text is #000000 at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#C5AA3B
RGBrgb(197, 170, 59)
HSLhsl(48, 54%, 50%)
HSVhsv(48, 70%, 77%)
CMYKcmyk(0%, 13.7%, 70.1%, 22.7%)
CIE-LABlab(70.13, -2.30, 58.19)
CIE-LCHlch(70.13, 58.23, 92.26°)
OKLaboklab(74.18% -0.0118 0.13)
OKLCHoklch(74.18% 0.131 95.2)
XYZxyz(38.1920, 40.9376, 10.0269)
Luminance0.4094 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5AA3B #3B56C5
analogous
#C5653B #C5AA3B #9BC53B
triadic
#C5AA3B #3BC5AA #AA3BC5
tetradic
#C5AA3B #3BC565 #3B56C5 #C53B9B
square
#C5AA3B #3BC565 #3B56C5 #C53B9B
split-complementary
#C5AA3B #3B9BC5 #653BC5
monochromatic
#67591F #96822C #C5AA3B #D3BE6A #E1D399

Accessibility & contrast

On white

2.29
#C5AA3B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.19
#C5AA3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5AA3B
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5AA3B#FFFFFF#000000##000000
##C5AA3B1.002.299.199.19
#FFFFFF2.291.0021.0021.00
#0000009.1921.001.001.00
##0000009.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA72B
Deuteranopia (green-blind)
#C2AF41
Tritanopia (blue-blind)
#D59D93
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c5aa3b;
/* rgb */ color: rgb(197, 170, 59);
/* oklch */ color: oklch(74.2% 0.131 95.2);
Tailwind
colors: {
  custom: {
    50: '#dac277',
    500: '#c5aa3b',
    950: '#000000',
  },
}
SCSS
$custom: #c5aa3b;
$custom-light: #dac277;
$custom-dark: #000000;
JSON
{
  "hex": "#c5aa3b",
  "rgb": {
    "r": 197,
    "g": 170,
    "b": 59
  },
  "hsl": {
    "h": 48.261,
    "s": 54.331,
    "l": 50.196
  },
  "oklch": {
    "l": 0.74179,
    "c": 0.1305,
    "h": 95.2
  },
  "luminance": 0.40936
}

Semantic roles & 50–950 ramp

primary
#C5AA3B
secondary
#8F9BCD
accent
#67DE4A
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C5AA3B

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

Preview Lab → · Contrast checker → · Palette generator →

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