#CCBA56#CCBA56

#CCBA56 is a light, vivid yellow. Relative luminance 0.486; OKLCH L 78.4% C 0.122 H 99.2°. Best body text is #000000 at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#CCBA56
RGBrgb(204, 186, 86)
HSLhsl(51, 54%, 57%)
HSVhsv(51, 58%, 80%)
CMYKcmyk(0%, 8.8%, 57.8%, 20%)
CIE-LABlab(75.22, -5.98, 52.04)
CIE-LCHlch(75.22, 52.38, 96.56°)
OKLaboklab(78.43% -0.0196 0.1207)
OKLCHoklch(78.43% 0.122 99.2)
XYZxyz(44.1421, 48.6289, 15.8634)
Luminance0.4863 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBA56 #5668CC
analogous
#CC7F56 #CCBA56 #A3CC56
triadic
#CCBA56 #56CCBA #BA56CC
tetradic
#CCBA56 #56CC7F #5668CC #CC56A3
square
#CCBA56 #56CC7F #5668CC #CC56A3
split-complementary
#CCBA56 #56A3CC #7F56CC
monochromatic
#817327 #B09D35 #CCBA56 #DACD85 #E8E0B4

Accessibility & contrast

On white

1.96
#CCBA56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.73
#CCBA56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBA56
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBA56#FFFFFF#000000##000000
##CCBA561.001.9610.7310.73
#FFFFFF1.961.0021.0021.00
#00000010.7321.001.001.00
##00000010.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB54C
Deuteranopia (green-blind)
#CFBC5B
Tritanopia (blue-blind)
#DAAEA4
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #ccba56;
/* rgb */ color: rgb(204, 186, 86);
/* oklch */ color: oklch(78.4% 0.122 99.2);
Tailwind
colors: {
  custom: {
    50: '#dece89',
    500: '#ccba56',
    950: '#000000',
  },
}
SCSS
$custom: #ccba56;
$custom-light: #dece89;
$custom-dark: #000000;
JSON
{
  "hex": "#ccba56",
  "rgb": {
    "r": 204,
    "g": 186,
    "b": 86
  },
  "hsl": {
    "h": 50.847,
    "s": 53.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.78434,
    "c": 0.1223,
    "h": 99.2
  },
  "luminance": 0.48627
}

Semantic roles & 50–950 ramp

primary
#CCBA56
secondary
#A7AED7
accent
#61DD4B
background
#FEFCF8
surface
#FCF9F0
border
#D5D2CB
text
#15130C
muted
#84827D

Preview Lab

Preview with #CCBA56

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

Preview Lab → · Contrast checker → · Palette generator →

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