#CBCC52#CBCC52

#CBCC52 is a very light, vivid yellow. Relative luminance 0.565; OKLCH L 82.1% C 0.143 H 109.6°. Best body text is #000000 at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#CBCC52
RGBrgb(203, 204, 82)
HSLhsl(60, 54%, 56%)
HSVhsv(60, 60%, 80%)
CMYKcmyk(0.5%, 0%, 59.8%, 20%)
CIE-LABlab(79.89, -15.87, 58.99)
CIE-LCHlch(79.89, 61.08, 105.05°)
OKLaboklab(82.12% -0.0481 0.1351)
OKLCHoklch(82.12% 0.143 109.6)
XYZxyz(47.7459, 56.4927, 16.3701)
Luminance0.5649 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCC52 #5352CC
analogous
#CC9052 #CBCC52 #8ECC52
triadic
#CBCC52 #52CBCC #CC52CB
tetradic
#CBCC52 #52CC90 #5352CC #CC528E
square
#CBCC52 #52CC90 #5352CC #CC528E
split-complementary
#CBCC52 #528ECC #9052CC
monochromatic
#7E7E25 #ADAE33 #CBCC52 #D9DA81 #E7E8B1

Accessibility & contrast

On white

1.71
#CBCC52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.30
#CBCC52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBCC52
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBCC52#FFFFFF#000000##000000
##CBCC521.001.7112.3012.30
#FFFFFF1.711.0021.0021.00
#00000012.3021.001.001.00
##00000012.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC444
Deuteranopia (green-blind)
#DDC859
Tritanopia (blue-blind)
#D8C0B2
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cbcc52;
/* rgb */ color: rgb(203, 204, 82);
/* oklch */ color: oklch(82.1% 0.143 109.6);
Tailwind
colors: {
  custom: {
    50: '#dedb88',
    500: '#cbcc52',
    950: '#000000',
  },
}
SCSS
$custom: #cbcc52;
$custom-light: #dedb88;
$custom-dark: #000000;
JSON
{
  "hex": "#cbcc52",
  "rgb": {
    "r": 203,
    "g": 204,
    "b": 82
  },
  "hsl": {
    "h": 60.492,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.82119,
    "c": 0.14338,
    "h": 109.6
  },
  "luminance": 0.56491
}

Semantic roles & 50–950 ramp

primary
#CBCC52
secondary
#3D3C86
accent
#4ADE4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CBCC52

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

Preview Lab → · Contrast checker → · Palette generator →

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