#C5BC42#C5BC42

#C5BC42 is a light, vivid yellow. Relative luminance 0.482; OKLCH L 78.0% C 0.140 H 105.1°. Best body text is #000000 at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#C5BC42
RGBrgb(197, 188, 66)
HSLhsl(56, 53%, 52%)
HSVhsv(56, 66%, 77%)
CMYKcmyk(0%, 4.6%, 66.5%, 22.7%)
CIE-LABlab(74.97, -11.29, 60.29)
CIE-LCHlch(74.97, 61.34, 100.61°)
OKLaboklab(78.04% -0.0366 0.1356)
OKLCHoklch(78.04% 0.14 105.1)
XYZxyz(41.9942, 48.2316, 12.2508)
Luminance0.4823 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5BC42 #424BC5
analogous
#C57B42 #C5BC42 #8DC542
triadic
#C5BC42 #42C5BC #BC42C5
tetradic
#C5BC42 #42C57B #424BC5 #C5428D
square
#C5BC42 #42C57B #424BC5 #C5428D
split-complementary
#C5BC42 #428DC5 #7B42C5
monochromatic
#6C6621 #9A932F #C5BC42 #D3CD71 #E2DDA0

Accessibility & contrast

On white

1.97
#C5BC42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.65
#C5BC42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5BC42
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5BC42#FFFFFF#000000##000000
##C5BC421.001.9710.6510.65
#FFFFFF1.971.0021.0021.00
#00000010.6521.001.001.00
##00000010.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB531
Deuteranopia (green-blind)
#CFBB4A
Tritanopia (blue-blind)
#D3B0A3
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #c5bc42;
/* rgb */ color: rgb(197, 188, 66);
/* oklch */ color: oklch(78.0% 0.140 105.1);
Tailwind
colors: {
  custom: {
    50: '#dacf7d',
    500: '#c5bc42',
    950: '#000000',
  },
}
SCSS
$custom: #c5bc42;
$custom-light: #dacf7d;
$custom-dark: #000000;
JSON
{
  "hex": "#c5bc42",
  "rgb": {
    "r": 197,
    "g": 188,
    "b": 66
  },
  "hsl": {
    "h": 55.878,
    "s": 53.036,
    "l": 51.569
  },
  "oklch": {
    "l": 0.78035,
    "c": 0.14046,
    "h": 105.1
  },
  "luminance": 0.4823
}

Semantic roles & 50–950 ramp

primary
#C5BC42
secondary
#9599CE
accent
#55DC4B
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C5BC42

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

Preview Lab → · Contrast checker → · Palette generator →

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