#C4BB40#C4BB40

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

Color values

HEX#C4BB40
RGBrgb(196, 187, 64)
HSLhsl(56, 53%, 51%)
HSVhsv(56, 67%, 77%)
CMYKcmyk(0%, 4.6%, 67.3%, 23.1%)
CIE-LABlab(74.60, -11.32, 60.69)
CIE-LCHlch(74.60, 61.74, 100.57°)
OKLaboklab(77.72% -0.0368 0.1362)
OKLCHoklch(77.72% 0.141 105.1)
XYZxyz(41.4623, 47.6481, 11.8625)
Luminance0.4765 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4BB40 #4049C4
analogous
#C47940 #C4BB40 #8BC440
triadic
#C4BB40 #40C4BB #BB40C4
tetradic
#C4BB40 #40C479 #4049C4 #C4408B
square
#C4BB40 #40C479 #4049C4 #C4408B
split-complementary
#C4BB40 #408BC4 #7940C4
monochromatic
#696420 #98912F #C4BB40 #D2CC6F #E1DC9E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C4BB40#FFFFFF#000000##000000
##C4BB401.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)
#CBB42F
Deuteranopia (green-blind)
#CEBA48
Tritanopia (blue-blind)
#D2AFA2
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #c4bb40;
/* rgb */ color: rgb(196, 187, 64);
/* oklch */ color: oklch(77.7% 0.141 105.1);
Tailwind
colors: {
  custom: {
    50: '#d9cf7c',
    500: '#c4bb40',
    950: '#000000',
  },
}
SCSS
$custom: #c4bb40;
$custom-light: #d9cf7c;
$custom-dark: #000000;
JSON
{
  "hex": "#c4bb40",
  "rgb": {
    "r": 196,
    "g": 187,
    "b": 64
  },
  "hsl": {
    "h": 55.909,
    "s": 52.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.77717,
    "c": 0.14104,
    "h": 105.1
  },
  "luminance": 0.47647
}

Semantic roles & 50–950 ramp

primary
#C4BB40
secondary
#9397CD
accent
#55DC4C
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C4BB40

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

Preview Lab → · Contrast checker → · Palette generator →

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