#CCCA3E#CCCA3E

#CCCA3E is a light, vivid yellow. Relative luminance 0.554; OKLCH L 81.6% C 0.156 H 108.6°. Best body text is #000000 at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#CCCA3E
RGBrgb(204, 202, 62)
HSLhsl(59, 58%, 52%)
HSVhsv(59, 70%, 80%)
CMYKcmyk(0%, 1%, 69.6%, 20%)
CIE-LABlab(79.29, -15.63, 66.35)
CIE-LCHlch(79.29, 68.17, 103.26°)
OKLaboklab(81.61% -0.0496 0.1475)
OKLCHoklch(81.61% 0.156 108.6)
XYZxyz(46.8936, 55.4277, 12.7849)
Luminance0.5543 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCA3E #3E40CC
analogous
#CC833E #CCCA3E #87CC3E
triadic
#CCCA3E #3ECCCA #CA3ECC
tetradic
#CCCA3E #3ECC83 #3E40CC #CC3E87
square
#CCCA3E #3ECC83 #3E40CC #CC3E87
split-complementary
#CCCA3E #3E87CC #833ECC
monochromatic
#72701E #A2A02B #CCCA3E #D9D76E #E6E59F

Accessibility & contrast

On white

1.74
#CCCA3E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.09
#CCCA3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCA3E
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCA3E#FFFFFF#000000##000000
##CCCA3E1.001.7412.0912.09
#FFFFFF1.741.0021.0021.00
#00000012.0921.001.001.00
##00000012.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC227
Deuteranopia (green-blind)
#DCC748
Tritanopia (blue-blind)
#DABDAE
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #ccca3e;
/* rgb */ color: rgb(204, 202, 62);
/* oklch */ color: oklch(81.6% 0.156 108.6);
Tailwind
colors: {
  custom: {
    50: '#dfd97c',
    500: '#ccca3e',
    950: '#000000',
  },
}
SCSS
$custom: #ccca3e;
$custom-light: #dfd97c;
$custom-dark: #000000;
JSON
{
  "hex": "#ccca3e",
  "rgb": {
    "r": 204,
    "g": 202,
    "b": 62
  },
  "hsl": {
    "h": 59.155,
    "s": 58.197,
    "l": 52.157
  },
  "oklch": {
    "l": 0.81607,
    "c": 0.15562,
    "h": 108.6
  },
  "luminance": 0.55426
}

Semantic roles & 50–950 ramp

primary
#CCCA3E
secondary
#34357B
accent
#49E146
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CCCA3E

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

Preview Lab → · Contrast checker → · Palette generator →

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