#CBC960#CBC960

#CBC960 is a light, vivid yellow. Relative luminance 0.553; OKLCH L 81.6% C 0.128 H 107.9°. Best body text is #000000 at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#CBC960
RGBrgb(203, 201, 96)
HSLhsl(59, 51%, 59%)
HSVhsv(59, 53%, 80%)
CMYKcmyk(0%, 1%, 52.7%, 20.4%)
CIE-LABlab(79.22, -13.30, 51.96)
CIE-LCHlch(79.22, 53.64, 104.36°)
OKLaboklab(81.63% -0.0394 0.1217)
OKLCHoklch(81.63% 0.128 107.9)
XYZxyz(47.6278, 55.3156, 19.2321)
Luminance0.5531 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC960 #6062CB
analogous
#CB9360 #CBC960 #97CB60
triadic
#CBC960 #60CBC9 #C960CB
tetradic
#CBC960 #60CB93 #6062CB #CB6097
square
#CBC960 #60CB93 #6062CB #CB6097
split-complementary
#CBC960 #6097CB #9360CB
monochromatic
#85832C #B3B13B #CBC960 #DAD98E #E9E8BC

Accessibility & contrast

On white

1.74
#CBC960 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.06
#CBC960 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC960
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC960#FFFFFF#000000##000000
##CBC9601.001.7412.0612.06
#FFFFFF1.741.0021.0021.00
#00000012.0621.001.001.00
##00000012.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C256
Deuteranopia (green-blind)
#D9C665
Tritanopia (blue-blind)
#D8BEB1
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cbc960;
/* rgb */ color: rgb(203, 201, 96);
/* oklch */ color: oklch(81.6% 0.128 107.9);
Tailwind
colors: {
  custom: {
    50: '#ddd990',
    500: '#cbc960',
    950: '#000000',
  },
}
SCSS
$custom: #cbc960;
$custom-light: #ddd990;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc960",
  "rgb": {
    "r": 203,
    "g": 201,
    "b": 96
  },
  "hsl": {
    "h": 58.879,
    "s": 50.711,
    "l": 58.627
  },
  "oklch": {
    "l": 0.81627,
    "c": 0.12789,
    "h": 107.9
  },
  "luminance": 0.55314
}

Semantic roles & 50–950 ramp

primary
#CBC960
secondary
#43448C
accent
#50DA4E
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CBC960

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

Preview Lab → · Contrast checker → · Palette generator →

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