#CCB551#CCB551

#CCB551 is a light, vivid yellow. Relative luminance 0.465; OKLCH L 77.3% C 0.123 H 96.4°. Best body text is #000000 at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#CCB551
RGBrgb(204, 181, 81)
HSLhsl(49, 55%, 56%)
HSVhsv(49, 60%, 80%)
CMYKcmyk(0%, 11.3%, 60.3%, 20%)
CIE-LABlab(73.86, -3.74, 52.81)
CIE-LCHlch(73.86, 52.94, 94.05°)
OKLaboklab(77.34% -0.0137 0.1217)
OKLCHoklch(77.34% 0.123 96.4)
XYZxyz(42.9127, 46.4812, 14.4944)
Luminance0.4648 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB551 #5168CC
analogous
#CC7751 #CCB551 #A6CC51
triadic
#CCB551 #51CCB5 #B551CC
tetradic
#CCB551 #51CC77 #5168CC #CC51A6
square
#CCB551 #51CC77 #5168CC #CC51A6
split-complementary
#CCB551 #51A6CC #7751CC
monochromatic
#7E6D25 #AD9633 #CCB551 #DAC980 #E8DDB0

Accessibility & contrast

On white

2.04
#CCB551 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.30
#CCB551 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB551
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB551#FFFFFF#000000##000000
##CCB5511.002.0410.3010.30
#FFFFFF2.041.0021.0021.00
#00000010.3021.001.001.00
##00000010.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B146
Deuteranopia (green-blind)
#CCB956
Tritanopia (blue-blind)
#DBA99F
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #ccb551;
/* rgb */ color: rgb(204, 181, 81);
/* oklch */ color: oklch(77.3% 0.123 96.4);
Tailwind
colors: {
  custom: {
    50: '#deca85',
    500: '#ccb551',
    950: '#000000',
  },
}
SCSS
$custom: #ccb551;
$custom-light: #deca85;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb551",
  "rgb": {
    "r": 204,
    "g": 181,
    "b": 81
  },
  "hsl": {
    "h": 48.78,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.77339,
    "c": 0.12251,
    "h": 96.4
  },
  "luminance": 0.46479
}

Semantic roles & 50–950 ramp

primary
#CCB551
secondary
#A3ACD6
accent
#66DE4A
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CCB551

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

Preview Lab → · Contrast checker → · Palette generator →

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