#CDAF50#CDAF50

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

Color values

HEX#CDAF50
RGBrgb(205, 175, 80)
HSLhsl(46, 56%, 56%)
HSVhsv(46, 61%, 80%)
CMYKcmyk(0%, 14.6%, 61%, 19.6%)
CIE-LABlab(72.38, -0.22, 51.64)
CIE-LCHlch(72.38, 51.64, 90.25°)
OKLaboklab(76.19% -0.0038 0.1191)
OKLCHoklch(76.19% 0.119 91.8)
XYZxyz(41.9567, 44.2205, 13.9133)
Luminance0.4422 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDAF50 #506ECD
analogous
#CD7050 #CDAF50 #ACCD50
triadic
#CDAF50 #50CDAF #AF50CD
tetradic
#CDAF50 #50CD70 #506ECD #CD50AC
square
#CDAF50 #50CD70 #506ECD #CD50AC
split-complementary
#CDAF50 #50ACCD #7050CD
monochromatic
#7E6924 #AE9032 #CDAF50 #DBC580 #E8DBAF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDAF50#FFFFFF#000000##000000
##CDAF501.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)
#C0AC46
Deuteranopia (green-blind)
#C8B554
Tritanopia (blue-blind)
#DCA29A
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #cdaf50;
/* rgb */ color: rgb(205, 175, 80);
/* oklch */ color: oklch(76.2% 0.119 91.8);
Tailwind
colors: {
  custom: {
    50: '#dfc684',
    500: '#cdaf50',
    950: '#000000',
  },
}
SCSS
$custom: #cdaf50;
$custom-light: #dfc684;
$custom-dark: #000000;
JSON
{
  "hex": "#cdaf50",
  "rgb": {
    "r": 205,
    "g": 175,
    "b": 80
  },
  "hsl": {
    "h": 45.6,
    "s": 55.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.76187,
    "c": 0.11914,
    "h": 91.8
  },
  "luminance": 0.44218
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CDAF50

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

Preview Lab → · Contrast checker → · Palette generator →

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