#C4BC27#C4BC27

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

Color values

HEX#C4BC27
RGBrgb(196, 188, 39)
HSLhsl(57, 67%, 46%)
HSVhsv(57, 80%, 77%)
CMYKcmyk(0%, 4.1%, 80.1%, 23.1%)
CIE-LABlab(74.73, -12.93, 69.34)
CIE-LCHlch(74.73, 70.54, 100.56°)
OKLaboklab(77.77% -0.0437 0.15)
OKLCHoklch(77.77% 0.156 106.2)
XYZxyz(41.1162, 47.8503, 8.9893)
Luminance0.4785 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4BC27 #272FC4
analogous
#C46D27 #C4BC27 #7DC427
triadic
#C4BC27 #27C4BC #BC27C4
tetradic
#C4BC27 #27C46D #272FC4 #C4277D
square
#C4BC27 #27C46D #272FC4 #C4277D
split-complementary
#C4BC27 #277DC4 #6D27C4
monochromatic
#5E5A13 #918B1D #C4BC27 #DCD44D #E6E080

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C4BC27#FFFFFF#000000##000000
##C4BC271.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)
#D0BA34
Tritanopia (blue-blind)
#D3AFA1
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #c4bc27;
/* rgb */ color: rgb(196, 188, 39);
/* oklch */ color: oklch(77.8% 0.156 106.2);
Tailwind
colors: {
  custom: {
    50: '#dacf70',
    500: '#c4bc27',
    950: '#000000',
  },
}
SCSS
$custom: #c4bc27;
$custom-light: #dacf70;
$custom-dark: #000000;
JSON
{
  "hex": "#c4bc27",
  "rgb": {
    "r": 196,
    "g": 188,
    "b": 39
  },
  "hsl": {
    "h": 56.943,
    "s": 66.809,
    "l": 46.078
  },
  "oklch": {
    "l": 0.77773,
    "c": 0.15623,
    "h": 106.2
  },
  "luminance": 0.47849
}

Semantic roles & 50–950 ramp

primary
#C4BC27
secondary
#797DCE
accent
#47EA3E
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151308
muted
#83827B

Preview Lab

Preview with #C4BC27

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

Preview Lab → · Contrast checker → · Palette generator →

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