#CBCC2F#CBCC2F

#CBCC2F is a light, vivid yellow. Relative luminance 0.561; OKLCH L 81.9% C 0.166 H 109.9°. Best body text is #000000 at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#CBCC2F
RGBrgb(203, 204, 47)
HSLhsl(60, 63%, 49%)
HSVhsv(60, 77%, 80%)
CMYKcmyk(0.5%, 0%, 77%, 20%)
CIE-LABlab(79.66, -17.70, 71.64)
CIE-LCHlch(79.66, 73.79, 103.88°)
OKLaboklab(81.86% -0.0567 0.1561)
OKLCHoklch(81.86% 0.166 109.9)
XYZxyz(46.7363, 56.0889, 11.0531)
Luminance0.5609 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCC2F #302FCC
analogous
#CC7F2F #CBCC2F #7DCC2F
triadic
#CBCC2F #2FCBCC #CC2FCB
tetradic
#CBCC2F #2FCC7F #302FCC #CC2F7D
square
#CBCC2F #2FCC7F #302FCC #CC2F7D
split-complementary
#CBCC2F #2F7DCC #7F2FCC
monochromatic
#686918 #9A9A24 #CBCC2F #D9DA5E #E5E590

Accessibility & contrast

On white

1.72
#CBCC2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.22
#CBCC2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBCC2F
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBCC2F#FFFFFF#000000##000000
##CBCC2F1.001.7212.2212.22
#FFFFFF1.721.0021.0021.00
#00000012.2221.001.001.00
##00000012.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC300
Deuteranopia (green-blind)
#DEC83D
Tritanopia (blue-blind)
#DABFAF
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cbcc2f;
/* rgb */ color: rgb(203, 204, 47);
/* oklch */ color: oklch(81.9% 0.166 109.9);
Tailwind
colors: {
  custom: {
    50: '#dfdb75',
    500: '#cbcc2f',
    950: '#000000',
  },
}
SCSS
$custom: #cbcc2f;
$custom-light: #dfdb75;
$custom-dark: #000000;
JSON
{
  "hex": "#cbcc2f",
  "rgb": {
    "r": 203,
    "g": 204,
    "b": 47
  },
  "hsl": {
    "h": 60.382,
    "s": 62.55,
    "l": 49.216
  },
  "oklch": {
    "l": 0.81863,
    "c": 0.16606,
    "h": 109.9
  },
  "luminance": 0.56087
}

Semantic roles & 50–950 ramp

primary
#CBCC2F
secondary
#2D2D72
accent
#42E643
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #CBCC2F

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

Preview Lab → · Contrast checker → · Palette generator →

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