#CBC950#CBC950

#CBC950 is a light, vivid yellow. Relative luminance 0.550; OKLCH L 81.5% C 0.142 H 108.3°. Best body text is #000000 at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#CBC950
RGBrgb(203, 201, 80)
HSLhsl(59, 54%, 55%)
HSVhsv(59, 61%, 80%)
CMYKcmyk(0%, 1%, 60.6%, 20.4%)
CIE-LABlab(79.07, -14.50, 58.95)
CIE-LCHlch(79.07, 60.71, 103.82°)
OKLaboklab(81.46% -0.0445 0.1347)
OKLCHoklch(81.46% 0.142 108.3)
XYZxyz(46.9647, 55.0503, 15.7397)
Luminance0.5505 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC950 #5052CB
analogous
#CB8B50 #CBC950 #90CB50
triadic
#CBC950 #50CBC9 #C950CB
tetradic
#CBC950 #50CB8B #5052CB #CB5090
square
#CBC950 #50CB8B #5052CB #CB5090
split-complementary
#CBC950 #5090CB #8B50CB
monochromatic
#7C7A25 #ABA933 #CBC950 #D9D87F #E7E6AE

Accessibility & contrast

On white

1.75
#CBC950 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.01
#CBC950 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC950
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC950#FFFFFF#000000##000000
##CBC9501.001.7512.0112.01
#FFFFFF1.751.0021.0021.00
#00000012.0121.001.001.00
##00000012.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C142
Deuteranopia (green-blind)
#DAC657
Tritanopia (blue-blind)
#D9BDAF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cbc950;
/* rgb */ color: rgb(203, 201, 80);
/* oklch */ color: oklch(81.5% 0.142 108.3);
Tailwind
colors: {
  custom: {
    50: '#ded986',
    500: '#cbc950',
    950: '#000000',
  },
}
SCSS
$custom: #cbc950;
$custom-light: #ded986;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc950",
  "rgb": {
    "r": 203,
    "g": 201,
    "b": 80
  },
  "hsl": {
    "h": 59.024,
    "s": 54.185,
    "l": 55.49
  },
  "oklch": {
    "l": 0.81457,
    "c": 0.14186,
    "h": 108.3
  },
  "luminance": 0.55049
}

Semantic roles & 50–950 ramp

primary
#CBC950
secondary
#3B3D84
accent
#4DDE4A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #CBC950

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

Preview Lab → · Contrast checker → · Palette generator →

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