#CBC050#CBC050

#CBC050 is a light, vivid yellow. Relative luminance 0.510; OKLCH L 79.5% C 0.133 H 103.7°. Best body text is #000000 at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#CBC050
RGBrgb(203, 192, 80)
HSLhsl(55, 54%, 55%)
HSVhsv(55, 61%, 80%)
CMYKcmyk(0%, 5.4%, 60.6%, 20.4%)
CIE-LABlab(76.66, -9.93, 56.33)
CIE-LCHlch(76.66, 57.20, 99.99°)
OKLaboklab(79.54% -0.0315 0.1291)
OKLCHoklch(79.54% 0.133 103.7)
XYZxyz(44.9278, 50.9766, 15.0607)
Luminance0.5098 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC050 #505BCB
analogous
#CB8250 #CBC050 #98CB50
triadic
#CBC050 #50CBC0 #C050CB
tetradic
#CBC050 #50CB82 #505BCB #CB5098
square
#CBC050 #50CB82 #505BCB #CB5098
split-complementary
#CBC050 #5098CB #8250CB
monochromatic
#7C7425 #ABA033 #CBC050 #D9D17F #E7E2AE

Accessibility & contrast

On white

1.88
#CBC050 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.20
#CBC050 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC050
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC050#FFFFFF#000000##000000
##CBC0501.001.8811.2011.20
#FFFFFF1.881.0021.0021.00
#00000011.2021.001.001.00
##00000011.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BA43
Deuteranopia (green-blind)
#D3C056
Tritanopia (blue-blind)
#D9B4A8
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cbc050;
/* rgb */ color: rgb(203, 192, 80);
/* oklch */ color: oklch(79.5% 0.133 103.7);
Tailwind
colors: {
  custom: {
    50: '#ded286',
    500: '#cbc050',
    950: '#000000',
  },
}
SCSS
$custom: #cbc050;
$custom-light: #ded286;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc050",
  "rgb": {
    "r": 203,
    "g": 192,
    "b": 80
  },
  "hsl": {
    "h": 54.634,
    "s": 54.185,
    "l": 55.49
  },
  "oklch": {
    "l": 0.79542,
    "c": 0.13294,
    "h": 103.7
  },
  "luminance": 0.50975
}

Semantic roles & 50–950 ramp

primary
#CBC050
secondary
#3B4284
accent
#57DE4A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #CBC050

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

Preview Lab → · Contrast checker → · Palette generator →

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