#CCAD4F#CCAD4F

#CCAD4F is a light, moderate yellow. Relative luminance 0.433; OKLCH L 75.7% C 0.118 H 91.1°. Best body text is #000000 at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#CCAD4F
RGBrgb(204, 173, 79)
HSLhsl(45, 55%, 55%)
HSVhsv(45, 61%, 80%)
CMYKcmyk(0%, 15.2%, 61.3%, 20%)
CIE-LABlab(71.75, 0.34, 51.38)
CIE-LCHlch(71.75, 51.38, 89.62°)
OKLaboklab(75.67% -0.0022 0.1184)
OKLCHoklch(75.67% 0.118 91.1)
XYZxyz(41.2586, 43.2912, 13.5785)
Luminance0.4329 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCAD4F #4F6ECC
analogous
#CC6E4F #CCAD4F #ACCC4F
triadic
#CCAD4F #4FCCAD #AD4FCC
tetradic
#CCAD4F #4FCC6E #4F6ECC #CC4FAC
square
#CCAD4F #4FCC6E #4F6ECC #CC4FAC
split-complementary
#CCAD4F #4FACCC #6E4FCC
monochromatic
#7D6724 #AC8E32 #CCAD4F #DAC37E #E7D9AE

Accessibility & contrast

On white

2.17
#CCAD4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.66
#CCAD4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCAD4F
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCAD4F#FFFFFF#000000##000000
##CCAD4F1.002.179.669.66
#FFFFFF2.171.0021.0021.00
#0000009.6621.001.001.00
##0000009.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAB45
Deuteranopia (green-blind)
#C6B453
Tritanopia (blue-blind)
#DCA098
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #ccad4f;
/* rgb */ color: rgb(204, 173, 79);
/* oklch */ color: oklch(75.7% 0.118 91.1);
Tailwind
colors: {
  custom: {
    50: '#dfc584',
    500: '#ccad4f',
    950: '#000000',
  },
}
SCSS
$custom: #ccad4f;
$custom-light: #dfc584;
$custom-dark: #000000;
JSON
{
  "hex": "#ccad4f",
  "rgb": {
    "r": 204,
    "g": 173,
    "b": 79
  },
  "hsl": {
    "h": 45.12,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.75669,
    "c": 0.11844,
    "h": 91.1
  },
  "luminance": 0.43289
}

Semantic roles & 50–950 ramp

primary
#CCAD4F
secondary
#A1AED5
accent
#6EDE49
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16120B
muted
#84817C

Preview Lab

Preview with #CCAD4F

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

Preview Lab → · Contrast checker → · Palette generator →

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