#CBC866#CBC866

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

Color values

HEX#CBC866
RGBrgb(203, 200, 102)
HSLhsl(58, 49%, 60%)
HSVhsv(58, 50%, 80%)
CMYKcmyk(0%, 1.5%, 49.8%, 20.4%)
CIE-LABlab(79.02, -12.28, 48.89)
CIE-LCHlch(79.02, 50.41, 104.10°)
OKLaboklab(81.49% -0.0358 0.1156)
OKLCHoklch(81.49% 0.121 107.2)
XYZxyz(47.6823, 54.9656, 20.6655)
Luminance0.5496 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC866 #6669CB
analogous
#CB9666 #CBC866 #9BCB66
triadic
#CBC866 #66CBC8 #C866CB
tetradic
#CBC866 #66CB96 #6669CB #CB669B
square
#CBC866 #66CB96 #6669CB #CB669B
split-complementary
#CBC866 #669BCB #9666CB
monochromatic
#88862E #B6B23E #CBC866 #DBD894 #EAE9C1

Accessibility & contrast

On white

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

On black

11.99
#CBC866 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC866
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC866#FFFFFF#000000##000000
##CBC8661.001.7511.9911.99
#FFFFFF1.751.0021.0021.00
#00000011.9921.001.001.00
##00000011.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C15D
Deuteranopia (green-blind)
#D8C66B
Tritanopia (blue-blind)
#D7BDB2
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cbc866;
/* rgb */ color: rgb(203, 200, 102);
/* oklch */ color: oklch(81.5% 0.121 107.2);
Tailwind
colors: {
  custom: {
    50: '#ddd894',
    500: '#cbc866',
    950: '#000000',
  },
}
SCSS
$custom: #cbc866;
$custom-light: #ddd894;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc866",
  "rgb": {
    "r": 203,
    "g": 200,
    "b": 102
  },
  "hsl": {
    "h": 58.218,
    "s": 49.268,
    "l": 59.804
  },
  "oklch": {
    "l": 0.81488,
    "c": 0.12102,
    "h": 107.2
  },
  "luminance": 0.54964
}

Semantic roles & 50–950 ramp

primary
#CBC866
secondary
#46488F
accent
#53D94F
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CBC866

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

Preview Lab → · Contrast checker → · Palette generator →

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