#CBCC8A#CBCC8A

#CBCC8A is a very light, moderate yellow. Relative luminance 0.577; OKLCH L 82.9% C 0.086 H 108.9°. Best body text is #000000 at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#CBCC8A
RGBrgb(203, 204, 138)
HSLhsl(61, 39%, 67%)
HSVhsv(61, 32%, 80%)
CMYKcmyk(0.5%, 0%, 32.4%, 20%)
CIE-LABlab(80.58, -10.51, 32.85)
CIE-LCHlch(80.58, 34.49, 107.74°)
OKLaboklab(82.89% -0.0278 0.0815)
OKLCHoklch(82.89% 0.086 108.9)
XYZxyz(50.8092, 57.7181, 32.5039)
Luminance0.5772 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCC8A #8B8ACC
analogous
#CCAC8A #CBCC8A #AACC8A
triadic
#CBCC8A #8ACBCC #CC8ACB
tetradic
#CBCC8A #8ACCAC #8B8ACC #CC8AAA
square
#CBCC8A #8ACCAC #8B8ACC #CC8AAA
split-complementary
#CBCC8A #8AAACC #AC8ACC
monochromatic
#989943 #B8B95F #CBCC8A #DEDFB5 #F1F1DF

Accessibility & contrast

On white

1.67
#CBCC8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.54
#CBCC8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBCC8A
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBCC8A#FFFFFF#000000##000000
##CBCC8A1.001.6712.5412.54
#FFFFFF1.671.0021.0021.00
#00000012.5421.001.001.00
##00000012.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C785
Deuteranopia (green-blind)
#D7C98D
Tritanopia (blue-blind)
#D4C4BB
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cbcc8a;
/* rgb */ color: rgb(203, 204, 138);
/* oklch */ color: oklch(82.9% 0.086 108.9);
Tailwind
colors: {
  custom: {
    50: '#dbdbad',
    500: '#cbcc8a',
    950: '#000000',
  },
}
SCSS
$custom: #cbcc8a;
$custom-light: #dbdbad;
$custom-dark: #000000;
JSON
{
  "hex": "#cbcc8a",
  "rgb": {
    "r": 203,
    "g": 204,
    "b": 138
  },
  "hsl": {
    "h": 60.909,
    "s": 39.286,
    "l": 67.059
  },
  "oklch": {
    "l": 0.8289,
    "c": 0.08609,
    "h": 108.9
  },
  "luminance": 0.57717
}

Semantic roles & 50–950 ramp

primary
#CBCC8A
secondary
#5C5BA0
accent
#33B235
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151510
muted
#848481

Preview Lab

Preview with #CBCC8A

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

Preview Lab → · Contrast checker → · Palette generator →

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