#C4BC2A#C4BC2A

#C4BC2A is a light, vivid yellow. Relative luminance 0.479; OKLCH L 77.8% C 0.155 H 106.2°. Best body text is #000000 at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#C4BC2A
RGBrgb(196, 188, 42)
HSLhsl(57, 65%, 47%)
HSVhsv(57, 79%, 77%)
CMYKcmyk(0%, 4.1%, 78.6%, 23.1%)
CIE-LABlab(74.74, -12.83, 68.50)
CIE-LCHlch(74.74, 69.69, 100.61°)
OKLaboklab(77.79% -0.0431 0.1487)
OKLCHoklch(77.79% 0.155 106.2)
XYZxyz(41.1679, 47.8709, 9.2615)
Luminance0.4787 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4BC2A #2A32C4
analogous
#C46F2A #C4BC2A #7FC42A
triadic
#C4BC2A #2AC4BC #BC2AC4
tetradic
#C4BC2A #2AC46F #2A32C4 #C42A7F
square
#C4BC2A #2AC46F #2A32C4 #C42A7F
split-complementary
#C4BC2A #2A7FC4 #6F2AC4
monochromatic
#5F5B14 #928C1F #C4BC2A #DAD351 #E5E084

Accessibility & contrast

On white

1.99
#C4BC2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.57
#C4BC2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4BC2A
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4BC2A#FFFFFF#000000##000000
##C4BC2A1.001.9910.5710.57
#FFFFFF1.991.0021.0021.00
#00000010.5721.001.001.00
##00000010.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB500
Deuteranopia (green-blind)
#D0BA36
Tritanopia (blue-blind)
#D3AFA1
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #c4bc2a;
/* rgb */ color: rgb(196, 188, 42);
/* oklch */ color: oklch(77.8% 0.155 106.2);
Tailwind
colors: {
  custom: {
    50: '#dacf71',
    500: '#c4bc2a',
    950: '#000000',
  },
}
SCSS
$custom: #c4bc2a;
$custom-light: #dacf71;
$custom-dark: #000000;
JSON
{
  "hex": "#c4bc2a",
  "rgb": {
    "r": 196,
    "g": 188,
    "b": 42
  },
  "hsl": {
    "h": 56.883,
    "s": 64.706,
    "l": 46.667
  },
  "oklch": {
    "l": 0.77788,
    "c": 0.15487,
    "h": 106.2
  },
  "luminance": 0.47869
}

Semantic roles & 50–950 ramp

primary
#C4BC2A
secondary
#7C80CE
accent
#49E840
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151308
muted
#83827B

Preview Lab

Preview with #C4BC2A

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

Preview Lab → · Contrast checker → · Palette generator →

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