#CCAF4F#CCAF4F

#CCAF4F is a light, moderate yellow. Relative luminance 0.441; OKLCH L 76.1% C 0.120 H 92.5°. Best body text is #000000 at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#CCAF4F
RGBrgb(204, 175, 79)
HSLhsl(46, 55%, 55%)
HSVhsv(46, 61%, 80%)
CMYKcmyk(0%, 14.2%, 61.3%, 20%)
CIE-LABlab(72.27, -0.72, 51.95)
CIE-LCHlch(72.27, 51.96, 90.79°)
OKLaboklab(76.08% -0.0053 0.1197)
OKLCHoklch(76.08% 0.12 92.5)
XYZxyz(41.6450, 44.0640, 13.7073)
Luminance0.4406 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCAF4F #4F6CCC
analogous
#CC704F #CCAF4F #AACC4F
triadic
#CCAF4F #4FCCAF #AF4FCC
tetradic
#CCAF4F #4FCC70 #4F6CCC #CC4FAA
square
#CCAF4F #4FCC70 #4F6CCC #CC4FAA
split-complementary
#CCAF4F #4FAACC #704FCC
monochromatic
#7D6824 #AC9032 #CCAF4F #DAC57E #E7DAAE

Accessibility & contrast

On white

2.14
#CCAF4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.81
#CCAF4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCAF4F
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCAF4F#FFFFFF#000000##000000
##CCAF4F1.002.149.819.81
#FFFFFF2.141.0021.0021.00
#0000009.8121.001.001.00
##0000009.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AC45
Deuteranopia (green-blind)
#C7B553
Tritanopia (blue-blind)
#DBA29A
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #ccaf4f;
/* rgb */ color: rgb(204, 175, 79);
/* oklch */ color: oklch(76.1% 0.120 92.5);
Tailwind
colors: {
  custom: {
    50: '#dfc684',
    500: '#ccaf4f',
    950: '#000000',
  },
}
SCSS
$custom: #ccaf4f;
$custom-light: #dfc684;
$custom-dark: #000000;
JSON
{
  "hex": "#ccaf4f",
  "rgb": {
    "r": 204,
    "g": 175,
    "b": 79
  },
  "hsl": {
    "h": 46.08,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.76079,
    "c": 0.11978,
    "h": 92.5
  },
  "luminance": 0.44062
}

Semantic roles & 50–950 ramp

primary
#CCAF4F
secondary
#A1ADD5
accent
#6CDE49
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CCAF4F

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

Preview Lab → · Contrast checker → · Palette generator →

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