#CBCC81#CBCC81

#CBCC81 is a very light, moderate yellow. Relative luminance 0.575; OKLCH L 82.7% C 0.097 H 109.0°. Best body text is #000000 at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#CBCC81
RGBrgb(203, 204, 129)
HSLhsl(61, 42%, 65%)
HSVhsv(61, 37%, 80%)
CMYKcmyk(0.5%, 0%, 36.8%, 20%)
CIE-LABlab(80.44, -11.58, 37.29)
CIE-LCHlch(80.44, 39.04, 107.25°)
OKLaboklab(82.73% -0.0315 0.0914)
OKLCHoklch(82.73% 0.097 109)
XYZxyz(50.1845, 57.4681, 29.2134)
Luminance0.5747 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCC81 #8281CC
analogous
#CCA781 #CBCC81 #A5CC81
triadic
#CBCC81 #81CBCC #CC81CB
tetradic
#CBCC81 #81CCA7 #8281CC #CC81A5
square
#CBCC81 #81CCA7 #8281CC #CC81A5
split-complementary
#CBCC81 #81A5CC #A781CC
monochromatic
#95963D #B9BA55 #CBCC81 #DDDEAD #EFEFD8

Accessibility & contrast

On white

1.68
#CBCC81 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.49
#CBCC81 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBCC81
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBCC81#FFFFFF#000000##000000
##CBCC811.001.6812.4912.49
#FFFFFF1.681.0021.0021.00
#00000012.4921.001.001.00
##00000012.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C67B
Deuteranopia (green-blind)
#D8C984
Tritanopia (blue-blind)
#D5C3B9
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cbcc81;
/* rgb */ color: rgb(203, 204, 129);
/* oklch */ color: oklch(82.7% 0.097 109.0);
Tailwind
colors: {
  custom: {
    50: '#dcdba6',
    500: '#cbcc81',
    950: '#000000',
  },
}
SCSS
$custom: #cbcc81;
$custom-light: #dcdba6;
$custom-dark: #000000;
JSON
{
  "hex": "#cbcc81",
  "rgb": {
    "r": 203,
    "g": 204,
    "b": 129
  },
  "hsl": {
    "h": 60.8,
    "s": 42.373,
    "l": 65.294
  },
  "oklch": {
    "l": 0.82734,
    "c": 0.09664,
    "h": 109
  },
  "luminance": 0.57467
}

Semantic roles & 50–950 ramp

primary
#CBCC81
secondary
#56559C
accent
#30B532
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15150F
muted
#848480

Preview Lab

Preview with #CBCC81

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

Preview Lab → · Contrast checker → · Palette generator →

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