#C4BB23#C4BB23

#C4BB23 is a light, vivid yellow. Relative luminance 0.474; OKLCH L 77.5% C 0.157 H 105.8°. Best body text is #000000 at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#C4BB23
RGBrgb(196, 187, 35)
HSLhsl(57, 70%, 45%)
HSVhsv(57, 82%, 77%)
CMYKcmyk(0%, 4.6%, 82.1%, 23.1%)
CIE-LABlab(74.44, -12.55, 70.17)
CIE-LCHlch(74.44, 71.28, 100.14°)
OKLaboklab(77.54% -0.0429 0.1511)
OKLCHoklch(77.54% 0.157 105.8)
XYZxyz(40.8405, 47.3994, 8.5875)
Luminance0.4740 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4BB23 #232CC4
analogous
#C46A23 #C4BB23 #7CC423
triadic
#C4BB23 #23C4BB #BB23C4
tetradic
#C4BB23 #23C46A #232CC4 #C4237C
square
#C4BB23 #23C46A #232CC4 #C4237C
split-complementary
#C4BB23 #237CC4 #6A23C4
monochromatic
#5C5810 #90891A #C4BB23 #DED646 #E7E17A

Accessibility & contrast

On white

2.00
#C4BB23 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.48
#C4BB23 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4BB23
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4BB23#FFFFFF#000000##000000
##C4BB231.002.0010.4810.48
#FFFFFF2.001.0021.0021.00
#00000010.4821.001.001.00
##00000010.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB400
Deuteranopia (green-blind)
#CFBA31
Tritanopia (blue-blind)
#D3AEA0
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #c4bb23;
/* rgb */ color: rgb(196, 187, 35);
/* oklch */ color: oklch(77.5% 0.157 105.8);
Tailwind
colors: {
  custom: {
    50: '#dacf6e',
    500: '#c4bb23',
    950: '#000000',
  },
}
SCSS
$custom: #c4bb23;
$custom-light: #dacf6e;
$custom-dark: #000000;
JSON
{
  "hex": "#c4bb23",
  "rgb": {
    "r": 196,
    "g": 187,
    "b": 35
  },
  "hsl": {
    "h": 56.646,
    "s": 69.697,
    "l": 45.294
  },
  "oklch": {
    "l": 0.77541,
    "c": 0.15703,
    "h": 105.8
  },
  "luminance": 0.47398
}

Semantic roles & 50–950 ramp

primary
#C4BB23
secondary
#7479CF
accent
#45ED3B
background
#FEFCF7
surface
#FCF9ED
border
#D5D2C8
text
#151308
muted
#84827B

Preview Lab

Preview with #C4BB23

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

Preview Lab → · Contrast checker → · Palette generator →

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