#CCAD3E#CCAD3E

#CCAD3E is a light, vivid yellow. Relative luminance 0.431; OKLCH L 75.5% C 0.131 H 93.2°. Best body text is #000000 at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#CCAD3E
RGBrgb(204, 173, 62)
HSLhsl(47, 58%, 52%)
HSVhsv(47, 70%, 80%)
CMYKcmyk(0%, 15.2%, 69.6%, 20%)
CIE-LABlab(71.61, -0.69, 58.68)
CIE-LCHlch(71.61, 58.68, 90.67°)
OKLaboklab(75.51% -0.0072 0.1313)
OKLCHoklch(75.51% 0.131 93.2)
XYZxyz(40.7170, 43.0746, 10.7261)
Luminance0.4307 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCAD3E #3E5DCC
analogous
#CC663E #CCAD3E #A4CC3E
triadic
#CCAD3E #3ECCAD #AD3ECC
tetradic
#CCAD3E #3ECC66 #3E5DCC #CC3EA4
square
#CCAD3E #3ECC66 #3E5DCC #CC3EA4
split-complementary
#CCAD3E #3EA4CC #663ECC
monochromatic
#725F1E #A2882B #CCAD3E #D9C26E #E6D69F

Accessibility & contrast

On white

2.18
#CCAD3E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.61
#CCAD3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCAD3E
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCAD3E#FFFFFF#000000##000000
##CCAD3E1.002.189.619.61
#FFFFFF2.181.0021.0021.00
#0000009.6121.001.001.00
##0000009.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA2F
Deuteranopia (green-blind)
#C7B344
Tritanopia (blue-blind)
#DC9F96
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #ccad3e;
/* rgb */ color: rgb(204, 173, 62);
/* oklch */ color: oklch(75.5% 0.131 93.2);
Tailwind
colors: {
  custom: {
    50: '#dfc579',
    500: '#ccad3e',
    950: '#000000',
  },
}
SCSS
$custom: #ccad3e;
$custom-light: #dfc579;
$custom-dark: #000000;
JSON
{
  "hex": "#ccad3e",
  "rgb": {
    "r": 204,
    "g": 173,
    "b": 62
  },
  "hsl": {
    "h": 46.901,
    "s": 58.197,
    "l": 52.157
  },
  "oklch": {
    "l": 0.75507,
    "c": 0.13149,
    "h": 93.2
  },
  "luminance": 0.43072
}

Semantic roles & 50–950 ramp

primary
#CCAD3E
secondary
#94A1D2
accent
#68E146
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161209
muted
#84817B

Preview Lab

Preview with #CCAD3E

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

Preview Lab → · Contrast checker → · Palette generator →

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