#CBCC7E#CBCC7E

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

Color values

HEX#CBCC7E
RGBrgb(203, 204, 126)
HSLhsl(61, 43%, 65%)
HSVhsv(61, 38%, 80%)
CMYKcmyk(0.5%, 0%, 38.2%, 20%)
CIE-LABlab(80.40, -11.91, 38.75)
CIE-LCHlch(80.40, 40.54, 107.09°)
OKLaboklab(82.68% -0.0326 0.0946)
OKLCHoklch(82.68% 0.1 109)
XYZxyz(49.9880, 57.3895, 28.1786)
Luminance0.5739 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCC7E #7F7ECC
analogous
#CCA67E #CBCC7E #A4CC7E
triadic
#CBCC7E #7ECBCC #CC7ECB
tetradic
#CBCC7E #7ECCA6 #7F7ECC #CC7EA4
square
#CBCC7E #7ECCA6 #7F7ECC #CC7EA4
split-complementary
#CBCC7E #7EA4CC #A67ECC
monochromatic
#94953B #B9BB52 #CBCC7E #DDDDAA #EEEFD6

Accessibility & contrast

On white

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

On black

12.48
#CBCC7E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBCC7E
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBCC7E#FFFFFF#000000##000000
##CBCC7E1.001.6812.4812.48
#FFFFFF1.681.0021.0021.00
#00000012.4821.001.001.00
##00000012.4821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cbcc7e;
/* rgb */ color: rgb(203, 204, 126);
/* oklch */ color: oklch(82.7% 0.100 109.0);
Tailwind
colors: {
  custom: {
    50: '#dcdba4',
    500: '#cbcc7e',
    950: '#000000',
  },
}
SCSS
$custom: #cbcc7e;
$custom-light: #dcdba4;
$custom-dark: #000000;
JSON
{
  "hex": "#cbcc7e",
  "rgb": {
    "r": 203,
    "g": 204,
    "b": 126
  },
  "hsl": {
    "h": 60.769,
    "s": 43.333,
    "l": 64.706
  },
  "oklch": {
    "l": 0.82684,
    "c": 0.10007,
    "h": 109
  },
  "luminance": 0.57389
}

Semantic roles & 50–950 ramp

primary
#CBCC7E
secondary
#54539B
accent
#2FB631
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15150F
muted
#848480

Preview Lab

Preview with #CBCC7E

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

Preview Lab → · Contrast checker → · Palette generator →

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