#CBCB56#CBCB56

#CBCB56 is a light, vivid yellow. Relative luminance 0.561; OKLCH L 81.9% C 0.139 H 109.1°. Best body text is #000000 at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#CBCB56
RGBrgb(203, 203, 86)
HSLhsl(60, 53%, 57%)
HSVhsv(60, 58%, 80%)
CMYKcmyk(0%, 0%, 57.6%, 20.4%)
CIE-LABlab(79.66, -15.08, 56.99)
CIE-LCHlch(79.66, 58.95, 104.82°)
OKLaboklab(81.94% -0.0455 0.1313)
OKLCHoklch(81.94% 0.139 109.1)
XYZxyz(47.6656, 56.0815, 17.1162)
Luminance0.5608 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCB56 #5656CB
analogous
#CB9156 #CBCB56 #91CB56
triadic
#CBCB56 #56CBCB #CB56CB
tetradic
#CBCB56 #56CB91 #5656CB #CB5691
square
#CBCB56 #56CB91 #5656CB #CB5691
split-complementary
#CBCB56 #5691CB #9156CB
monochromatic
#7F7F27 #AEAE36 #CBCB56 #D9D985 #E8E8B4

Accessibility & contrast

On white

1.72
#CBCB56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.22
#CBCB56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBCB56
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBCB56#FFFFFF#000000##000000
##CBCB561.001.7212.2212.22
#FFFFFF1.721.0021.0021.00
#00000012.2221.001.001.00
##00000012.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC349
Deuteranopia (green-blind)
#DCC75D
Tritanopia (blue-blind)
#D8BFB2
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cbcb56;
/* rgb */ color: rgb(203, 203, 86);
/* oklch */ color: oklch(81.9% 0.139 109.1);
Tailwind
colors: {
  custom: {
    50: '#ddda8a',
    500: '#cbcb56',
    950: '#000000',
  },
}
SCSS
$custom: #cbcb56;
$custom-light: #ddda8a;
$custom-dark: #000000;
JSON
{
  "hex": "#cbcb56",
  "rgb": {
    "r": 203,
    "g": 203,
    "b": 86
  },
  "hsl": {
    "h": 60,
    "s": 52.941,
    "l": 56.667
  },
  "oklch": {
    "l": 0.81944,
    "c": 0.13899,
    "h": 109.1
  },
  "luminance": 0.5608
}

Semantic roles & 50–950 ramp

primary
#CBCB56
secondary
#3E3E87
accent
#4BDC4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CBCB56

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

Preview Lab → · Contrast checker → · Palette generator →

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