#CBCC51#CBCC51

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

Color values

HEX#CBCC51
RGBrgb(203, 204, 81)
HSLhsl(60, 55%, 56%)
HSVhsv(60, 60%, 80%)
CMYKcmyk(0.5%, 0%, 60.3%, 20%)
CIE-LABlab(79.88, -15.93, 59.40)
CIE-LCHlch(79.88, 61.50, 105.01°)
OKLaboklab(82.11% -0.0484 0.1358)
OKLCHoklch(82.11% 0.144 109.6)
XYZxyz(47.7081, 56.4776, 16.1711)
Luminance0.5648 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCC51 #5251CC
analogous
#CC8F51 #CBCC51 #8DCC51
triadic
#CBCC51 #51CBCC #CC51CB
tetradic
#CBCC51 #51CC8F #5251CC #CC518D
square
#CBCC51 #51CC8F #5251CC #CC518D
split-complementary
#CBCC51 #518DCC #8F51CC
monochromatic
#7D7E25 #ACAD33 #CBCC51 #D9DA80 #E7E8B0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBCC51#FFFFFF#000000##000000
##CBCC511.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)
#DBC442
Deuteranopia (green-blind)
#DDC858
Tritanopia (blue-blind)
#D8C0B2
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cbcc51;
/* rgb */ color: rgb(203, 204, 81);
/* oklch */ color: oklch(82.1% 0.144 109.6);
Tailwind
colors: {
  custom: {
    50: '#dedb87',
    500: '#cbcc51',
    950: '#000000',
  },
}
SCSS
$custom: #cbcc51;
$custom-light: #dedb87;
$custom-dark: #000000;
JSON
{
  "hex": "#cbcc51",
  "rgb": {
    "r": 203,
    "g": 204,
    "b": 81
  },
  "hsl": {
    "h": 60.488,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.82109,
    "c": 0.14418,
    "h": 109.6
  },
  "luminance": 0.56476
}

Semantic roles & 50–950 ramp

primary
#CBCC51
secondary
#3C3C86
accent
#4ADE4B
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#15140C
muted
#84837F

Preview Lab

Preview with #CBCC51

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

Preview Lab → · Contrast checker → · Palette generator →

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