#CCBC62#CCBC62

#CCBC62 is a light, moderate yellow. Relative luminance 0.497; OKLCH L 79.0% C 0.113 H 99.4°. Best body text is #000000 at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#CCBC62
RGBrgb(204, 188, 98)
HSLhsl(51, 51%, 59%)
HSVhsv(51, 52%, 80%)
CMYKcmyk(0%, 7.8%, 52%, 20%)
CIE-LABlab(75.88, -6.06, 47.10)
CIE-LCHlch(75.88, 47.49, 97.33°)
OKLaboklab(79% -0.0185 0.1113)
OKLCHoklch(79% 0.113 99.4)
XYZxyz(45.0911, 49.6873, 18.7683)
Luminance0.4969 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBC62 #6272CC
analogous
#CC8762 #CCBC62 #A7CC62
triadic
#CCBC62 #62CCBC #BC62CC
tetradic
#CCBC62 #62CC87 #6272CC #CC62A7
square
#CCBC62 #62CC87 #6272CC #CC62A7
split-complementary
#CCBC62 #62A7CC #8762CC
monochromatic
#887A2C #B6A33B #CCBC62 #DBD090 #EAE3BE

Accessibility & contrast

On white

1.92
#CCBC62 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.94
#CCBC62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBC62
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBC62#FFFFFF#000000##000000
##CCBC621.001.9210.9410.94
#FFFFFF1.921.0021.0021.00
#00000010.9421.001.001.00
##00000010.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB85A
Deuteranopia (green-blind)
#CFBE66
Tritanopia (blue-blind)
#DAB1A7
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #ccbc62;
/* rgb */ color: rgb(204, 188, 98);
/* oklch */ color: oklch(79.0% 0.113 99.4);
Tailwind
colors: {
  custom: {
    50: '#decf91',
    500: '#ccbc62',
    950: '#000000',
  },
}
SCSS
$custom: #ccbc62;
$custom-light: #decf91;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbc62",
  "rgb": {
    "r": 204,
    "g": 188,
    "b": 98
  },
  "hsl": {
    "h": 50.943,
    "s": 50.962,
    "l": 59.216
  },
  "oklch": {
    "l": 0.78997,
    "c": 0.11282,
    "h": 99.4
  },
  "luminance": 0.49686
}

Semantic roles & 50–950 ramp

primary
#CCBC62
secondary
#B0B6DA
accent
#63DA4D
background
#FDFCF9
surface
#FBF9F1
border
#D4D2CB
text
#15130D
muted
#83827E

Preview Lab

Preview with #CCBC62

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

Preview Lab → · Contrast checker → · Palette generator →

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