#CCB756#CCB756

#CCB756 is a light, moderate yellow. Relative luminance 0.474; OKLCH L 77.8% C 0.120 H 97.2°. Best body text is #000000 at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#CCB756
RGBrgb(204, 183, 86)
HSLhsl(49, 54%, 57%)
HSVhsv(49, 58%, 80%)
CMYKcmyk(0%, 10.3%, 57.8%, 20%)
CIE-LABlab(74.43, -4.42, 51.14)
CIE-LCHlch(74.43, 51.33, 94.94°)
OKLaboklab(77.81% -0.0151 0.1188)
OKLCHoklch(77.81% 0.12 97.2)
XYZxyz(43.5167, 47.3781, 15.6550)
Luminance0.4738 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB756 #566BCC
analogous
#CC7C56 #CCB756 #A6CC56
triadic
#CCB756 #56CCB7 #B756CC
tetradic
#CCB756 #56CC7C #566BCC #CC56A6
square
#CCB756 #56CC7C #566BCC #CC56A6
split-complementary
#CCB756 #56A6CC #7C56CC
monochromatic
#817127 #B09A35 #CCB756 #DACB85 #E8DFB4

Accessibility & contrast

On white

2.00
#CCB756 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.48
#CCB756 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB756
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB756#FFFFFF#000000##000000
##CCB7561.002.0010.4810.48
#FFFFFF2.001.0021.0021.00
#00000010.4821.001.001.00
##00000010.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B34C
Deuteranopia (green-blind)
#CDBA5A
Tritanopia (blue-blind)
#DBABA1
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #ccb756;
/* rgb */ color: rgb(204, 183, 86);
/* oklch */ color: oklch(77.8% 0.120 97.2);
Tailwind
colors: {
  custom: {
    50: '#decc89',
    500: '#ccb756',
    950: '#000000',
  },
}
SCSS
$custom: #ccb756;
$custom-light: #decc89;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb756",
  "rgb": {
    "r": 204,
    "g": 183,
    "b": 86
  },
  "hsl": {
    "h": 49.322,
    "s": 53.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.77809,
    "c": 0.11975,
    "h": 97.2
  },
  "luminance": 0.47376
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCB756

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

Preview Lab → · Contrast checker → · Palette generator →

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