#CCBD62#CCBD62

#CCBD62 is a light, moderate yellow. Relative luminance 0.501; OKLCH L 79.2% C 0.114 H 100.1°. Best body text is #000000 at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#CCBD62
RGBrgb(204, 189, 98)
HSLhsl(52, 51%, 59%)
HSVhsv(52, 52%, 80%)
CMYKcmyk(0%, 7.4%, 52%, 20%)
CIE-LABlab(76.14, -6.58, 47.42)
CIE-LCHlch(76.14, 47.87, 97.90°)
OKLaboklab(79.21% -0.02 0.112)
OKLCHoklch(79.21% 0.114 100.1)
XYZxyz(45.3055, 50.1161, 18.8398)
Luminance0.5011 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBD62 #6271CC
analogous
#CC8862 #CCBD62 #A6CC62
triadic
#CCBD62 #62CCBD #BD62CC
tetradic
#CCBD62 #62CC88 #6271CC #CC62A6
square
#CCBD62 #62CC88 #6271CC #CC62A6
split-complementary
#CCBD62 #62A6CC #8862CC
monochromatic
#887B2C #B6A43B #CCBD62 #DBD090 #EAE4BE

Accessibility & contrast

On white

1.91
#CCBD62 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.02
#CCBD62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBD62
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBD62#FFFFFF#000000##000000
##CCBD621.001.9111.0211.02
#FFFFFF1.911.0021.0021.00
#00000011.0221.001.001.00
##00000011.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB85A
Deuteranopia (green-blind)
#D0BE66
Tritanopia (blue-blind)
#D9B2A8
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #ccbd62;
/* rgb */ color: rgb(204, 189, 98);
/* oklch */ color: oklch(79.2% 0.114 100.1);
Tailwind
colors: {
  custom: {
    50: '#ded091',
    500: '#ccbd62',
    950: '#000000',
  },
}
SCSS
$custom: #ccbd62;
$custom-light: #ded091;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbd62",
  "rgb": {
    "r": 204,
    "g": 189,
    "b": 98
  },
  "hsl": {
    "h": 51.509,
    "s": 50.962,
    "l": 59.216
  },
  "oklch": {
    "l": 0.79206,
    "c": 0.11375,
    "h": 100.1
  },
  "luminance": 0.50114
}

Semantic roles & 50–950 ramp

primary
#CCBD62
secondary
#444E8F
accent
#61DA4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CCBD62

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

Preview Lab → · Contrast checker → · Palette generator →

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