#C4B552#C4B552

#C4B552 is a light, vivid yellow. Relative luminance 0.454; OKLCH L 76.6% C 0.121 H 100.8°. Best body text is #000000 at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#C4B552
RGBrgb(196, 181, 82)
HSLhsl(52, 49%, 55%)
HSVhsv(52, 58%, 77%)
CMYKcmyk(0%, 7.7%, 58.2%, 23.1%)
CIE-LABlab(73.15, -7.05, 51.36)
CIE-LCHlch(73.15, 51.84, 97.82°)
OKLaboklab(76.61% -0.0226 0.119)
OKLCHoklch(76.61% 0.121 100.8)
XYZxyz(40.8133, 45.3943, 14.5931)
Luminance0.4539 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4B552 #5261C4
analogous
#C47C52 #C4B552 #9AC452
triadic
#C4B552 #52C4B5 #B552C4
tetradic
#C4B552 #52C47C #5261C4 #C4529A
square
#C4B552 #52C47C #5261C4 #C4529A
split-complementary
#C4B552 #529AC4 #7C52C4
monochromatic
#746A28 #A29437 #C4B552 #D4C980 #E3DCAD

Accessibility & contrast

On white

2.08
#C4B552 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.08
#C4B552 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4B552
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4B552#FFFFFF#000000##000000
##C4B5521.002.0810.0810.08
#FFFFFF2.081.0021.0021.00
#00000010.0821.001.001.00
##00000010.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B048
Deuteranopia (green-blind)
#C9B657
Tritanopia (blue-blind)
#D2A99F
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #c4b552;
/* rgb */ color: rgb(196, 181, 82);
/* oklch */ color: oklch(76.6% 0.121 100.8);
Tailwind
colors: {
  custom: {
    50: '#d8ca86',
    500: '#c4b552',
    950: '#000000',
  },
}
SCSS
$custom: #c4b552;
$custom-light: #d8ca86;
$custom-dark: #000000;
JSON
{
  "hex": "#c4b552",
  "rgb": {
    "r": 196,
    "g": 181,
    "b": 82
  },
  "hsl": {
    "h": 52.105,
    "s": 49.138,
    "l": 54.51
  },
  "oklch": {
    "l": 0.76612,
    "c": 0.12109,
    "h": 100.8
  },
  "luminance": 0.45393
}

Semantic roles & 50–950 ramp

primary
#C4B552
secondary
#A1A7D1
accent
#61D94F
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130B
muted
#83827C

Preview Lab

Preview with #C4B552

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

Preview Lab → · Contrast checker → · Palette generator →

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