#CCB956#CCB956

#CCB956 is a light, vivid yellow. Relative luminance 0.482; OKLCH L 78.2% C 0.121 H 98.6°. Best body text is #000000 at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#CCB956
RGBrgb(204, 185, 86)
HSLhsl(50, 54%, 57%)
HSVhsv(50, 58%, 80%)
CMYKcmyk(0%, 9.3%, 57.8%, 20%)
CIE-LABlab(74.96, -5.46, 51.74)
CIE-LCHlch(74.96, 52.03, 96.03°)
OKLaboklab(78.22% -0.0181 0.1201)
OKLCHoklch(78.22% 0.121 98.6)
XYZxyz(43.9322, 48.2090, 15.7935)
Luminance0.4821 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB956 #5669CC
analogous
#CC7E56 #CCB956 #A4CC56
triadic
#CCB956 #56CCB9 #B956CC
tetradic
#CCB956 #56CC7E #5669CC #CC56A4
square
#CCB956 #56CC7E #5669CC #CC56A4
split-complementary
#CCB956 #56A4CC #7E56CC
monochromatic
#817227 #B09C35 #CCB956 #DACC85 #E8E0B4

Accessibility & contrast

On white

1.97
#CCB956 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.64
#CCB956 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB956
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB956#FFFFFF#000000##000000
##CCB9561.001.9710.6410.64
#FFFFFF1.971.0021.0021.00
#00000010.6421.001.001.00
##00000010.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B54C
Deuteranopia (green-blind)
#CEBB5B
Tritanopia (blue-blind)
#DAADA3
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #ccb956;
/* rgb */ color: rgb(204, 185, 86);
/* oklch */ color: oklch(78.2% 0.121 98.6);
Tailwind
colors: {
  custom: {
    50: '#decd89',
    500: '#ccb956',
    950: '#000000',
  },
}
SCSS
$custom: #ccb956;
$custom-light: #decd89;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb956",
  "rgb": {
    "r": 204,
    "g": 185,
    "b": 86
  },
  "hsl": {
    "h": 50.339,
    "s": 53.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.78225,
    "c": 0.12143,
    "h": 98.6
  },
  "luminance": 0.48207
}

Semantic roles & 50–950 ramp

primary
#CCB956
secondary
#A7AFD7
accent
#62DD4B
background
#FEFCF8
surface
#FCF9F0
border
#D5D2CB
text
#15130C
muted
#84827D

Preview Lab

Preview with #CCB956

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

Preview Lab → · Contrast checker → · Palette generator →

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