#CDAF41#CDAF41

#CDAF41 is a light, vivid yellow. Relative luminance 0.440; OKLCH L 76.0% C 0.131 H 93.6°. Best body text is #000000 at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#CDAF41
RGBrgb(205, 175, 65)
HSLhsl(47, 58%, 53%)
HSVhsv(47, 68%, 80%)
CMYKcmyk(0%, 14.6%, 68.3%, 19.6%)
CIE-LABlab(72.24, -1.15, 58.12)
CIE-LCHlch(72.24, 58.13, 91.14°)
OKLaboklab(76.04% -0.0083 0.1306)
OKLCHoklch(76.04% 0.131 93.6)
XYZxyz(41.4630, 44.0230, 11.3133)
Luminance0.4402 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDAF41 #415FCD
analogous
#CD6941 #CDAF41 #A5CD41
triadic
#CDAF41 #41CDAF #AF41CD
tetradic
#CDAF41 #41CD69 #415FCD #CD41A5
square
#CDAF41 #41CD69 #415FCD #CD41A5
split-complementary
#CDAF41 #41A5CD #6941CD
monochromatic
#75621F #A58B2C #CDAF41 #DAC371 #E6D8A2

Accessibility & contrast

On white

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

On black

9.80
#CDAF41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDAF41
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDAF41#FFFFFF#000000##000000
##CDAF411.002.149.809.80
#FFFFFF2.141.0021.0021.00
#0000009.8021.001.001.00
##0000009.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AC33
Deuteranopia (green-blind)
#C9B547
Tritanopia (blue-blind)
#DDA298
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #cdaf41;
/* rgb */ color: rgb(205, 175, 65);
/* oklch */ color: oklch(76.0% 0.131 93.6);
Tailwind
colors: {
  custom: {
    50: '#e0c67b',
    500: '#cdaf41',
    950: '#000000',
  },
}
SCSS
$custom: #cdaf41;
$custom-light: #e0c67b;
$custom-dark: #000000;
JSON
{
  "hex": "#cdaf41",
  "rgb": {
    "r": 205,
    "g": 175,
    "b": 65
  },
  "hsl": {
    "h": 47.143,
    "s": 58.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.7604,
    "c": 0.13086,
    "h": 93.6
  },
  "luminance": 0.44021
}

Semantic roles & 50–950 ramp

primary
#CDAF41
secondary
#97A4D3
accent
#68E246
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CDAF41

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

Preview Lab → · Contrast checker → · Palette generator →

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