#CBC663#CBC663

#CBC663 is a light, vivid yellow. Relative luminance 0.540; OKLCH L 81.0% C 0.122 H 106.2°. Best body text is #000000 at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#CBC663
RGBrgb(203, 198, 99)
HSLhsl(57, 50%, 59%)
HSVhsv(57, 51%, 80%)
CMYKcmyk(0%, 2.5%, 51.2%, 20.4%)
CIE-LABlab(78.45, -11.53, 49.65)
CIE-LCHlch(78.45, 50.97, 103.07°)
OKLaboklab(81.03% -0.034 0.117)
OKLCHoklch(81.03% 0.122 106.2)
XYZxyz(47.0761, 53.9869, 19.7427)
Luminance0.5399 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC663 #6368CB
analogous
#CB9263 #CBC663 #9CCB63
triadic
#CBC663 #63CBC6 #C663CB
tetradic
#CBC663 #63CB92 #6368CB #CB639C
square
#CBC663 #63CB92 #6368CB #CB639C
split-complementary
#CBC663 #639CCB #9263CB
monochromatic
#87822D #B5AF3C #CBC663 #DAD791 #EAE8BF

Accessibility & contrast

On white

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

On black

11.80
#CBC663 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC663
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC663#FFFFFF#000000##000000
##CBC6631.001.7811.8011.80
#FFFFFF1.781.0021.0021.00
#00000011.8021.001.001.00
##00000011.8021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cbc663;
/* rgb */ color: rgb(203, 198, 99);
/* oklch */ color: oklch(81.0% 0.122 106.2);
Tailwind
colors: {
  custom: {
    50: '#ddd792',
    500: '#cbc663',
    950: '#000000',
  },
}
SCSS
$custom: #cbc663;
$custom-light: #ddd792;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc663",
  "rgb": {
    "r": 203,
    "g": 198,
    "b": 99
  },
  "hsl": {
    "h": 57.115,
    "s": 50,
    "l": 59.216
  },
  "oklch": {
    "l": 0.81026,
    "c": 0.12181,
    "h": 106.2
  },
  "luminance": 0.53986
}

Semantic roles & 50–950 ramp

primary
#CBC663
secondary
#44488E
accent
#55DA4E
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CBC663

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

Preview Lab → · Contrast checker → · Palette generator →

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