#CCB855#CCB855

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

Color values

HEX#CCB855
RGBrgb(204, 184, 85)
HSLhsl(50, 54%, 57%)
HSVhsv(50, 58%, 80%)
CMYKcmyk(0%, 9.8%, 58.3%, 20%)
CIE-LABlab(74.68, -5.02, 51.89)
CIE-LCHlch(74.68, 52.13, 95.52°)
OKLaboklab(78.01% -0.0169 0.1203)
OKLCHoklch(78.01% 0.121 98)
XYZxyz(43.6837, 47.7761, 15.5133)
Luminance0.4777 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB855 #5569CC
analogous
#CC7D55 #CCB855 #A5CC55
triadic
#CCB855 #55CCB8 #B855CC
tetradic
#CCB855 #55CC7D #5569CC #CC55A5
square
#CCB855 #55CC7D #5569CC #CC55A5
split-complementary
#CCB855 #55A5CC #7D55CC
monochromatic
#807126 #AF9B35 #CCB855 #DACC84 #E8DFB3

Accessibility & contrast

On white

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

On black

10.55
#CCB855 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB855
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB855#FFFFFF#000000##000000
##CCB8551.001.9910.5510.55
#FFFFFF1.991.0021.0021.00
#00000010.5521.001.001.00
##00000010.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B44B
Deuteranopia (green-blind)
#CDBB5A
Tritanopia (blue-blind)
#DBACA2
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #ccb855;
/* rgb */ color: rgb(204, 184, 85);
/* oklch */ color: oklch(78.0% 0.121 98.0);
Tailwind
colors: {
  custom: {
    50: '#decd88',
    500: '#ccb855',
    950: '#000000',
  },
}
SCSS
$custom: #ccb855;
$custom-light: #decd88;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb855",
  "rgb": {
    "r": 204,
    "g": 184,
    "b": 85
  },
  "hsl": {
    "h": 49.916,
    "s": 53.846,
    "l": 56.667
  },
  "oklch": {
    "l": 0.78006,
    "c": 0.12148,
    "h": 98
  },
  "luminance": 0.47774
}

Semantic roles & 50–950 ramp

primary
#CCB855
secondary
#A6AED7
accent
#63DD4B
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#15130C
muted
#84827D

Preview Lab

Preview with #CCB855

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

Preview Lab → · Contrast checker → · Palette generator →

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