#CDAF16#CDAF16

#CDAF16 is a light, vivid yellow. Relative luminance 0.437; OKLCH L 75.8% C 0.152 H 96.2°. Best body text is #000000 at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#CDAF16
RGBrgb(205, 175, 22)
HSLhsl(50, 81%, 45%)
HSVhsv(50, 89%, 80%)
CMYKcmyk(0%, 14.6%, 89.3%, 19.6%)
CIE-LABlab(72.03, -2.70, 71.45)
CIE-LCHlch(72.03, 71.50, 92.17°)
OKLaboklab(75.8% -0.0165 0.1511)
OKLCHoklch(75.8% 0.152 96.2)
XYZxyz(40.6540, 43.6994, 7.0524)
Luminance0.4370 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDAF16 #1634CD
analogous
#CD5416 #CDAF16 #90CD16
triadic
#CDAF16 #16CDAF #AF16CD
tetradic
#CDAF16 #16CD54 #1634CD #CD1690
square
#CDAF16 #16CD54 #1634CD #CD1690
split-complementary
#CDAF16 #1690CD #5416CD
monochromatic
#5E510A #968010 #CDAF16 #EACC37 #EFDA6E

Accessibility & contrast

On white

2.16
#CDAF16 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.74
#CDAF16 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDAF16
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDAF16#FFFFFF#000000##000000
##CDAF161.002.169.749.74
#FFFFFF2.161.0021.0021.00
#0000009.7421.001.001.00
##0000009.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AB00
Deuteranopia (green-blind)
#CAB526
Tritanopia (blue-blind)
#DEA095
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #cdaf16;
/* rgb */ color: rgb(205, 175, 22);
/* oklch */ color: oklch(75.8% 0.152 96.2);
Tailwind
colors: {
  custom: {
    50: '#e1c668',
    500: '#cdaf16',
    950: '#000000',
  },
}
SCSS
$custom: #cdaf16;
$custom-light: #e1c668;
$custom-dark: #000000;
JSON
{
  "hex": "#cdaf16",
  "rgb": {
    "r": 205,
    "g": 175,
    "b": 22
  },
  "hsl": {
    "h": 50.164,
    "s": 80.617,
    "l": 44.51
  },
  "oklch": {
    "l": 0.758,
    "c": 0.15199,
    "h": 96.2
  },
  "luminance": 0.43697
}

Semantic roles & 50–950 ramp

primary
#CDAF16
secondary
#697BD5
accent
#51F731
background
#FEFCF6
surface
#FDF8EC
border
#D5D1C7
text
#161207
muted
#84817A

Preview Lab

Preview with #CDAF16

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

Preview Lab → · Contrast checker → · Palette generator →

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