#CCAA3D#CCAA3D

#CCAA3D is a light, vivid yellow. Relative luminance 0.419; OKLCH L 74.9% C 0.130 H 91.3°. Best body text is #000000 at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#CCAA3D
RGBrgb(204, 170, 61)
HSLhsl(46, 58%, 52%)
HSVhsv(46, 70%, 80%)
CMYKcmyk(0%, 16.7%, 70.1%, 20%)
CIE-LABlab(70.82, 0.85, 58.29)
CIE-LCHlch(70.82, 58.29, 89.17°)
OKLaboklab(74.88% -0.0029 0.1303)
OKLCHoklch(74.88% 0.13 91.3)
XYZxyz(40.1210, 41.9261, 10.3933)
Luminance0.4192 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCAA3D #3D5FCC
analogous
#CC633D #CCAA3D #A7CC3D
triadic
#CCAA3D #3DCCAA #AA3DCC
tetradic
#CCAA3D #3DCC63 #3D5FCC #CC3DA7
square
#CCAA3D #3DCC63 #3D5FCC #CC3DA7
split-complementary
#CCAA3D #3DA7CC #633DCC
monochromatic
#715D1E #A1852A #CCAA3D #D9BF6D #E5D49E

Accessibility & contrast

On white

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

On black

9.38
#CCAA3D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCAA3D
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCAA3D#FFFFFF#000000##000000
##CCAA3D1.002.249.389.38
#FFFFFF2.241.0021.0021.00
#0000009.3821.001.001.00
##0000009.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA82E
Deuteranopia (green-blind)
#C5B143
Tritanopia (blue-blind)
#DC9C94
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #ccaa3d;
/* rgb */ color: rgb(204, 170, 61);
/* oklch */ color: oklch(74.9% 0.130 91.3);
Tailwind
colors: {
  custom: {
    50: '#dfc279',
    500: '#ccaa3d',
    950: '#000000',
  },
}
SCSS
$custom: #ccaa3d;
$custom-light: #dfc279;
$custom-dark: #000000;
JSON
{
  "hex": "#ccaa3d",
  "rgb": {
    "r": 204,
    "g": 170,
    "b": 61
  },
  "hsl": {
    "h": 45.734,
    "s": 58.367,
    "l": 51.961
  },
  "oklch": {
    "l": 0.74884,
    "c": 0.13032,
    "h": 91.3
  },
  "luminance": 0.41924
}

Semantic roles & 50–950 ramp

primary
#CCAA3D
secondary
#93A2D2
accent
#6BE246
background
#FEFBF7
surface
#FCF7EE
border
#D5D0C9
text
#161209
muted
#84817B

Preview Lab

Preview with #CCAA3D

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

Preview Lab → · Contrast checker → · Palette generator →

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