#CCCA3F#CCCA3F

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

Color values

HEX#CCCA3F
RGBrgb(204, 202, 63)
HSLhsl(59, 58%, 52%)
HSVhsv(59, 69%, 80%)
CMYKcmyk(0%, 1%, 69.1%, 20%)
CIE-LABlab(79.29, -15.58, 65.99)
CIE-LCHlch(79.29, 67.81, 103.28°)
OKLaboklab(81.61% -0.0494 0.1469)
OKLCHoklch(81.61% 0.155 108.6)
XYZxyz(46.9213, 55.4388, 12.9308)
Luminance0.5544 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCA3F #3F41CC
analogous
#CC843F #CCCA3F #88CC3F
triadic
#CCCA3F #3FCCCA #CA3FCC
tetradic
#CCCA3F #3FCC84 #3F41CC #CC3F88
square
#CCCA3F #3FCC84 #3F41CC #CC3F88
split-complementary
#CCCA3F #3F88CC #843FCC
monochromatic
#72711E #A3A12B #CCCA3F #D9D76F #E6E5A0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCCA3F#FFFFFF#000000##000000
##CCCA3F1.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)
#DAC228
Deuteranopia (green-blind)
#DCC749
Tritanopia (blue-blind)
#DABDAF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #ccca3f;
/* rgb */ color: rgb(204, 202, 63);
/* oklch */ color: oklch(81.6% 0.155 108.6);
Tailwind
colors: {
  custom: {
    50: '#dfd97d',
    500: '#ccca3f',
    950: '#000000',
  },
}
SCSS
$custom: #ccca3f;
$custom-light: #dfd97d;
$custom-dark: #000000;
JSON
{
  "hex": "#ccca3f",
  "rgb": {
    "r": 204,
    "g": 202,
    "b": 63
  },
  "hsl": {
    "h": 59.149,
    "s": 58.025,
    "l": 52.353
  },
  "oklch": {
    "l": 0.81614,
    "c": 0.15498,
    "h": 108.6
  },
  "luminance": 0.55437
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCCA3F

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

Preview Lab → · Contrast checker → · Palette generator →

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