#CDAE16#CDAE16

#CDAE16 is a light, vivid yellow. Relative luminance 0.433; OKLCH L 75.6% C 0.151 H 95.7°. Best body text is #000000 at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#CDAE16
RGBrgb(205, 174, 22)
HSLhsl(50, 81%, 45%)
HSVhsv(50, 89%, 80%)
CMYKcmyk(0%, 15.1%, 89.3%, 19.6%)
CIE-LABlab(71.77, -2.18, 71.25)
CIE-LCHlch(71.77, 71.28, 91.75°)
OKLaboklab(75.59% -0.015 0.1506)
OKLCHoklch(75.59% 0.151 95.7)
XYZxyz(40.4601, 43.3116, 6.9878)
Luminance0.4331 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDAE16 #1635CD
analogous
#CD5316 #CDAE16 #91CD16
triadic
#CDAE16 #16CDAE #AE16CD
tetradic
#CDAE16 #16CD53 #1635CD #CD1691
square
#CDAE16 #16CD53 #1635CD #CD1691
split-complementary
#CDAE16 #1691CD #5316CD
monochromatic
#5E500A #967F10 #CDAE16 #EACB37 #EFDA6E

Accessibility & contrast

On white

2.17
#CDAE16 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.66
#CDAE16 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDAE16
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDAE16#FFFFFF#000000##000000
##CDAE161.002.179.669.66
#FFFFFF2.171.0021.0021.00
#0000009.6621.001.001.00
##0000009.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AA00
Deuteranopia (green-blind)
#C9B425
Tritanopia (blue-blind)
#DE9F94
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #cdae16;
/* rgb */ color: rgb(205, 174, 22);
/* oklch */ color: oklch(75.6% 0.151 95.7);
Tailwind
colors: {
  custom: {
    50: '#e1c568',
    500: '#cdae16',
    950: '#000000',
  },
}
SCSS
$custom: #cdae16;
$custom-light: #e1c568;
$custom-dark: #000000;
JSON
{
  "hex": "#cdae16",
  "rgb": {
    "r": 205,
    "g": 174,
    "b": 22
  },
  "hsl": {
    "h": 49.836,
    "s": 80.617,
    "l": 44.51
  },
  "oklch": {
    "l": 0.75593,
    "c": 0.15138,
    "h": 95.7
  },
  "luminance": 0.43309
}

Semantic roles & 50–950 ramp

primary
#CDAE16
secondary
#697CD5
accent
#52F731
background
#FEFCF6
surface
#FDF8EC
border
#D5D1C7
text
#161207
muted
#84817A

Preview Lab

Preview with #CDAE16

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

Preview Lab → · Contrast checker → · Palette generator →

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