#CCB56F#CCB56F

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

Color values

HEX#CCB56F
RGBrgb(204, 181, 111)
HSLhsl(45, 48%, 62%)
HSVhsv(45, 46%, 80%)
CMYKcmyk(0%, 11.3%, 45.6%, 20%)
CIE-LABlab(74.21, -1.19, 38.57)
CIE-LCHlch(74.21, 38.59, 91.77°)
OKLaboklab(77.73% -0.003 0.0934)
OKLCHoklch(77.73% 0.093 91.9)
XYZxyz(44.2963, 47.0346, 21.7811)
Luminance0.4703 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB56F #6F86CC
analogous
#CC876F #CCB56F #B5CC6F
triadic
#CCB56F #6FCCB5 #B56FCC
tetradic
#CCB56F #6FCC87 #6F86CC #CC6FB5
square
#CCB56F #6FCC87 #6F86CC #CC6FB5
split-complementary
#CCB56F #6FB5CC #876FCC
monochromatic
#8E7832 #BB9D42 #CCB56F #DCCC9C #ECE3C9

Accessibility & contrast

On white

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

On black

10.41
#CCB56F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB56F
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB56F#FFFFFF#000000##000000
##CCB56F1.002.0210.4110.41
#FFFFFF2.021.0021.0021.00
#00000010.4121.001.001.00
##00000010.4121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccb56f;
/* rgb */ color: rgb(204, 181, 111);
/* oklch */ color: oklch(77.7% 0.093 91.9);
Tailwind
colors: {
  custom: {
    50: '#ddcb99',
    500: '#ccb56f',
    950: '#000000',
  },
}
SCSS
$custom: #ccb56f;
$custom-light: #ddcb99;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb56f",
  "rgb": {
    "r": 204,
    "g": 181,
    "b": 111
  },
  "hsl": {
    "h": 45.161,
    "s": 47.692,
    "l": 61.765
  },
  "oklch": {
    "l": 0.77734,
    "c": 0.09341,
    "h": 91.9
  },
  "luminance": 0.47033
}

Semantic roles & 50–950 ramp

primary
#CCB56F
secondary
#BAC3DD
accent
#4EBB2B
background
#FDFCF9
surface
#FBF8F2
border
#D4D1CC
text
#15130E
muted
#83827E

Preview Lab

Preview with #CCB56F

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

Preview Lab → · Contrast checker → · Palette generator →

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