#CBCC48#CBCC48

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

Color values

HEX#CBCC48
RGBrgb(203, 204, 72)
HSLhsl(60, 56%, 54%)
HSVhsv(60, 65%, 80%)
CMYKcmyk(0.5%, 0%, 64.7%, 20%)
CIE-LABlab(79.81, -16.50, 63.04)
CIE-LCHlch(79.81, 65.16, 104.67°)
OKLaboklab(82.03% -0.051 0.1422)
OKLCHoklch(82.03% 0.151 109.7)
XYZxyz(47.3927, 56.3514, 14.5100)
Luminance0.5635 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCC48 #4948CC
analogous
#CC8B48 #CBCC48 #89CC48
triadic
#CBCC48 #48CBCC #CC48CB
tetradic
#CBCC48 #48CC8B #4948CC #CC4889
square
#CBCC48 #48CC8B #4948CC #CC4889
split-complementary
#CBCC48 #4889CC #8B48CC
monochromatic
#777821 #A7A82F #CBCC48 #D9D978 #E6E7A8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBCC48#FFFFFF#000000##000000
##CBCC481.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)
#DCC436
Deuteranopia (green-blind)
#DDC851
Tritanopia (blue-blind)
#D9C0B1
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cbcc48;
/* rgb */ color: rgb(203, 204, 72);
/* oklch */ color: oklch(82.0% 0.151 109.7);
Tailwind
colors: {
  custom: {
    50: '#dedb82',
    500: '#cbcc48',
    950: '#000000',
  },
}
SCSS
$custom: #cbcc48;
$custom-light: #dedb82;
$custom-dark: #000000;
JSON
{
  "hex": "#cbcc48",
  "rgb": {
    "r": 203,
    "g": 204,
    "b": 72
  },
  "hsl": {
    "h": 60.455,
    "s": 56.41,
    "l": 54.118
  },
  "oklch": {
    "l": 0.82029,
    "c": 0.15105,
    "h": 109.7
  },
  "luminance": 0.5635
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CBCC48

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

Preview Lab → · Contrast checker → · Palette generator →

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