#CBCB59#CBCB59

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

Color values

HEX#CBCB59
RGBrgb(203, 203, 89)
HSLhsl(60, 52%, 57%)
HSVhsv(60, 56%, 80%)
CMYKcmyk(0%, 0%, 56.2%, 20.4%)
CIE-LABlab(79.69, -14.86, 55.69)
CIE-LCHlch(79.69, 57.64, 104.94°)
OKLaboklab(81.98% -0.0446 0.1289)
OKLCHoklch(81.98% 0.136 109.1)
XYZxyz(47.7890, 56.1309, 17.7662)
Luminance0.5613 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCB59 #5959CB
analogous
#CB9259 #CBCB59 #92CB59
triadic
#CBCB59 #59CBCB #CB59CB
tetradic
#CBCB59 #59CB92 #5959CB #CB5992
square
#CBCB59 #59CB92 #5959CB #CB5992
split-complementary
#CBCB59 #5992CB #9259CB
monochromatic
#818128 #B0B037 #CBCB59 #DADA88 #E8E8B6

Accessibility & contrast

On white

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

On black

12.23
#CBCB59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBCB59
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBCB59#FFFFFF#000000##000000
##CBCB591.001.7212.2312.23
#FFFFFF1.721.0021.0021.00
#00000012.2321.001.001.00
##00000012.2321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cbcb59;
/* rgb */ color: rgb(203, 203, 89);
/* oklch */ color: oklch(82.0% 0.136 109.1);
Tailwind
colors: {
  custom: {
    50: '#ddda8c',
    500: '#cbcb59',
    950: '#000000',
  },
}
SCSS
$custom: #cbcb59;
$custom-light: #ddda8c;
$custom-dark: #000000;
JSON
{
  "hex": "#cbcb59",
  "rgb": {
    "r": 203,
    "g": 203,
    "b": 89
  },
  "hsl": {
    "h": 60,
    "s": 52.294,
    "l": 57.255
  },
  "oklch": {
    "l": 0.81976,
    "c": 0.1364,
    "h": 109.1
  },
  "luminance": 0.5613
}

Semantic roles & 50–950 ramp

primary
#CBCB59
secondary
#3F3F89
accent
#4CDC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CBCB59

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

Preview Lab → · Contrast checker → · Palette generator →

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