#C4BC31#C4BC31

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

Color values

HEX#C4BC31
RGBrgb(196, 188, 49)
HSLhsl(57, 60%, 48%)
HSVhsv(57, 75%, 77%)
CMYKcmyk(0%, 4.1%, 75%, 23.1%)
CIE-LABlab(74.78, -12.56, 66.34)
CIE-LCHlch(74.78, 67.52, 100.72°)
OKLaboklab(77.83% -0.0418 0.1454)
OKLCHoklch(77.83% 0.151 106)
XYZxyz(41.3043, 47.9255, 9.9800)
Luminance0.4792 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4BC31 #3139C4
analogous
#C47331 #C4BC31 #82C431
triadic
#C4BC31 #31C4BC #BC31C4
tetradic
#C4BC31 #31C473 #3139C4 #C43182
square
#C4BC31 #31C473 #3139C4 #C43182
split-complementary
#C4BC31 #3182C4 #7331C4
monochromatic
#625E19 #938D25 #C4BC31 #D6D05C #E2DE8D

Accessibility & contrast

On white

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

On black

10.58
#C4BC31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4BC31
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4BC31#FFFFFF#000000##000000
##C4BC311.001.9810.5810.58
#FFFFFF1.981.0021.0021.00
#00000010.5821.001.001.00
##00000010.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB512
Deuteranopia (green-blind)
#D0BB3C
Tritanopia (blue-blind)
#D3AFA2
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #c4bc31;
/* rgb */ color: rgb(196, 188, 49);
/* oklch */ color: oklch(77.8% 0.151 106.0);
Tailwind
colors: {
  custom: {
    50: '#dacf74',
    500: '#c4bc31',
    950: '#000000',
  },
}
SCSS
$custom: #c4bc31;
$custom-light: #dacf74;
$custom-dark: #000000;
JSON
{
  "hex": "#c4bc31",
  "rgb": {
    "r": 196,
    "g": 188,
    "b": 49
  },
  "hsl": {
    "h": 56.735,
    "s": 60,
    "l": 48.039
  },
  "oklch": {
    "l": 0.77826,
    "c": 0.15132,
    "h": 106
  },
  "luminance": 0.47924
}

Semantic roles & 50–950 ramp

primary
#C4BC31
secondary
#8488CD
accent
#4DE345
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C4BC31

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

Preview Lab → · Contrast checker → · Palette generator →

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