#CCAA3E#CCAA3E

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

Color values

HEX#CCAA3E
RGBrgb(204, 170, 62)
HSLhsl(46, 58%, 52%)
HSVhsv(46, 70%, 80%)
CMYKcmyk(0%, 16.7%, 69.6%, 20%)
CIE-LABlab(70.83, 0.90, 57.88)
CIE-LCHlch(70.83, 57.89, 89.11°)
OKLaboklab(74.89% -0.0027 0.1296)
OKLCHoklch(74.89% 0.13 91.2)
XYZxyz(40.1482, 41.9370, 10.5365)
Luminance0.4194 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCAA3E #3E60CC
analogous
#CC633E #CCAA3E #A7CC3E
triadic
#CCAA3E #3ECCAA #AA3ECC
tetradic
#CCAA3E #3ECC63 #3E60CC #CC3EA7
square
#CCAA3E #3ECC63 #3E60CC #CC3EA7
split-complementary
#CCAA3E #3EA7CC #633ECC
monochromatic
#725E1E #A2852B #CCAA3E #D9BF6E #E6D59F

Accessibility & contrast

On white

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

On black

9.39
#CCAA3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCAA3E
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCAA3E#FFFFFF#000000##000000
##CCAA3E1.002.249.399.39
#FFFFFF2.241.0021.0021.00
#0000009.3921.001.001.00
##0000009.3921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccaa3e;
/* rgb */ color: rgb(204, 170, 62);
/* oklch */ color: oklch(74.9% 0.130 91.2);
Tailwind
colors: {
  custom: {
    50: '#dfc279',
    500: '#ccaa3e',
    950: '#000000',
  },
}
SCSS
$custom: #ccaa3e;
$custom-light: #dfc279;
$custom-dark: #000000;
JSON
{
  "hex": "#ccaa3e",
  "rgb": {
    "r": 204,
    "g": 170,
    "b": 62
  },
  "hsl": {
    "h": 45.634,
    "s": 58.197,
    "l": 52.157
  },
  "oklch": {
    "l": 0.74892,
    "c": 0.12964,
    "h": 91.2
  },
  "luminance": 0.41935
}

Semantic roles & 50–950 ramp

primary
#CCAA3E
secondary
#94A3D2
accent
#6CE146
background
#FEFBF7
surface
#FCF7EE
border
#D5D0C9
text
#161209
muted
#84817B

Preview Lab

Preview with #CCAA3E

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

Preview Lab → · Contrast checker → · Palette generator →

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