#CDAE42#CDAE42

#CDAE42 is a light, vivid yellow. Relative luminance 0.436; OKLCH L 75.8% C 0.129 H 92.9°. Best body text is #000000 at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#CDAE42
RGBrgb(205, 174, 66)
HSLhsl(47, 58%, 53%)
HSVhsv(47, 68%, 80%)
CMYKcmyk(0%, 15.1%, 67.8%, 19.6%)
CIE-LABlab(71.99, -0.57, 57.44)
CIE-LCHlch(71.99, 57.44, 90.57°)
OKLaboklab(75.84% -0.0065 0.1293)
OKLCHoklch(75.84% 0.129 92.9)
XYZxyz(41.2983, 43.6469, 11.4026)
Luminance0.4365 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDAE42 #4261CD
analogous
#CD6842 #CDAE42 #A6CD42
triadic
#CDAE42 #42CDAE #AE42CD
tetradic
#CDAE42 #42CD68 #4261CD #CD42A6
square
#CDAE42 #42CD68 #4261CD #CD42A6
split-complementary
#CDAE42 #42A6CD #6842CD
monochromatic
#76621F #A68B2C #CDAE42 #DAC372 #E7D7A3

Accessibility & contrast

On white

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

On black

9.73
#CDAE42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDAE42
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDAE42#FFFFFF#000000##000000
##CDAE421.002.169.739.73
#FFFFFF2.161.0021.0021.00
#0000009.7321.001.001.00
##0000009.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AB34
Deuteranopia (green-blind)
#C8B447
Tritanopia (blue-blind)
#DDA198
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #cdae42;
/* rgb */ color: rgb(205, 174, 66);
/* oklch */ color: oklch(75.8% 0.129 92.9);
Tailwind
colors: {
  custom: {
    50: '#e0c57c',
    500: '#cdae42',
    950: '#000000',
  },
}
SCSS
$custom: #cdae42;
$custom-light: #e0c57c;
$custom-dark: #000000;
JSON
{
  "hex": "#cdae42",
  "rgb": {
    "r": 205,
    "g": 174,
    "b": 66
  },
  "hsl": {
    "h": 46.619,
    "s": 58.159,
    "l": 53.137
  },
  "oklch": {
    "l": 0.75844,
    "c": 0.12948,
    "h": 92.9
  },
  "luminance": 0.43645
}

Semantic roles & 50–950 ramp

primary
#CDAE42
secondary
#97A5D3
accent
#69E146
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16120A
muted
#84817C

Preview Lab

Preview with #CDAE42

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

Preview Lab → · Contrast checker → · Palette generator →

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