#C5B442#C5B442

#C5B442 is a light, vivid yellow. Relative luminance 0.449; OKLCH L 76.3% C 0.133 H 100.8°. Best body text is #000000 at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#C5B442
RGBrgb(197, 180, 66)
HSLhsl(52, 53%, 52%)
HSVhsv(52, 66%, 77%)
CMYKcmyk(0%, 8.6%, 66.5%, 22.7%)
CIE-LABlab(72.83, -7.16, 58.08)
CIE-LCHlch(72.83, 58.52, 97.03°)
OKLaboklab(76.33% -0.0249 0.1309)
OKLCHoklch(76.33% 0.133 100.8)
XYZxyz(40.3323, 44.9079, 11.6968)
Luminance0.4491 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5B442 #4253C5
analogous
#C57342 #C5B442 #95C542
triadic
#C5B442 #42C5B4 #B442C5
tetradic
#C5B442 #42C573 #4253C5 #C54295
square
#C5B442 #42C573 #4253C5 #C54295
split-complementary
#C5B442 #4295C5 #7342C5
monochromatic
#6C6221 #9A8D2F #C5B442 #D3C771 #E2D9A0

Accessibility & contrast

On white

2.10
#C5B442 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.98
#C5B442 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5B442
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5B442#FFFFFF#000000##000000
##C5B4421.002.109.989.98
#FFFFFF2.101.0021.0021.00
#0000009.9821.001.001.00
##0000009.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AF33
Deuteranopia (green-blind)
#C9B649
Tritanopia (blue-blind)
#D4A89C
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #c5b442;
/* rgb */ color: rgb(197, 180, 66);
/* oklch */ color: oklch(76.3% 0.133 100.8);
Tailwind
colors: {
  custom: {
    50: '#daca7c',
    500: '#c5b442',
    950: '#000000',
  },
}
SCSS
$custom: #c5b442;
$custom-light: #daca7c;
$custom-dark: #000000;
JSON
{
  "hex": "#c5b442",
  "rgb": {
    "r": 197,
    "g": 180,
    "b": 66
  },
  "hsl": {
    "h": 52.214,
    "s": 53.036,
    "l": 51.569
  },
  "oklch": {
    "l": 0.76334,
    "c": 0.13328,
    "h": 100.8
  },
  "luminance": 0.44906
}

Semantic roles & 50–950 ramp

primary
#C5B442
secondary
#959CCE
accent
#5EDC4B
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C5B442

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

Preview Lab → · Contrast checker → · Palette generator →

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