#C4BC42#C4BC42

#C4BC42 is a light, vivid yellow. Relative luminance 0.481; OKLCH L 77.9% C 0.141 H 105.6°. Best body text is #000000 at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#C4BC42
RGBrgb(196, 188, 66)
HSLhsl(56, 52%, 51%)
HSVhsv(56, 66%, 77%)
CMYKcmyk(0%, 4.1%, 66.3%, 23.1%)
CIE-LABlab(74.89, -11.72, 60.18)
CIE-LCHlch(74.89, 61.31, 101.02°)
OKLaboklab(77.95% -0.0377 0.1354)
OKLCHoklch(77.95% 0.141 105.6)
XYZxyz(41.7331, 48.0970, 12.2385)
Luminance0.4810 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4BC42 #424AC4
analogous
#C47B42 #C4BC42 #8BC442
triadic
#C4BC42 #42C4BC #BC42C4
tetradic
#C4BC42 #42C47B #424AC4 #C4428B
square
#C4BC42 #42C47B #424AC4 #C4428B
split-complementary
#C4BC42 #428BC4 #7B42C4
monochromatic
#6A6621 #999330 #C4BC42 #D3CD71 #E1DD9F

Accessibility & contrast

On white

1.98
#C4BC42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.62
#C4BC42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4BC42
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4BC42#FFFFFF#000000##000000
##C4BC421.001.9810.6210.62
#FFFFFF1.981.0021.0021.00
#00000010.6221.001.001.00
##00000010.6221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c4bc42;
/* rgb */ color: rgb(196, 188, 66);
/* oklch */ color: oklch(77.9% 0.141 105.6);
Tailwind
colors: {
  custom: {
    50: '#d9cf7d',
    500: '#c4bc42',
    950: '#000000',
  },
}
SCSS
$custom: #c4bc42;
$custom-light: #d9cf7d;
$custom-dark: #000000;
JSON
{
  "hex": "#c4bc42",
  "rgb": {
    "r": 196,
    "g": 188,
    "b": 66
  },
  "hsl": {
    "h": 56.308,
    "s": 52.419,
    "l": 51.373
  },
  "oklch": {
    "l": 0.77947,
    "c": 0.14056,
    "h": 105.6
  },
  "luminance": 0.48096
}

Semantic roles & 50–950 ramp

primary
#C4BC42
secondary
#9498CE
accent
#55DC4C
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C4BC42

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

Preview Lab → · Contrast checker → · Palette generator →

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