#C5B643#C5B643

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

Color values

HEX#C5B643
RGBrgb(197, 182, 67)
HSLhsl(53, 53%, 52%)
HSVhsv(53, 66%, 77%)
CMYKcmyk(0%, 7.6%, 66%, 22.7%)
CIE-LABlab(73.37, -8.15, 58.23)
CIE-LCHlch(73.37, 58.80, 97.96°)
OKLaboklab(76.77% -0.0275 0.1314)
OKLCHoklch(76.77% 0.134 101.8)
XYZxyz(40.7687, 45.7332, 11.9890)
Luminance0.4573 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5B643 #4352C5
analogous
#C57543 #C5B643 #93C543
triadic
#C5B643 #43C5B6 #B643C5
tetradic
#C5B643 #43C575 #4352C5 #C54393
square
#C5B643 #43C575 #4352C5 #C54393
split-complementary
#C5B643 #4393C5 #7543C5
monochromatic
#6C6421 #9B8F30 #C5B643 #D3C872 #E2DAA1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5B643#FFFFFF#000000##000000
##C5B6431.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)
#C6B134
Deuteranopia (green-blind)
#CBB74A
Tritanopia (blue-blind)
#D4AA9E
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #c5b643;
/* rgb */ color: rgb(197, 182, 67);
/* oklch */ color: oklch(76.8% 0.134 101.8);
Tailwind
colors: {
  custom: {
    50: '#dacb7d',
    500: '#c5b643',
    950: '#000000',
  },
}
SCSS
$custom: #c5b643;
$custom-light: #dacb7d;
$custom-dark: #000000;
JSON
{
  "hex": "#c5b643",
  "rgb": {
    "r": 197,
    "g": 182,
    "b": 67
  },
  "hsl": {
    "h": 53.077,
    "s": 52.846,
    "l": 51.765
  },
  "oklch": {
    "l": 0.76766,
    "c": 0.13426,
    "h": 101.8
  },
  "luminance": 0.45731
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C5B643

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

Preview Lab → · Contrast checker → · Palette generator →

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