#CCB559#CCB559

#CCB559 is a light, moderate yellow. Relative luminance 0.466; OKLCH L 77.4% C 0.115 H 95.5°. Best body text is #000000 at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#CCB559
RGBrgb(204, 181, 89)
HSLhsl(48, 53%, 57%)
HSVhsv(48, 56%, 80%)
CMYKcmyk(0%, 11.3%, 56.4%, 20%)
CIE-LABlab(73.94, -3.14, 49.16)
CIE-LCHlch(73.94, 49.26, 93.66°)
OKLaboklab(77.43% -0.0111 0.1149)
OKLCHoklch(77.43% 0.115 95.5)
XYZxyz(43.2306, 46.6083, 16.1684)
Luminance0.4661 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB559 #5970CC
analogous
#CC7C59 #CCB559 #A9CC59
triadic
#CCB559 #59CCB5 #B559CC
tetradic
#CCB559 #59CC7C #5970CC #CC59A9
square
#CCB559 #59CC7C #5970CC #CC59A9
split-complementary
#CCB559 #59A9CC #7C59CC
monochromatic
#837028 #B19936 #CCB559 #DACA88 #E9DFB7

Accessibility & contrast

On white

2.03
#CCB559 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.32
#CCB559 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB559
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB559#FFFFFF#000000##000000
##CCB5591.002.0310.3210.32
#FFFFFF2.031.0021.0021.00
#00000010.3221.001.001.00
##00000010.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B150
Deuteranopia (green-blind)
#CBB95D
Tritanopia (blue-blind)
#DBA9A0
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #ccb559;
/* rgb */ color: rgb(204, 181, 89);
/* oklch */ color: oklch(77.4% 0.115 95.5);
Tailwind
colors: {
  custom: {
    50: '#deca8b',
    500: '#ccb559',
    950: '#000000',
  },
}
SCSS
$custom: #ccb559;
$custom-light: #deca8b;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb559",
  "rgb": {
    "r": 204,
    "g": 181,
    "b": 89
  },
  "hsl": {
    "h": 48,
    "s": 52.995,
    "l": 57.451
  },
  "oklch": {
    "l": 0.7743,
    "c": 0.11539,
    "h": 95.5
  },
  "luminance": 0.46606
}

Semantic roles & 50–950 ramp

primary
#CCB559
secondary
#A9B2D8
accent
#68DC4B
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CCB559

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

Preview Lab → · Contrast checker → · Palette generator →

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