#CCBB62#CCBB62

#CCBB62 is a light, moderate yellow. Relative luminance 0.493; OKLCH L 78.8% C 0.112 H 98.7°. Best body text is #000000 at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#CCBB62
RGBrgb(204, 187, 98)
HSLhsl(50, 51%, 59%)
HSVhsv(50, 52%, 80%)
CMYKcmyk(0%, 8.3%, 52%, 20%)
CIE-LABlab(75.61, -5.54, 46.79)
CIE-LCHlch(75.61, 47.12, 96.75°)
OKLaboklab(78.79% -0.017 0.1106)
OKLCHoklch(78.79% 0.112 98.7)
XYZxyz(44.8782, 49.2616, 18.6974)
Luminance0.4926 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBB62 #6273CC
analogous
#CC8662 #CCBB62 #A8CC62
triadic
#CCBB62 #62CCBB #BB62CC
tetradic
#CCBB62 #62CC86 #6273CC #CC62A8
square
#CCBB62 #62CC86 #6273CC #CC62A8
split-complementary
#CCBB62 #62A8CC #8662CC
monochromatic
#88792C #B6A23B #CCBB62 #DBCF90 #EAE3BE

Accessibility & contrast

On white

1.94
#CCBB62 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.85
#CCBB62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBB62
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBB62#FFFFFF#000000##000000
##CCBB621.001.9410.8510.85
#FFFFFF1.941.0021.0021.00
#00000010.8521.001.001.00
##00000010.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB75A
Deuteranopia (green-blind)
#CFBD66
Tritanopia (blue-blind)
#DAB0A6
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #ccbb62;
/* rgb */ color: rgb(204, 187, 98);
/* oklch */ color: oklch(78.8% 0.112 98.7);
Tailwind
colors: {
  custom: {
    50: '#decf91',
    500: '#ccbb62',
    950: '#000000',
  },
}
SCSS
$custom: #ccbb62;
$custom-light: #decf91;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbb62",
  "rgb": {
    "r": 204,
    "g": 187,
    "b": 98
  },
  "hsl": {
    "h": 50.377,
    "s": 50.962,
    "l": 59.216
  },
  "oklch": {
    "l": 0.78788,
    "c": 0.11191,
    "h": 98.7
  },
  "luminance": 0.4926
}

Semantic roles & 50–950 ramp

primary
#CCBB62
secondary
#B0B7DA
accent
#64DA4D
background
#FDFCF9
surface
#FBF9F1
border
#D4D2CB
text
#15130D
muted
#83827E

Preview Lab

Preview with #CCBB62

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

Preview Lab → · Contrast checker → · Palette generator →

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