#C5B543#C5B543

#C5B543 is a light, vivid yellow. Relative luminance 0.453; OKLCH L 76.6% C 0.133 H 101.3°. Best body text is #000000 at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#C5B543
RGBrgb(197, 181, 67)
HSLhsl(53, 53%, 52%)
HSVhsv(53, 66%, 77%)
CMYKcmyk(0%, 8.1%, 66%, 22.7%)
CIE-LABlab(73.11, -7.63, 57.95)
CIE-LCHlch(73.11, 58.45, 97.50°)
OKLaboklab(76.55% -0.0261 0.1308)
OKLCHoklch(76.55% 0.133 101.3)
XYZxyz(40.5646, 45.3250, 11.9210)
Luminance0.4532 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5B543 #4353C5
analogous
#C57443 #C5B543 #94C543
triadic
#C5B543 #43C5B5 #B543C5
tetradic
#C5B543 #43C574 #4353C5 #C54394
square
#C5B543 #43C574 #4353C5 #C54394
split-complementary
#C5B543 #4394C5 #7443C5
monochromatic
#6C6321 #9B8E30 #C5B543 #D3C772 #E2DAA1

Accessibility & contrast

On white

2.09
#C5B543 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.06
#C5B543 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5B543
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5B543#FFFFFF#000000##000000
##C5B5431.002.0910.0610.06
#FFFFFF2.091.0021.0021.00
#00000010.0621.001.001.00
##00000010.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B034
Deuteranopia (green-blind)
#CAB64A
Tritanopia (blue-blind)
#D4A99D
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #c5b543;
/* rgb */ color: rgb(197, 181, 67);
/* oklch */ color: oklch(76.6% 0.133 101.3);
Tailwind
colors: {
  custom: {
    50: '#daca7d',
    500: '#c5b543',
    950: '#000000',
  },
}
SCSS
$custom: #c5b543;
$custom-light: #daca7d;
$custom-dark: #000000;
JSON
{
  "hex": "#c5b543",
  "rgb": {
    "r": 197,
    "g": 181,
    "b": 67
  },
  "hsl": {
    "h": 52.615,
    "s": 52.846,
    "l": 51.765
  },
  "oklch": {
    "l": 0.76555,
    "c": 0.13339,
    "h": 101.3
  },
  "luminance": 0.45323
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C5B543

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

Preview Lab → · Contrast checker → · Palette generator →

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