#CBCC72#CBCC72

#CBCC72 is a very light, moderate yellow. Relative luminance 0.571; OKLCH L 82.5% C 0.113 H 109.2°. Best body text is #000000 at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#CBCC72
RGBrgb(203, 204, 114)
HSLhsl(61, 47%, 62%)
HSVhsv(61, 44%, 80%)
CMYKcmyk(0.5%, 0%, 44.1%, 20%)
CIE-LABlab(80.23, -13.18, 44.54)
CIE-LCHlch(80.23, 46.45, 106.49°)
OKLaboklab(82.5% -0.0372 0.1069)
OKLCHoklch(82.5% 0.113 109.2)
XYZxyz(49.2596, 57.0982, 24.3425)
Luminance0.5710 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCC72 #7372CC
analogous
#CCA072 #CBCC72 #9ECC72
triadic
#CBCC72 #72CBCC #CC72CB
tetradic
#CBCC72 #72CCA0 #7372CC #CC729E
square
#CBCC72 #72CCA0 #7372CC #CC729E
split-complementary
#CBCC72 #729ECC #A072CC
monochromatic
#8F9034 #BABC45 #CBCC72 #DCDC9F #ECEDCC

Accessibility & contrast

On white

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

On black

12.42
#CBCC72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBCC72
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBCC72#FFFFFF#000000##000000
##CBCC721.001.6912.4212.42
#FFFFFF1.691.0021.0021.00
#00000012.4221.001.001.00
##00000012.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C56B
Deuteranopia (green-blind)
#DAC976
Tritanopia (blue-blind)
#D6C2B7
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cbcc72;
/* rgb */ color: rgb(203, 204, 114);
/* oklch */ color: oklch(82.5% 0.113 109.2);
Tailwind
colors: {
  custom: {
    50: '#dcdb9c',
    500: '#cbcc72',
    950: '#000000',
  },
}
SCSS
$custom: #cbcc72;
$custom-light: #dcdb9c;
$custom-dark: #000000;
JSON
{
  "hex": "#cbcc72",
  "rgb": {
    "r": 203,
    "g": 204,
    "b": 114
  },
  "hsl": {
    "h": 60.667,
    "s": 46.875,
    "l": 62.353
  },
  "oklch": {
    "l": 0.82501,
    "c": 0.11324,
    "h": 109.2
  },
  "luminance": 0.57097
}

Semantic roles & 50–950 ramp

primary
#CBCC72
secondary
#4D4C96
accent
#2BBA2D
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CBCC72

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

Preview Lab → · Contrast checker → · Palette generator →

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