#CCAD3F#CCAD3F

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

Color values

HEX#CCAD3F
RGBrgb(204, 173, 63)
HSLhsl(47, 58%, 52%)
HSVhsv(47, 69%, 80%)
CMYKcmyk(0%, 15.2%, 69.1%, 20%)
CIE-LABlab(71.61, -0.64, 58.27)
CIE-LCHlch(71.61, 58.28, 90.63°)
OKLaboklab(75.52% -0.007 0.1306)
OKLCHoklch(75.52% 0.131 93.1)
XYZxyz(40.7447, 43.0857, 10.8719)
Luminance0.4308 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCAD3F #3F5ECC
analogous
#CC673F #CCAD3F #A4CC3F
triadic
#CCAD3F #3FCCAD #AD3FCC
tetradic
#CCAD3F #3FCC67 #3F5ECC #CC3FA4
square
#CCAD3F #3FCC67 #3F5ECC #CC3FA4
split-complementary
#CCAD3F #3FA4CC #673FCC
monochromatic
#72601E #A3882B #CCAD3F #D9C26F #E6D6A0

Accessibility & contrast

On white

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

On black

9.62
#CCAD3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCAD3F
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCAD3F#FFFFFF#000000##000000
##CCAD3F1.002.189.629.62
#FFFFFF2.181.0021.0021.00
#0000009.6221.001.001.00
##0000009.6221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccad3f;
/* rgb */ color: rgb(204, 173, 63);
/* oklch */ color: oklch(75.5% 0.131 93.1);
Tailwind
colors: {
  custom: {
    50: '#dfc57a',
    500: '#ccad3f',
    950: '#000000',
  },
}
SCSS
$custom: #ccad3f;
$custom-light: #dfc57a;
$custom-dark: #000000;
JSON
{
  "hex": "#ccad3f",
  "rgb": {
    "r": 204,
    "g": 173,
    "b": 63
  },
  "hsl": {
    "h": 46.809,
    "s": 58.025,
    "l": 52.353
  },
  "oklch": {
    "l": 0.75515,
    "c": 0.1308,
    "h": 93.1
  },
  "luminance": 0.43083
}

Semantic roles & 50–950 ramp

primary
#CCAD3F
secondary
#95A2D2
accent
#69E147
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16120A
muted
#84817C

Preview Lab

Preview with #CCAD3F

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

Preview Lab → · Contrast checker → · Palette generator →

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