#CBCB50#CBCB50

#CBCB50 is a light, vivid yellow. Relative luminance 0.560; OKLCH L 81.9% C 0.144 H 109.2°. Best body text is #000000 at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#CBCB50
RGBrgb(203, 203, 80)
HSLhsl(60, 54%, 55%)
HSVhsv(60, 61%, 80%)
CMYKcmyk(0%, 0%, 60.6%, 20.4%)
CIE-LABlab(79.61, -15.50, 59.53)
CIE-LCHlch(79.61, 61.51, 104.59°)
OKLaboklab(81.88% -0.0473 0.1359)
OKLCHoklch(81.88% 0.144 109.2)
XYZxyz(47.4339, 55.9889, 15.8961)
Luminance0.5599 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCB50 #5050CB
analogous
#CB8D50 #CBCB50 #8DCB50
triadic
#CBCB50 #50CBCB #CB50CB
tetradic
#CBCB50 #50CB8D #5050CB #CB508D
square
#CBCB50 #50CB8D #5050CB #CB508D
split-complementary
#CBCB50 #508DCB #8D50CB
monochromatic
#7C7C25 #ABAB33 #CBCB50 #D9D97F #E7E7AE

Accessibility & contrast

On white

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

On black

12.20
#CBCB50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBCB50
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBCB50#FFFFFF#000000##000000
##CBCB501.001.7212.2012.20
#FFFFFF1.721.0021.0021.00
#00000012.2021.001.001.00
##00000012.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC341
Deuteranopia (green-blind)
#DCC757
Tritanopia (blue-blind)
#D8BFB1
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cbcb50;
/* rgb */ color: rgb(203, 203, 80);
/* oklch */ color: oklch(81.9% 0.144 109.2);
Tailwind
colors: {
  custom: {
    50: '#deda86',
    500: '#cbcb50',
    950: '#000000',
  },
}
SCSS
$custom: #cbcb50;
$custom-light: #deda86;
$custom-dark: #000000;
JSON
{
  "hex": "#cbcb50",
  "rgb": {
    "r": 203,
    "g": 203,
    "b": 80
  },
  "hsl": {
    "h": 60,
    "s": 54.185,
    "l": 55.49
  },
  "oklch": {
    "l": 0.81885,
    "c": 0.14393,
    "h": 109.2
  },
  "luminance": 0.55988
}

Semantic roles & 50–950 ramp

primary
#CBCB50
secondary
#3B3B84
accent
#4ADE4A
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#15140C
muted
#84837F

Preview Lab

Preview with #CBCB50

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

Preview Lab → · Contrast checker → · Palette generator →

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