#CCCA46#CCCA46

#CCCA46 is a light, vivid yellow. Relative luminance 0.555; OKLCH L 81.7% C 0.150 H 108.5°. Best body text is #000000 at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#CCCA46
RGBrgb(204, 202, 70)
HSLhsl(59, 57%, 54%)
HSVhsv(59, 66%, 80%)
CMYKcmyk(0%, 1%, 65.7%, 20%)
CIE-LABlab(79.34, -15.20, 63.37)
CIE-LCHlch(79.34, 65.17, 103.49°)
OKLaboklab(81.67% -0.0476 0.1425)
OKLCHoklch(81.67% 0.15 108.5)
XYZxyz(47.1295, 55.5221, 14.0274)
Luminance0.5552 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCA46 #4648CC
analogous
#CC8746 #CCCA46 #8BCC46
triadic
#CCCA46 #46CCCA #CA46CC
tetradic
#CCCA46 #46CC87 #4648CC #CC468B
square
#CCCA46 #46CC87 #4648CC #CC468B
split-complementary
#CCCA46 #468BCC #8746CC
monochromatic
#777621 #A7A52E #CCCA46 #D9D876 #E6E5A6

Accessibility & contrast

On white

1.73
#CCCA46 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.10
#CCCA46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCA46
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCA46#FFFFFF#000000##000000
##CCCA461.001.7312.1012.10
#FFFFFF1.731.0021.0021.00
#00000012.1021.001.001.00
##00000012.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC233
Deuteranopia (green-blind)
#DCC74F
Tritanopia (blue-blind)
#DABDAF
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #ccca46;
/* rgb */ color: rgb(204, 202, 70);
/* oklch */ color: oklch(81.7% 0.150 108.5);
Tailwind
colors: {
  custom: {
    50: '#dfd980',
    500: '#ccca46',
    950: '#000000',
  },
}
SCSS
$custom: #ccca46;
$custom-light: #dfd980;
$custom-dark: #000000;
JSON
{
  "hex": "#ccca46",
  "rgb": {
    "r": 204,
    "g": 202,
    "b": 70
  },
  "hsl": {
    "h": 59.104,
    "s": 56.78,
    "l": 53.725
  },
  "oklch": {
    "l": 0.81667,
    "c": 0.15027,
    "h": 108.5
  },
  "luminance": 0.55521
}

Semantic roles & 50–950 ramp

primary
#CCCA46
secondary
#37387F
accent
#4AE048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CCCA46

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

Preview Lab → · Contrast checker → · Palette generator →

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