#CBCC47#CBCC47

#CBCC47 is a very light, vivid yellow. Relative luminance 0.563; OKLCH L 82.0% C 0.152 H 109.7°. Best body text is #000000 at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#CBCC47
RGBrgb(203, 204, 71)
HSLhsl(60, 57%, 54%)
HSVhsv(60, 65%, 80%)
CMYKcmyk(0.5%, 0%, 65.2%, 20%)
CIE-LABlab(79.81, -16.56, 63.43)
CIE-LCHlch(79.81, 65.55, 104.63°)
OKLaboklab(82.02% -0.0513 0.1428)
OKLCHoklch(82.02% 0.152 109.7)
XYZxyz(47.3603, 56.3385, 14.3396)
Luminance0.5634 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCC47 #4847CC
analogous
#CC8B47 #CBCC47 #89CC47
triadic
#CBCC47 #47CBCC #CC47CB
tetradic
#CBCC47 #47CC8B #4847CC #CC4789
square
#CBCC47 #47CC8B #4847CC #CC4789
split-complementary
#CBCC47 #4789CC #8B47CC
monochromatic
#777721 #A6A72E #CBCC47 #D9D977 #E6E7A7

Accessibility & contrast

On white

1.71
#CBCC47 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.27
#CBCC47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBCC47
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBCC47#FFFFFF#000000##000000
##CBCC471.001.7112.2712.27
#FFFFFF1.711.0021.0021.00
#00000012.2721.001.001.00
##00000012.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC434
Deuteranopia (green-blind)
#DDC850
Tritanopia (blue-blind)
#D9C0B1
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cbcc47;
/* rgb */ color: rgb(203, 204, 71);
/* oklch */ color: oklch(82.0% 0.152 109.7);
Tailwind
colors: {
  custom: {
    50: '#dedb81',
    500: '#cbcc47',
    950: '#000000',
  },
}
SCSS
$custom: #cbcc47;
$custom-light: #dedb81;
$custom-dark: #000000;
JSON
{
  "hex": "#cbcc47",
  "rgb": {
    "r": 203,
    "g": 204,
    "b": 71
  },
  "hsl": {
    "h": 60.451,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.82021,
    "c": 0.15176,
    "h": 109.7
  },
  "luminance": 0.56337
}

Semantic roles & 50–950 ramp

primary
#CBCC47
secondary
#383780
accent
#48E049
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CBCC47

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

Preview Lab → · Contrast checker → · Palette generator →

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