#CCB356#CCB356

#CCB356 is a light, moderate yellow. Relative luminance 0.457; OKLCH L 77.0% C 0.117 H 94.5°. Best body text is #000000 at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#CCB356
RGBrgb(204, 179, 86)
HSLhsl(47, 54%, 57%)
HSVhsv(47, 58%, 80%)
CMYKcmyk(0%, 12.3%, 57.8%, 20%)
CIE-LABlab(73.38, -2.32, 49.94)
CIE-LCHlch(73.38, 50.00, 92.66°)
OKLaboklab(76.98% -0.0091 0.1162)
OKLCHoklch(76.98% 0.117 94.5)
XYZxyz(42.7034, 45.7515, 15.3839)
Luminance0.4575 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB356 #566FCC
analogous
#CC7856 #CCB356 #AACC56
triadic
#CCB356 #56CCB3 #B356CC
tetradic
#CCB356 #56CC78 #566FCC #CC56AA
square
#CCB356 #56CC78 #566FCC #CC56AA
split-complementary
#CCB356 #56AACC #7856CC
monochromatic
#816E27 #B09635 #CCB356 #DAC885 #E8DDB4

Accessibility & contrast

On white

2.07
#CCB356 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.15
#CCB356 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB356
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB356#FFFFFF#000000##000000
##CCB3561.002.0710.1510.15
#FFFFFF2.071.0021.0021.00
#00000010.1521.001.001.00
##00000010.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3B04D
Deuteranopia (green-blind)
#CAB85A
Tritanopia (blue-blind)
#DBA79E
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #ccb356;
/* rgb */ color: rgb(204, 179, 86);
/* oklch */ color: oklch(77.0% 0.117 94.5);
Tailwind
colors: {
  custom: {
    50: '#dec988',
    500: '#ccb356',
    950: '#000000',
  },
}
SCSS
$custom: #ccb356;
$custom-light: #dec988;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb356",
  "rgb": {
    "r": 204,
    "g": 179,
    "b": 86
  },
  "hsl": {
    "h": 47.288,
    "s": 53.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.76981,
    "c": 0.11656,
    "h": 94.5
  },
  "luminance": 0.45749
}

Semantic roles & 50–950 ramp

primary
#CCB356
secondary
#A7B1D7
accent
#6ADD4B
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#15130C
muted
#84827D

Preview Lab

Preview with #CCB356

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

Preview Lab → · Contrast checker → · Palette generator →

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