#CCBC46#CCBC46

#CCBC46 is a light, vivid yellow. Relative luminance 0.492; OKLCH L 78.7% C 0.137 H 101.5°. Best body text is #000000 at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#CCBC46
RGBrgb(204, 188, 70)
HSLhsl(53, 57%, 54%)
HSVhsv(53, 66%, 80%)
CMYKcmyk(0%, 7.8%, 65.7%, 20%)
CIE-LABlab(75.61, -8.08, 59.50)
CIE-LCHlch(75.61, 60.05, 97.74°)
OKLaboklab(78.69% -0.0274 0.1344)
OKLCHoklch(78.69% 0.137 101.5)
XYZxyz(43.9924, 49.2479, 12.9817)
Luminance0.4925 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBC46 #4656CC
analogous
#CC7946 #CCBC46 #99CC46
triadic
#CCBC46 #46CCBC #BC46CC
tetradic
#CCBC46 #46CC79 #4656CC #CC4699
square
#CCBC46 #46CC79 #4656CC #CC4699
split-complementary
#CCBC46 #4699CC #7946CC
monochromatic
#776D21 #A7982E #CCBC46 #D9CD76 #E6DFA6

Accessibility & contrast

On white

1.94
#CCBC46 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.85
#CCBC46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBC46
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBC46#FFFFFF#000000##000000
##CCBC461.001.9410.8510.85
#FFFFFF1.941.0021.0021.00
#00000010.8521.001.001.00
##00000010.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB637
Deuteranopia (green-blind)
#D1BD4D
Tritanopia (blue-blind)
#DBAFA4
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #ccbc46;
/* rgb */ color: rgb(204, 188, 70);
/* oklch */ color: oklch(78.7% 0.137 101.5);
Tailwind
colors: {
  custom: {
    50: '#dfcf7f',
    500: '#ccbc46',
    950: '#000000',
  },
}
SCSS
$custom: #ccbc46;
$custom-light: #dfcf7f;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbc46",
  "rgb": {
    "r": 204,
    "g": 188,
    "b": 70
  },
  "hsl": {
    "h": 52.836,
    "s": 56.78,
    "l": 53.725
  },
  "oklch": {
    "l": 0.78694,
    "c": 0.13714,
    "h": 101.5
  },
  "luminance": 0.49246
}

Semantic roles & 50–950 ramp

primary
#CCBC46
secondary
#9AA1D4
accent
#5AE048
background
#FEFCF8
surface
#FCF9EF
border
#D5D2CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #CCBC46

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

Preview Lab → · Contrast checker → · Palette generator →

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