#CCB856#CCB856

#CCB856 is a light, vivid yellow. Relative luminance 0.478; OKLCH L 78.0% C 0.121 H 97.9°. Best body text is #000000 at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#CCB856
RGBrgb(204, 184, 86)
HSLhsl(50, 54%, 57%)
HSVhsv(50, 58%, 80%)
CMYKcmyk(0%, 9.8%, 57.8%, 20%)
CIE-LABlab(74.69, -4.94, 51.44)
CIE-LCHlch(74.69, 51.68, 95.49°)
OKLaboklab(78.02% -0.0166 0.1194)
OKLCHoklch(78.02% 0.121 97.9)
XYZxyz(43.7237, 47.7921, 15.7240)
Luminance0.4779 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB856 #566ACC
analogous
#CC7D56 #CCB856 #A5CC56
triadic
#CCB856 #56CCB8 #B856CC
tetradic
#CCB856 #56CC7D #566ACC #CC56A5
square
#CCB856 #56CC7D #566ACC #CC56A5
split-complementary
#CCB856 #56A5CC #7D56CC
monochromatic
#817227 #B09B35 #CCB856 #DACC85 #E8E0B4

Accessibility & contrast

On white

1.99
#CCB856 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.56
#CCB856 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB856
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB856#FFFFFF#000000##000000
##CCB8561.001.9910.5610.56
#FFFFFF1.991.0021.0021.00
#00000010.5621.001.001.00
##00000010.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B44C
Deuteranopia (green-blind)
#CDBB5B
Tritanopia (blue-blind)
#DAACA2
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #ccb856;
/* rgb */ color: rgb(204, 184, 86);
/* oklch */ color: oklch(78.0% 0.121 97.9);
Tailwind
colors: {
  custom: {
    50: '#decd89',
    500: '#ccb856',
    950: '#000000',
  },
}
SCSS
$custom: #ccb856;
$custom-light: #decd89;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb856",
  "rgb": {
    "r": 204,
    "g": 184,
    "b": 86
  },
  "hsl": {
    "h": 49.831,
    "s": 53.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.78017,
    "c": 0.12058,
    "h": 97.9
  },
  "luminance": 0.4779
}

Semantic roles & 50–950 ramp

primary
#CCB856
secondary
#A7AFD7
accent
#64DD4B
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#15130C
muted
#84827D

Preview Lab

Preview with #CCB856

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

Preview Lab → · Contrast checker → · Palette generator →

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