#CBCC7B#CBCC7B

#CBCC7B is a very light, moderate yellow. Relative luminance 0.573; OKLCH L 82.6% C 0.103 H 109.1°. Best body text is #000000 at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#CBCC7B
RGBrgb(203, 204, 123)
HSLhsl(61, 44%, 64%)
HSVhsv(61, 40%, 80%)
CMYKcmyk(0.5%, 0%, 39.7%, 20%)
CIE-LABlab(80.36, -12.24, 40.21)
CIE-LCHlch(80.36, 42.03, 106.94°)
OKLaboklab(82.64% -0.0338 0.0978)
OKLCHoklch(82.64% 0.103 109.1)
XYZxyz(49.7973, 57.3133, 27.1744)
Luminance0.5731 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCC7B #7C7BCC
analogous
#CCA57B #CBCC7B #A3CC7B
triadic
#CBCC7B #7BCBCC #CC7BCB
tetradic
#CBCC7B #7BCCA5 #7C7BCC #CC7BA3
square
#CBCC7B #7BCCA5 #7C7BCC #CC7BA3
split-complementary
#CBCC7B #7BA3CC #A57BCC
monochromatic
#929439 #BABB4F #CBCC7B #DCDDA7 #EEEED3

Accessibility & contrast

On white

1.69
#CBCC7B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.46
#CBCC7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBCC7B
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBCC7B#FFFFFF#000000##000000
##CBCC7B1.001.6912.4612.46
#FFFFFF1.691.0021.0021.00
#00000012.4621.001.001.00
##00000012.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C675
Deuteranopia (green-blind)
#D9C97F
Tritanopia (blue-blind)
#D5C3B8
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cbcc7b;
/* rgb */ color: rgb(203, 204, 123);
/* oklch */ color: oklch(82.6% 0.103 109.1);
Tailwind
colors: {
  custom: {
    50: '#dcdba2',
    500: '#cbcc7b',
    950: '#000000',
  },
}
SCSS
$custom: #cbcc7b;
$custom-light: #dcdba2;
$custom-dark: #000000;
JSON
{
  "hex": "#cbcc7b",
  "rgb": {
    "r": 203,
    "g": 204,
    "b": 123
  },
  "hsl": {
    "h": 60.741,
    "s": 44.262,
    "l": 64.118
  },
  "oklch": {
    "l": 0.82636,
    "c": 0.10344,
    "h": 109.1
  },
  "luminance": 0.57312
}

Semantic roles & 50–950 ramp

primary
#CBCC7B
secondary
#52519A
accent
#2EB730
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15150F
muted
#848480

Preview Lab

Preview with #CBCC7B

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

Preview Lab → · Contrast checker → · Palette generator →

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