#CDAF4F#CDAF4F

#CDAF4F is a light, moderate yellow. Relative luminance 0.442; OKLCH L 76.2% C 0.120 H 92.0°. Best body text is #000000 at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#CDAF4F
RGBrgb(205, 175, 79)
HSLhsl(46, 56%, 56%)
HSVhsv(46, 61%, 80%)
CMYKcmyk(0%, 14.6%, 61.5%, 19.6%)
CIE-LABlab(72.37, -0.29, 52.09)
CIE-LCHlch(72.37, 52.09, 90.32°)
OKLaboklab(76.18% -0.0041 0.1199)
OKLCHoklch(76.18% 0.12 92)
XYZxyz(41.9200, 44.2058, 13.7202)
Luminance0.4420 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDAF4F #4F6DCD
analogous
#CD704F #CDAF4F #ACCD4F
triadic
#CDAF4F #4FCDAF #AF4FCD
tetradic
#CDAF4F #4FCD70 #4F6DCD #CD4FAC
square
#CDAF4F #4FCD70 #4F6DCD #CD4FAC
split-complementary
#CDAF4F #4FACCD #704FCD
monochromatic
#7E6824 #AE9031 #CDAF4F #DBC57F #E8DAAE

Accessibility & contrast

On white

2.13
#CDAF4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.84
#CDAF4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDAF4F
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDAF4F#FFFFFF#000000##000000
##CDAF4F1.002.139.849.84
#FFFFFF2.131.0021.0021.00
#0000009.8421.001.001.00
##0000009.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdaf4f;
/* rgb */ color: rgb(205, 175, 79);
/* oklch */ color: oklch(76.2% 0.120 92.0);
Tailwind
colors: {
  custom: {
    50: '#dfc684',
    500: '#cdaf4f',
    950: '#000000',
  },
}
SCSS
$custom: #cdaf4f;
$custom-light: #dfc684;
$custom-dark: #000000;
JSON
{
  "hex": "#cdaf4f",
  "rgb": {
    "r": 205,
    "g": 175,
    "b": 79
  },
  "hsl": {
    "h": 45.714,
    "s": 55.752,
    "l": 55.686
  },
  "oklch": {
    "l": 0.76176,
    "c": 0.11998,
    "h": 92
  },
  "luminance": 0.44204
}

Semantic roles & 50–950 ramp

primary
#CDAF4F
secondary
#A2AED6
accent
#6DDF49
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CDAF4F

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

Preview Lab → · Contrast checker → · Palette generator →

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