#CBCC7D#CBCC7D

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

Color values

HEX#CBCC7D
RGBrgb(203, 204, 125)
HSLhsl(61, 44%, 65%)
HSVhsv(61, 39%, 80%)
CMYKcmyk(0.5%, 0%, 38.7%, 20%)
CIE-LABlab(80.38, -12.03, 39.24)
CIE-LCHlch(80.38, 41.04, 107.04°)
OKLaboklab(82.67% -0.033 0.0957)
OKLCHoklch(82.67% 0.101 109)
XYZxyz(49.9238, 57.3639, 27.8405)
Luminance0.5736 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCC7D #7E7DCC
analogous
#CCA57D #CBCC7D #A4CC7D
triadic
#CBCC7D #7DCBCC #CC7DCB
tetradic
#CBCC7D #7DCCA5 #7E7DCC #CC7DA4
square
#CBCC7D #7DCCA5 #7E7DCC #CC7DA4
split-complementary
#CBCC7D #7DA4CC #A57DCC
monochromatic
#93943A #B9BB51 #CBCC7D #DDDDA9 #EEEED5

Accessibility & contrast

On white

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

On black

12.47
#CBCC7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBCC7D
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBCC7D#FFFFFF#000000##000000
##CBCC7D1.001.6812.4712.47
#FFFFFF1.681.0021.0021.00
#00000012.4721.001.001.00
##00000012.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C677
Deuteranopia (green-blind)
#D9C980
Tritanopia (blue-blind)
#D5C3B9
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cbcc7d;
/* rgb */ color: rgb(203, 204, 125);
/* oklch */ color: oklch(82.7% 0.101 109.0);
Tailwind
colors: {
  custom: {
    50: '#dcdba4',
    500: '#cbcc7d',
    950: '#000000',
  },
}
SCSS
$custom: #cbcc7d;
$custom-light: #dcdba4;
$custom-dark: #000000;
JSON
{
  "hex": "#cbcc7d",
  "rgb": {
    "r": 203,
    "g": 204,
    "b": 125
  },
  "hsl": {
    "h": 60.759,
    "s": 43.646,
    "l": 64.51
  },
  "oklch": {
    "l": 0.82668,
    "c": 0.1012,
    "h": 109
  },
  "luminance": 0.57363
}

Semantic roles & 50–950 ramp

primary
#CBCC7D
secondary
#53529B
accent
#2FB730
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15150F
muted
#848480

Preview Lab

Preview with #CBCC7D

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

Preview Lab → · Contrast checker → · Palette generator →

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