#CCB156#CCB156

#CCB156 is a light, moderate yellow. Relative luminance 0.450; OKLCH L 76.6% C 0.115 H 93.0°. Best body text is #000000 at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#CCB156
RGBrgb(204, 177, 86)
HSLhsl(46, 54%, 57%)
HSVhsv(46, 58%, 80%)
CMYKcmyk(0%, 13.2%, 57.8%, 20%)
CIE-LABlab(72.86, -1.27, 49.34)
CIE-LCHlch(72.86, 49.36, 91.47°)
OKLaboklab(76.57% -0.006 0.1149)
OKLCHoklch(76.57% 0.115 93)
XYZxyz(42.3055, 44.9556, 15.2512)
Luminance0.4495 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB156 #5671CC
analogous
#CC7656 #CCB156 #ACCC56
triadic
#CCB156 #56CCB1 #B156CC
tetradic
#CCB156 #56CC76 #5671CC #CC56AC
square
#CCB156 #56CC76 #5671CC #CC56AC
split-complementary
#CCB156 #56ACCC #7656CC
monochromatic
#816C27 #B09435 #CCB156 #DAC785 #E8DCB4

Accessibility & contrast

On white

2.10
#CCB156 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.99
#CCB156 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB156
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB156#FFFFFF#000000##000000
##CCB1561.002.109.999.99
#FFFFFF2.101.0021.0021.00
#0000009.9921.001.001.00
##0000009.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AE4D
Deuteranopia (green-blind)
#C8B65A
Tritanopia (blue-blind)
#DBA59D
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #ccb156;
/* rgb */ color: rgb(204, 177, 86);
/* oklch */ color: oklch(76.6% 0.115 93.0);
Tailwind
colors: {
  custom: {
    50: '#dec888',
    500: '#ccb156',
    950: '#000000',
  },
}
SCSS
$custom: #ccb156;
$custom-light: #dec888;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb156",
  "rgb": {
    "r": 204,
    "g": 177,
    "b": 86
  },
  "hsl": {
    "h": 46.271,
    "s": 53.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.76569,
    "c": 0.11509,
    "h": 93
  },
  "luminance": 0.44954
}

Semantic roles & 50–950 ramp

primary
#CCB156
secondary
#A7B2D7
accent
#6CDD4B
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#15130C
muted
#84827D

Preview Lab

Preview with #CCB156

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

Preview Lab → · Contrast checker → · Palette generator →

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