#C4CB52#C4CB52

#C4CB52 is a light, vivid yellow. Relative luminance 0.551; OKLCH L 81.3% C 0.144 H 112.3°. Best body text is #000000 at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#C4CB52
RGBrgb(196, 203, 82)
HSLhsl(63, 54%, 56%)
HSVhsv(63, 60%, 80%)
CMYKcmyk(3.4%, 0%, 59.6%, 20.4%)
CIE-LABlab(79.07, -18.25, 57.94)
CIE-LCHlch(79.07, 60.74, 107.49°)
OKLaboklab(81.33% -0.0545 0.133)
OKLCHoklch(81.33% 0.144 112.3)
XYZxyz(45.6450, 55.0578, 16.2037)
Luminance0.5506 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4CB52 #5952CB
analogous
#CB9552 #C4CB52 #87CB52
triadic
#C4CB52 #52C4CB #CB52C4
tetradic
#C4CB52 #52CB95 #5952CB #CB5287
square
#C4CB52 #52CB95 #5952CB #CB5287
split-complementary
#C4CB52 #5287CB #9552CB
monochromatic
#787D26 #A5AC34 #C4CB52 #D4D981 #E4E7B0

Accessibility & contrast

On white

1.75
#C4CB52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.01
#C4CB52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4CB52
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4CB52#FFFFFF#000000##000000
##C4CB521.001.7512.0112.01
#FFFFFF1.751.0021.0021.00
#00000012.0121.001.001.00
##00000012.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C244
Deuteranopia (green-blind)
#DAC559
Tritanopia (blue-blind)
#D0C0B1
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c4cb52;
/* rgb */ color: rgb(196, 203, 82);
/* oklch */ color: oklch(81.3% 0.144 112.3);
Tailwind
colors: {
  custom: {
    50: '#d8da87',
    500: '#c4cb52',
    950: '#000000',
  },
}
SCSS
$custom: #c4cb52;
$custom-light: #d8da87;
$custom-dark: #000000;
JSON
{
  "hex": "#c4cb52",
  "rgb": {
    "r": 196,
    "g": 203,
    "b": 82
  },
  "hsl": {
    "h": 63.471,
    "s": 53.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.8133,
    "c": 0.1437,
    "h": 112.3
  },
  "luminance": 0.55057
}

Semantic roles & 50–950 ramp

primary
#C4CB52
secondary
#403C85
accent
#4BDD53
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #C4CB52

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

Preview Lab → · Contrast checker → · Palette generator →

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