#C5B642#C5B642

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

Color values

HEX#C5B642
RGBrgb(197, 182, 66)
HSLhsl(53, 53%, 52%)
HSVhsv(53, 66%, 77%)
CMYKcmyk(0%, 7.6%, 66.5%, 22.7%)
CIE-LABlab(73.36, -8.20, 58.64)
CIE-LCHlch(73.36, 59.21, 97.96°)
OKLaboklab(76.76% -0.0278 0.1321)
OKLCHoklch(76.76% 0.135 101.9)
XYZxyz(40.7390, 45.7213, 11.8324)
Luminance0.4572 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5B642 #4251C5
analogous
#C57542 #C5B642 #93C542
triadic
#C5B642 #42C5B6 #B642C5
tetradic
#C5B642 #42C575 #4251C5 #C54293
square
#C5B642 #42C575 #4251C5 #C54293
split-complementary
#C5B642 #4293C5 #7542C5
monochromatic
#6C6321 #9A8E2F #C5B642 #D3C871 #E2DAA0

Accessibility & contrast

On white

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

On black

10.14
#C5B642 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5B642
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5B642#FFFFFF#000000##000000
##C5B6421.002.0710.1410.14
#FFFFFF2.071.0021.0021.00
#00000010.1421.001.001.00
##00000010.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B133
Deuteranopia (green-blind)
#CBB749
Tritanopia (blue-blind)
#D4AA9E
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #c5b642;
/* rgb */ color: rgb(197, 182, 66);
/* oklch */ color: oklch(76.8% 0.135 101.9);
Tailwind
colors: {
  custom: {
    50: '#dacb7c',
    500: '#c5b642',
    950: '#000000',
  },
}
SCSS
$custom: #c5b642;
$custom-light: #dacb7c;
$custom-dark: #000000;
JSON
{
  "hex": "#c5b642",
  "rgb": {
    "r": 197,
    "g": 182,
    "b": 66
  },
  "hsl": {
    "h": 53.13,
    "s": 53.036,
    "l": 51.569
  },
  "oklch": {
    "l": 0.76758,
    "c": 0.13501,
    "h": 101.9
  },
  "luminance": 0.4572
}

Semantic roles & 50–950 ramp

primary
#C5B642
secondary
#959BCE
accent
#5CDC4B
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C5B642

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

Preview Lab → · Contrast checker → · Palette generator →

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