#CBCC54#CBCC54

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

Color values

HEX#CBCC54
RGBrgb(203, 204, 84)
HSLhsl(61, 54%, 56%)
HSVhsv(61, 59%, 80%)
CMYKcmyk(0.5%, 0%, 58.8%, 20%)
CIE-LABlab(79.91, -15.73, 58.14)
CIE-LCHlch(79.91, 60.23, 105.14°)
OKLaboklab(82.14% -0.0475 0.1335)
OKLCHoklch(82.14% 0.142 109.6)
XYZxyz(47.8231, 56.5236, 16.7767)
Luminance0.5652 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCC54 #5554CC
analogous
#CC9154 #CBCC54 #8FCC54
triadic
#CBCC54 #54CBCC #CC54CB
tetradic
#CBCC54 #54CC91 #5554CC #CC548F
square
#CBCC54 #54CC91 #5554CC #CC548F
split-complementary
#CBCC54 #548FCC #9154CC
monochromatic
#7F8026 #AEAF34 #CBCC54 #D9DA83 #E8E8B2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBCC54#FFFFFF#000000##000000
##CBCC541.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)
#DBC446
Deuteranopia (green-blind)
#DCC85B
Tritanopia (blue-blind)
#D8C0B2
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cbcc54;
/* rgb */ color: rgb(203, 204, 84);
/* oklch */ color: oklch(82.1% 0.142 109.6);
Tailwind
colors: {
  custom: {
    50: '#dddb89',
    500: '#cbcc54',
    950: '#000000',
  },
}
SCSS
$custom: #cbcc54;
$custom-light: #dddb89;
$custom-dark: #000000;
JSON
{
  "hex": "#cbcc54",
  "rgb": {
    "r": 203,
    "g": 204,
    "b": 84
  },
  "hsl": {
    "h": 60.5,
    "s": 54.054,
    "l": 56.471
  },
  "oklch": {
    "l": 0.82138,
    "c": 0.14173,
    "h": 109.6
  },
  "luminance": 0.56522
}

Semantic roles & 50–950 ramp

primary
#CBCC54
secondary
#3E3D87
accent
#4ADD4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CBCC54

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

Preview Lab → · Contrast checker → · Palette generator →

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