#C4BB42#C4BB42

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

Color values

HEX#C4BB42
RGBrgb(196, 187, 66)
HSLhsl(56, 52%, 51%)
HSVhsv(56, 66%, 77%)
CMYKcmyk(0%, 4.6%, 66.3%, 23.1%)
CIE-LABlab(74.62, -11.21, 59.90)
CIE-LCHlch(74.62, 60.94, 100.60°)
OKLaboklab(77.73% -0.0363 0.1348)
OKLCHoklch(77.73% 0.14 105.1)
XYZxyz(41.5202, 47.6713, 12.1676)
Luminance0.4767 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4BB42 #424BC4
analogous
#C47A42 #C4BB42 #8CC442
triadic
#C4BB42 #42C4BB #BB42C4
tetradic
#C4BB42 #42C47A #424BC4 #C4428C
square
#C4BB42 #42C47A #424BC4 #C4428C
split-complementary
#C4BB42 #428CC4 #7A42C4
monochromatic
#6A6521 #999230 #C4BB42 #D3CC71 #E1DD9F

Accessibility & contrast

On white

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

On black

10.53
#C4BB42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4BB42
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4BB42#FFFFFF#000000##000000
##C4BB421.001.9910.5310.53
#FFFFFF1.991.0021.0021.00
#00000010.5321.001.001.00
##00000010.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB531
Deuteranopia (green-blind)
#CEBA4A
Tritanopia (blue-blind)
#D2AFA2
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #c4bb42;
/* rgb */ color: rgb(196, 187, 66);
/* oklch */ color: oklch(77.7% 0.140 105.1);
Tailwind
colors: {
  custom: {
    50: '#d9cf7d',
    500: '#c4bb42',
    950: '#000000',
  },
}
SCSS
$custom: #c4bb42;
$custom-light: #d9cf7d;
$custom-dark: #000000;
JSON
{
  "hex": "#c4bb42",
  "rgb": {
    "r": 196,
    "g": 187,
    "b": 66
  },
  "hsl": {
    "h": 55.846,
    "s": 52.419,
    "l": 51.373
  },
  "oklch": {
    "l": 0.77733,
    "c": 0.13961,
    "h": 105.1
  },
  "luminance": 0.4767
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C4BB42

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

Preview Lab → · Contrast checker → · Palette generator →

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