#C5B645#C5B645

#C5B645 is a light, vivid yellow. Relative luminance 0.458; OKLCH L 76.8% C 0.133 H 101.7°. Best body text is #000000 at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#C5B645
RGBrgb(197, 182, 69)
HSLhsl(53, 52%, 52%)
HSVhsv(53, 65%, 77%)
CMYKcmyk(0%, 7.6%, 65%, 22.7%)
CIE-LABlab(73.39, -8.03, 57.41)
CIE-LCHlch(73.39, 57.97, 97.96°)
OKLaboklab(76.78% -0.027 0.13)
OKLCHoklch(76.78% 0.133 101.7)
XYZxyz(40.8297, 45.7576, 12.3105)
Luminance0.4576 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5B645 #4554C5
analogous
#C57645 #C5B645 #94C545
triadic
#C5B645 #45C5B6 #B645C5
tetradic
#C5B645 #45C576 #4554C5 #C54594
square
#C5B645 #45C576 #4554C5 #C54594
split-complementary
#C5B645 #4594C5 #7645C5
monochromatic
#6D6522 #9C9031 #C5B645 #D4C874 #E2DBA2

Accessibility & contrast

On white

2.07
#C5B645 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.15
#C5B645 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5B645
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5B645#FFFFFF#000000##000000
##C5B6451.002.0710.1510.15
#FFFFFF2.071.0021.0021.00
#00000010.1521.001.001.00
##00000010.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B137
Deuteranopia (green-blind)
#CBB74B
Tritanopia (blue-blind)
#D3AA9E
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #c5b645;
/* rgb */ color: rgb(197, 182, 69);
/* oklch */ color: oklch(76.8% 0.133 101.7);
Tailwind
colors: {
  custom: {
    50: '#dacb7e',
    500: '#c5b645',
    950: '#000000',
  },
}
SCSS
$custom: #c5b645;
$custom-light: #dacb7e;
$custom-dark: #000000;
JSON
{
  "hex": "#c5b645",
  "rgb": {
    "r": 197,
    "g": 182,
    "b": 69
  },
  "hsl": {
    "h": 52.969,
    "s": 52.459,
    "l": 52.157
  },
  "oklch": {
    "l": 0.76784,
    "c": 0.13276,
    "h": 101.7
  },
  "luminance": 0.45756
}

Semantic roles & 50–950 ramp

primary
#C5B645
secondary
#979ECF
accent
#5DDC4C
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C5B645

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

Preview Lab → · Contrast checker → · Palette generator →

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