#CBCC7C#CBCC7C

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

Color values

HEX#CBCC7C
RGBrgb(203, 204, 124)
HSLhsl(61, 44%, 64%)
HSVhsv(61, 39%, 80%)
CMYKcmyk(0.5%, 0%, 39.2%, 20%)
CIE-LABlab(80.37, -12.14, 39.72)
CIE-LCHlch(80.37, 41.54, 106.99°)
OKLaboklab(82.65% -0.0334 0.0967)
OKLCHoklch(82.65% 0.102 109.1)
XYZxyz(49.8602, 57.3384, 27.5057)
Luminance0.5734 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCC7C #7D7CCC
analogous
#CCA57C #CBCC7C #A3CC7C
triadic
#CBCC7C #7CCBCC #CC7CCB
tetradic
#CBCC7C #7CCCA5 #7D7CCC #CC7CA3
square
#CBCC7C #7CCCA5 #7D7CCC #CC7CA3
split-complementary
#CBCC7C #7CA3CC #A57CCC
monochromatic
#93943A #BABB50 #CBCC7C #DCDDA8 #EEEED4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBCC7C#FFFFFF#000000##000000
##CBCC7C1.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)
#D8C676
Deuteranopia (green-blind)
#D9C980
Tritanopia (blue-blind)
#D5C3B8
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cbcc7c;
/* rgb */ color: rgb(203, 204, 124);
/* oklch */ color: oklch(82.7% 0.102 109.1);
Tailwind
colors: {
  custom: {
    50: '#dcdba3',
    500: '#cbcc7c',
    950: '#000000',
  },
}
SCSS
$custom: #cbcc7c;
$custom-light: #dcdba3;
$custom-dark: #000000;
JSON
{
  "hex": "#cbcc7c",
  "rgb": {
    "r": 203,
    "g": 204,
    "b": 124
  },
  "hsl": {
    "h": 60.75,
    "s": 43.956,
    "l": 64.314
  },
  "oklch": {
    "l": 0.82652,
    "c": 0.10232,
    "h": 109.1
  },
  "luminance": 0.57337
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CBCC7C

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

Preview Lab → · Contrast checker → · Palette generator →

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