#CBCC57#CBCC57

#CBCC57 is a very light, vivid yellow. Relative luminance 0.566; OKLCH L 82.2% C 0.139 H 109.6°. Best body text is #000000 at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#CBCC57
RGBrgb(203, 204, 87)
HSLhsl(61, 53%, 57%)
HSVhsv(61, 57%, 80%)
CMYKcmyk(0.5%, 0%, 57.4%, 20%)
CIE-LABlab(79.94, -15.51, 56.86)
CIE-LCHlch(79.94, 58.94, 105.26°)
OKLaboklab(82.17% -0.0466 0.1312)
OKLCHoklch(82.17% 0.139 109.6)
XYZxyz(47.9431, 56.5716, 17.4089)
Luminance0.5657 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCC57 #5857CC
analogous
#CC9357 #CBCC57 #91CC57
triadic
#CBCC57 #57CBCC #CC57CB
tetradic
#CBCC57 #57CC93 #5857CC #CC5791
square
#CBCC57 #57CC93 #5857CC #CC5791
split-complementary
#CBCC57 #5791CC #9357CC
monochromatic
#818127 #AFB036 #CBCC57 #DADA86 #E8E9B5

Accessibility & contrast

On white

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

On black

12.31
#CBCC57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBCC57
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBCC57#FFFFFF#000000##000000
##CBCC571.001.7112.3112.31
#FFFFFF1.711.0021.0021.00
#00000012.3121.001.001.00
##00000012.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC44A
Deuteranopia (green-blind)
#DCC85E
Tritanopia (blue-blind)
#D8C0B3
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cbcc57;
/* rgb */ color: rgb(203, 204, 87);
/* oklch */ color: oklch(82.2% 0.139 109.6);
Tailwind
colors: {
  custom: {
    50: '#dddb8b',
    500: '#cbcc57',
    950: '#000000',
  },
}
SCSS
$custom: #cbcc57;
$custom-light: #dddb8b;
$custom-dark: #000000;
JSON
{
  "hex": "#cbcc57",
  "rgb": {
    "r": 203,
    "g": 204,
    "b": 87
  },
  "hsl": {
    "h": 60.513,
    "s": 53.425,
    "l": 57.059
  },
  "oklch": {
    "l": 0.82169,
    "c": 0.13921,
    "h": 109.6
  },
  "luminance": 0.5657
}

Semantic roles & 50–950 ramp

primary
#CBCC57
secondary
#3F3E89
accent
#4BDD4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CBCC57

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

Preview Lab → · Contrast checker → · Palette generator →

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