#C5B43D#C5B43D

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

Color values

HEX#C5B43D
RGBrgb(197, 180, 61)
HSLhsl(53, 54%, 51%)
HSVhsv(53, 69%, 77%)
CMYKcmyk(0%, 8.6%, 69%, 22.7%)
CIE-LABlab(72.79, -7.44, 60.07)
CIE-LCHlch(72.79, 60.53, 97.06°)
OKLaboklab(76.29% -0.0262 0.1343)
OKLCHoklch(76.29% 0.137 101)
XYZxyz(40.1913, 44.8515, 10.9541)
Luminance0.4485 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5B43D #3D4EC5
analogous
#C5703D #C5B43D #92C53D
triadic
#C5B43D #3DC5B4 #B43DC5
tetradic
#C5B43D #3DC570 #3D4EC5 #C53D92
square
#C5B43D #3DC570 #3D4EC5 #C53D92
split-complementary
#C5B43D #3D92C5 #703DC5
monochromatic
#685F1F #988A2D #C5B43D #D3C66C #E1D89B

Accessibility & contrast

On white

2.11
#C5B43D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.97
#C5B43D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5B43D
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5B43D#FFFFFF#000000##000000
##C5B43D1.002.119.979.97
#FFFFFF2.111.0021.0021.00
#0000009.9721.001.001.00
##0000009.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF2C
Deuteranopia (green-blind)
#C9B644
Tritanopia (blue-blind)
#D4A79C
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #c5b43d;
/* rgb */ color: rgb(197, 180, 61);
/* oklch */ color: oklch(76.3% 0.137 101.0);
Tailwind
colors: {
  custom: {
    50: '#daca79',
    500: '#c5b43d',
    950: '#000000',
  },
}
SCSS
$custom: #c5b43d;
$custom-light: #daca79;
$custom-dark: #000000;
JSON
{
  "hex": "#c5b43d",
  "rgb": {
    "r": 197,
    "g": 180,
    "b": 61
  },
  "hsl": {
    "h": 52.5,
    "s": 53.968,
    "l": 50.588
  },
  "oklch": {
    "l": 0.76293,
    "c": 0.13684,
    "h": 101
  },
  "luminance": 0.4485
}

Semantic roles & 50–950 ramp

primary
#C5B43D
secondary
#9198CD
accent
#5DDD4A
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C5B43D

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

Preview Lab → · Contrast checker → · Palette generator →

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