#CCB56E#CCB56E

#CCB56E is a light, moderate yellow. Relative luminance 0.470; OKLCH L 77.7% C 0.094 H 92.1°. Best body text is #000000 at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#CCB56E
RGBrgb(204, 181, 110)
HSLhsl(45, 48%, 62%)
HSVhsv(45, 46%, 80%)
CMYKcmyk(0%, 11.3%, 46.1%, 20%)
CIE-LABlab(74.20, -1.29, 39.06)
CIE-LCHlch(74.20, 39.08, 91.89°)
OKLaboklab(77.72% -0.0034 0.0944)
OKLCHoklch(77.72% 0.094 92.1)
XYZxyz(44.2415, 47.0127, 21.4928)
Luminance0.4701 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB56E #6E85CC
analogous
#CC866E #CCB56E #B4CC6E
triadic
#CCB56E #6ECCB5 #B56ECC
tetradic
#CCB56E #6ECC86 #6E85CC #CC6EB4
square
#CCB56E #6ECC86 #6E85CC #CC6EB4
split-complementary
#CCB56E #6EB4CC #866ECC
monochromatic
#8E7732 #BB9D42 #CCB56E #DCCC9B #ECE3C9

Accessibility & contrast

On white

2.02
#CCB56E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.40
#CCB56E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB56E
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB56E#FFFFFF#000000##000000
##CCB56E1.002.0210.4010.40
#FFFFFF2.021.0021.0021.00
#00000010.4021.001.001.00
##00000010.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3B268
Deuteranopia (green-blind)
#C9B971
Tritanopia (blue-blind)
#D9ABA4
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #ccb56e;
/* rgb */ color: rgb(204, 181, 110);
/* oklch */ color: oklch(77.7% 0.094 92.1);
Tailwind
colors: {
  custom: {
    50: '#ddcb99',
    500: '#ccb56e',
    950: '#000000',
  },
}
SCSS
$custom: #ccb56e;
$custom-light: #ddcb99;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb56e",
  "rgb": {
    "r": 204,
    "g": 181,
    "b": 110
  },
  "hsl": {
    "h": 45.319,
    "s": 47.959,
    "l": 61.569
  },
  "oklch": {
    "l": 0.77719,
    "c": 0.09447,
    "h": 92.1
  },
  "luminance": 0.47011
}

Semantic roles & 50–950 ramp

primary
#CCB56E
secondary
#B9C2DC
accent
#4EBB2A
background
#FDFCF9
surface
#FBF8F2
border
#D4D1CC
text
#15130E
muted
#83827E

Preview Lab

Preview with #CCB56E

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

Preview Lab → · Contrast checker → · Palette generator →

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