#CCB651#CCB651

#CCB651 is a light, vivid yellow. Relative luminance 0.469; OKLCH L 77.5% C 0.123 H 97.1°. Best body text is #000000 at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#CCB651
RGBrgb(204, 182, 81)
HSLhsl(49, 55%, 56%)
HSVhsv(49, 60%, 80%)
CMYKcmyk(0%, 10.8%, 60.3%, 20%)
CIE-LABlab(74.12, -4.26, 53.10)
CIE-LCHlch(74.12, 53.27, 94.59°)
OKLaboklab(77.55% -0.0152 0.1224)
OKLCHoklch(77.55% 0.123 97.1)
XYZxyz(43.1168, 46.8893, 14.5624)
Luminance0.4689 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB651 #5167CC
analogous
#CC7851 #CCB651 #A5CC51
triadic
#CCB651 #51CCB6 #B651CC
tetradic
#CCB651 #51CC78 #5167CC #CC51A5
square
#CCB651 #51CC78 #5167CC #CC51A5
split-complementary
#CCB651 #51A5CC #7851CC
monochromatic
#7E6E25 #AD9733 #CCB651 #DACA80 #E8DEB0

Accessibility & contrast

On white

2.02
#CCB651 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.38
#CCB651 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB651
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB651#FFFFFF#000000##000000
##CCB6511.002.0210.3810.38
#FFFFFF2.021.0021.0021.00
#00000010.3821.001.001.00
##00000010.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B246
Deuteranopia (green-blind)
#CCB956
Tritanopia (blue-blind)
#DBAAA0
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #ccb651;
/* rgb */ color: rgb(204, 182, 81);
/* oklch */ color: oklch(77.5% 0.123 97.1);
Tailwind
colors: {
  custom: {
    50: '#decb85',
    500: '#ccb651',
    950: '#000000',
  },
}
SCSS
$custom: #ccb651;
$custom-light: #decb85;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb651",
  "rgb": {
    "r": 204,
    "g": 182,
    "b": 81
  },
  "hsl": {
    "h": 49.268,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.77546,
    "c": 0.12331,
    "h": 97.1
  },
  "luminance": 0.46887
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCB651

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

Preview Lab → · Contrast checker → · Palette generator →

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