#C5B345#C5B345

#C5B345 is a light, vivid yellow. Relative luminance 0.445; OKLCH L 76.1% C 0.130 H 100.0°. Best body text is #000000 at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#C5B345
RGBrgb(197, 179, 69)
HSLhsl(52, 52%, 52%)
HSVhsv(52, 65%, 77%)
CMYKcmyk(0%, 9.1%, 65%, 22.7%)
CIE-LABlab(72.59, -6.46, 56.56)
CIE-LCHlch(72.59, 56.93, 96.52°)
OKLaboklab(76.15% -0.0225 0.1282)
OKLCHoklch(76.15% 0.13 100)
XYZxyz(40.2219, 44.5420, 12.1079)
Luminance0.4454 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5B345 #4557C5
analogous
#C57345 #C5B345 #97C545
triadic
#C5B345 #45C5B3 #B345C5
tetradic
#C5B345 #45C573 #4557C5 #C54597
square
#C5B345 #45C573 #4557C5 #C54597
split-complementary
#C5B345 #4597C5 #7345C5
monochromatic
#6D6322 #9C8D31 #C5B345 #D4C674 #E2D9A2

Accessibility & contrast

On white

2.12
#C5B345 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.91
#C5B345 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5B345
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5B345#FFFFFF#000000##000000
##C5B3451.002.129.919.91
#FFFFFF2.121.0021.0021.00
#0000009.9121.001.001.00
##0000009.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AE37
Deuteranopia (green-blind)
#C8B54B
Tritanopia (blue-blind)
#D4A79C
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #c5b345;
/* rgb */ color: rgb(197, 179, 69);
/* oklch */ color: oklch(76.1% 0.130 100.0);
Tailwind
colors: {
  custom: {
    50: '#dac97e',
    500: '#c5b345',
    950: '#000000',
  },
}
SCSS
$custom: #c5b345;
$custom-light: #dac97e;
$custom-dark: #000000;
JSON
{
  "hex": "#c5b345",
  "rgb": {
    "r": 197,
    "g": 179,
    "b": 69
  },
  "hsl": {
    "h": 51.563,
    "s": 52.459,
    "l": 52.157
  },
  "oklch": {
    "l": 0.7615,
    "c": 0.13016,
    "h": 100
  },
  "luminance": 0.4454
}

Semantic roles & 50–950 ramp

primary
#C5B345
secondary
#979FCF
accent
#60DC4C
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C5B345

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

Preview Lab → · Contrast checker → · Palette generator →

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