#CCB662#CCB662

#CCB662 is a light, moderate yellow. Relative luminance 0.472; OKLCH L 77.8% C 0.108 H 95.0°. Best body text is #000000 at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#CCB662
RGBrgb(204, 182, 98)
HSLhsl(48, 51%, 59%)
HSVhsv(48, 52%, 80%)
CMYKcmyk(0%, 10.8%, 52%, 20%)
CIE-LABlab(74.30, -2.93, 45.22)
CIE-LCHlch(74.30, 45.32, 93.70°)
OKLaboklab(77.75% -0.0094 0.1072)
OKLCHoklch(77.75% 0.108 95)
XYZxyz(43.8359, 47.1770, 18.3499)
Luminance0.4718 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB662 #6278CC
analogous
#CC8162 #CCB662 #ADCC62
triadic
#CCB662 #62CCB6 #B662CC
tetradic
#CCB662 #62CC81 #6278CC #CC62AD
square
#CCB662 #62CC81 #6278CC #CC62AD
split-complementary
#CCB662 #62ADCC #8162CC
monochromatic
#88752C #B69C3B #CCB662 #DBCB90 #EAE1BE

Accessibility & contrast

On white

2.01
#CCB662 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.44
#CCB662 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB662
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB662#FFFFFF#000000##000000
##CCB6621.002.0110.4410.44
#FFFFFF2.011.0021.0021.00
#00000010.4421.001.001.00
##00000010.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B35B
Deuteranopia (green-blind)
#CBBA65
Tritanopia (blue-blind)
#DAABA2
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #ccb662;
/* rgb */ color: rgb(204, 182, 98);
/* oklch */ color: oklch(77.8% 0.108 95.0);
Tailwind
colors: {
  custom: {
    50: '#decb91',
    500: '#ccb662',
    950: '#000000',
  },
}
SCSS
$custom: #ccb662;
$custom-light: #decb91;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb662",
  "rgb": {
    "r": 204,
    "g": 182,
    "b": 98
  },
  "hsl": {
    "h": 47.547,
    "s": 50.962,
    "l": 59.216
  },
  "oklch": {
    "l": 0.77751,
    "c": 0.1076,
    "h": 95
  },
  "luminance": 0.47175
}

Semantic roles & 50–950 ramp

primary
#CCB662
secondary
#B0B9DA
accent
#6BDA4D
background
#FDFCF9
surface
#FBF8F1
border
#D4D1CB
text
#15130D
muted
#83827E

Preview Lab

Preview with #CCB662

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

Preview Lab → · Contrast checker → · Palette generator →

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