#CCB858#CCB858

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

Color values

HEX#CCB858
RGBrgb(204, 184, 88)
HSLhsl(50, 53%, 57%)
HSVhsv(50, 57%, 80%)
CMYKcmyk(0%, 9.8%, 56.9%, 20%)
CIE-LABlab(74.71, -4.79, 50.53)
CIE-LCHlch(74.71, 50.75, 95.42°)
OKLaboklab(78.04% -0.0159 0.1177)
OKLCHoklch(78.04% 0.119 97.7)
XYZxyz(43.8054, 47.8248, 16.1543)
Luminance0.4782 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB858 #586CCC
analogous
#CC7E58 #CCB858 #A6CC58
triadic
#CCB858 #58CCB8 #B858CC
tetradic
#CCB858 #58CC7E #586CCC #CC58A6
square
#CCB858 #58CC7E #586CCC #CC58A6
split-complementary
#CCB858 #58A6CC #7E58CC
monochromatic
#827228 #B19C36 #CCB858 #DACC87 #E9E0B6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCB858#FFFFFF#000000##000000
##CCB8581.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)
#C8B44F
Deuteranopia (green-blind)
#CDBB5C
Tritanopia (blue-blind)
#DAACA3
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #ccb858;
/* rgb */ color: rgb(204, 184, 88);
/* oklch */ color: oklch(78.0% 0.119 97.7);
Tailwind
colors: {
  custom: {
    50: '#decd8a',
    500: '#ccb858',
    950: '#000000',
  },
}
SCSS
$custom: #ccb858;
$custom-light: #decd8a;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb858",
  "rgb": {
    "r": 204,
    "g": 184,
    "b": 88
  },
  "hsl": {
    "h": 49.655,
    "s": 53.211,
    "l": 57.255
  },
  "oklch": {
    "l": 0.7804,
    "c": 0.11877,
    "h": 97.7
  },
  "luminance": 0.47823
}

Semantic roles & 50–950 ramp

primary
#CCB858
secondary
#A8B1D7
accent
#64DD4B
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CCB858

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

Preview Lab → · Contrast checker → · Palette generator →

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