#CCAA2D#CCAA2D

#CCAA2D is a light, vivid yellow. Relative luminance 0.418; OKLCH L 74.8% C 0.140 H 92.8°. Best body text is #000000 at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#CCAA2D
RGBrgb(204, 170, 45)
HSLhsl(47, 64%, 49%)
HSVhsv(47, 78%, 80%)
CMYKcmyk(0%, 16.7%, 77.9%, 20%)
CIE-LABlab(70.72, 0.14, 64.20)
CIE-LCHlch(70.72, 64.20, 89.88°)
OKLaboklab(74.77% -0.0067 0.1397)
OKLCHoklch(74.77% 0.14 92.8)
XYZxyz(39.7525, 41.7787, 8.4524)
Luminance0.4178 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCAA2D #2D4FCC
analogous
#CC5B2D #CCAA2D #9FCC2D
triadic
#CCAA2D #2DCCAA #AA2DCC
tetradic
#CCAA2D #2DCC5B #2D4FCC #CC2D9F
square
#CCAA2D #2DCC5B #2D4FCC #CC2D9F
split-complementary
#CCAA2D #2D9FCC #5B2DCC
monochromatic
#685617 #9A8022 #CCAA2D #DBC05B #E6D38D

Accessibility & contrast

On white

2.24
#CCAA2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.36
#CCAA2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCAA2D
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCAA2D#FFFFFF#000000##000000
##CCAA2D1.002.249.369.36
#FFFFFF2.241.0021.0021.00
#0000009.3621.001.001.00
##0000009.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA712
Deuteranopia (green-blind)
#C6B135
Tritanopia (blue-blind)
#DD9C92
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #ccaa2d;
/* rgb */ color: rgb(204, 170, 45);
/* oklch */ color: oklch(74.8% 0.140 92.8);
Tailwind
colors: {
  custom: {
    50: '#e0c270',
    500: '#ccaa2d',
    950: '#000000',
  },
}
SCSS
$custom: #ccaa2d;
$custom-light: #e0c270;
$custom-dark: #000000;
JSON
{
  "hex": "#ccaa2d",
  "rgb": {
    "r": 204,
    "g": 170,
    "b": 45
  },
  "hsl": {
    "h": 47.17,
    "s": 63.855,
    "l": 48.824
  },
  "oklch": {
    "l": 0.74771,
    "c": 0.1399,
    "h": 92.8
  },
  "luminance": 0.41776
}

Semantic roles & 50–950 ramp

primary
#CCAA2D
secondary
#8595D0
accent
#64E741
background
#FEFBF7
surface
#FDF7ED
border
#D5D0C8
text
#161208
muted
#84817B

Preview Lab

Preview with #CCAA2D

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

Preview Lab → · Contrast checker → · Palette generator →

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