#CCB656#CCB656

#CCB656 is a light, moderate yellow. Relative luminance 0.470; OKLCH L 77.6% C 0.119 H 96.6°. Best body text is #000000 at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#CCB656
RGBrgb(204, 182, 86)
HSLhsl(49, 54%, 57%)
HSVhsv(49, 58%, 80%)
CMYKcmyk(0%, 10.8%, 57.8%, 20%)
CIE-LABlab(74.17, -3.90, 50.84)
CIE-LCHlch(74.17, 50.99, 94.38°)
OKLaboklab(77.6% -0.0136 0.1182)
OKLCHoklch(77.6% 0.119 96.6)
XYZxyz(43.3112, 46.9671, 15.5865)
Luminance0.4697 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB656 #566CCC
analogous
#CC7B56 #CCB656 #A7CC56
triadic
#CCB656 #56CCB6 #B656CC
tetradic
#CCB656 #56CC7B #566CCC #CC56A7
square
#CCB656 #56CC7B #566CCC #CC56A7
split-complementary
#CCB656 #56A7CC #7B56CC
monochromatic
#817027 #B09935 #CCB656 #DACA85 #E8DFB4

Accessibility & contrast

On white

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

On black

10.39
#CCB656 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB656
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB656#FFFFFF#000000##000000
##CCB6561.002.0210.3910.39
#FFFFFF2.021.0021.0021.00
#00000010.3921.001.001.00
##00000010.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B24C
Deuteranopia (green-blind)
#CCBA5A
Tritanopia (blue-blind)
#DBAAA1
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #ccb656;
/* rgb */ color: rgb(204, 182, 86);
/* oklch */ color: oklch(77.6% 0.119 96.6);
Tailwind
colors: {
  custom: {
    50: '#decb89',
    500: '#ccb656',
    950: '#000000',
  },
}
SCSS
$custom: #ccb656;
$custom-light: #decb89;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb656",
  "rgb": {
    "r": 204,
    "g": 182,
    "b": 86
  },
  "hsl": {
    "h": 48.814,
    "s": 53.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.77602,
    "c": 0.11893,
    "h": 96.6
  },
  "luminance": 0.46965
}

Semantic roles & 50–950 ramp

primary
#CCB656
secondary
#A7B0D7
accent
#66DD4B
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#15130C
muted
#84827D

Preview Lab

Preview with #CCB656

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

Preview Lab → · Contrast checker → · Palette generator →

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