#CCAD2D#CCAD2D

#CCAD2D is a light, vivid yellow. Relative luminance 0.429; OKLCH L 75.4% C 0.142 H 94.5°. Best body text is #000000 at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#CCAD2D
RGBrgb(204, 173, 45)
HSLhsl(48, 64%, 49%)
HSVhsv(48, 78%, 80%)
CMYKcmyk(0%, 15.2%, 77.9%, 20%)
CIE-LABlab(71.50, -1.45, 64.91)
CIE-LCHlch(71.50, 64.92, 91.28°)
OKLaboklab(75.39% -0.0112 0.1413)
OKLCHoklch(75.39% 0.142 94.5)
XYZxyz(40.3213, 42.9163, 8.6420)
Luminance0.4291 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCAD2D #2D4CCC
analogous
#CC5E2D #CCAD2D #9CCC2D
triadic
#CCAD2D #2DCCAD #AD2DCC
tetradic
#CCAD2D #2DCC5E #2D4CCC #CC2D9C
square
#CCAD2D #2DCC5E #2D4CCC #CC2D9C
split-complementary
#CCAD2D #2D9CCC #5E2DCC
monochromatic
#685817 #9A8222 #CCAD2D #DBC25B #E6D58D

Accessibility & contrast

On white

2.19
#CCAD2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.58
#CCAD2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCAD2D
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCAD2D#FFFFFF#000000##000000
##CCAD2D1.002.199.589.58
#FFFFFF2.191.0021.0021.00
#0000009.5821.001.001.00
##0000009.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA10
Deuteranopia (green-blind)
#C8B335
Tritanopia (blue-blind)
#DD9F95
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #ccad2d;
/* rgb */ color: rgb(204, 173, 45);
/* oklch */ color: oklch(75.4% 0.142 94.5);
Tailwind
colors: {
  custom: {
    50: '#e0c571',
    500: '#ccad2d',
    950: '#000000',
  },
}
SCSS
$custom: #ccad2d;
$custom-light: #e0c571;
$custom-dark: #000000;
JSON
{
  "hex": "#ccad2d",
  "rgb": {
    "r": 204,
    "g": 173,
    "b": 45
  },
  "hsl": {
    "h": 48.302,
    "s": 63.855,
    "l": 48.824
  },
  "oklch": {
    "l": 0.75387,
    "c": 0.14172,
    "h": 94.5
  },
  "luminance": 0.42914
}

Semantic roles & 50–950 ramp

primary
#CCAD2D
secondary
#8593D0
accent
#61E741
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#161208
muted
#84817B

Preview Lab

Preview with #CCAD2D

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

Preview Lab → · Contrast checker → · Palette generator →

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