#CCCB3E#CCCB3E

#CCCB3E is a light, vivid yellow. Relative luminance 0.559; OKLCH L 81.8% C 0.157 H 109.0°. Best body text is #000000 at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#CCCB3E
RGBrgb(204, 203, 62)
HSLhsl(60, 58%, 52%)
HSVhsv(60, 70%, 80%)
CMYKcmyk(0%, 0.5%, 69.6%, 20%)
CIE-LABlab(79.56, -16.13, 66.62)
CIE-LCHlch(79.56, 68.54, 103.61°)
OKLaboklab(81.82% -0.051 0.1481)
OKLCHoklch(81.82% 0.157 109)
XYZxyz(47.1290, 55.8985, 12.8634)
Luminance0.5590 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCB3E #3E3FCC
analogous
#CC843E #CCCB3E #86CC3E
triadic
#CCCB3E #3ECCCB #CB3ECC
tetradic
#CCCB3E #3ECC84 #3E3FCC #CC3E86
square
#CCCB3E #3ECC84 #3E3FCC #CC3E86
split-complementary
#CCCB3E #3E86CC #843ECC
monochromatic
#72711E #A2A12B #CCCB3E #D9D86E #E6E59F

Accessibility & contrast

On white

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

On black

12.18
#CCCB3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCB3E
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCB3E#FFFFFF#000000##000000
##CCCB3E1.001.7212.1812.18
#FFFFFF1.721.0021.0021.00
#00000012.1821.001.001.00
##00000012.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC326
Deuteranopia (green-blind)
#DDC748
Tritanopia (blue-blind)
#DABEAF
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cccb3e;
/* rgb */ color: rgb(204, 203, 62);
/* oklch */ color: oklch(81.8% 0.157 109.0);
Tailwind
colors: {
  custom: {
    50: '#dfda7c',
    500: '#cccb3e',
    950: '#000000',
  },
}
SCSS
$custom: #cccb3e;
$custom-light: #dfda7c;
$custom-dark: #000000;
JSON
{
  "hex": "#cccb3e",
  "rgb": {
    "r": 204,
    "g": 203,
    "b": 62
  },
  "hsl": {
    "h": 59.577,
    "s": 58.197,
    "l": 52.157
  },
  "oklch": {
    "l": 0.81822,
    "c": 0.1566,
    "h": 109
  },
  "luminance": 0.55897
}

Semantic roles & 50–950 ramp

primary
#CCCB3E
secondary
#34347B
accent
#47E146
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CCCB3E

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

Preview Lab → · Contrast checker → · Palette generator →

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