#CBC660#CBC660

#CBC660 is a light, vivid yellow. Relative luminance 0.539; OKLCH L 81.0% C 0.125 H 106.3°. Best body text is #000000 at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#CBC660
RGBrgb(203, 198, 96)
HSLhsl(57, 51%, 59%)
HSVhsv(57, 53%, 80%)
CMYKcmyk(0%, 2.5%, 52.7%, 20.4%)
CIE-LABlab(78.42, -11.78, 51.03)
CIE-LCHlch(78.42, 52.37, 103.00°)
OKLaboklab(80.99% -0.035 0.1197)
OKLCHoklch(80.99% 0.125 106.3)
XYZxyz(46.9353, 53.9306, 19.0013)
Luminance0.5393 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC660 #6065CB
analogous
#CB9060 #CBC660 #9ACB60
triadic
#CBC660 #60CBC6 #C660CB
tetradic
#CBC660 #60CB90 #6065CB #CB609A
square
#CBC660 #60CB90 #6065CB #CB609A
split-complementary
#CBC660 #609ACB #9060CB
monochromatic
#85812C #B3AE3B #CBC660 #DAD78E #E9E7BC

Accessibility & contrast

On white

1.78
#CBC660 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.79
#CBC660 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC660
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC660#FFFFFF#000000##000000
##CBC6601.001.7811.7911.79
#FFFFFF1.781.0021.0021.00
#00000011.7921.001.001.00
##00000011.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BF56
Deuteranopia (green-blind)
#D7C465
Tritanopia (blue-blind)
#D8BBAF
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cbc660;
/* rgb */ color: rgb(203, 198, 96);
/* oklch */ color: oklch(81.0% 0.125 106.3);
Tailwind
colors: {
  custom: {
    50: '#ddd790',
    500: '#cbc660',
    950: '#000000',
  },
}
SCSS
$custom: #cbc660;
$custom-light: #ddd790;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc660",
  "rgb": {
    "r": 203,
    "g": 198,
    "b": 96
  },
  "hsl": {
    "h": 57.196,
    "s": 50.711,
    "l": 58.627
  },
  "oklch": {
    "l": 0.80989,
    "c": 0.12469,
    "h": 106.3
  },
  "luminance": 0.53929
}

Semantic roles & 50–950 ramp

primary
#CBC660
secondary
#43468C
accent
#54DA4E
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CBC660

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

Preview Lab → · Contrast checker → · Palette generator →

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