#CDAE40#CDAE40

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

Color values

HEX#CDAE40
RGBrgb(205, 174, 64)
HSLhsl(47, 59%, 53%)
HSVhsv(47, 69%, 80%)
CMYKcmyk(0%, 15.1%, 68.8%, 19.6%)
CIE-LABlab(71.98, -0.68, 58.26)
CIE-LCHlch(71.98, 58.26, 90.67°)
OKLaboklab(75.83% -0.007 0.1307)
OKLCHoklch(75.83% 0.131 93.1)
XYZxyz(41.2404, 43.6237, 11.0975)
Luminance0.4362 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDAE40 #405FCD
analogous
#CD6840 #CDAE40 #A5CD40
triadic
#CDAE40 #40CDAE #AE40CD
tetradic
#CDAE40 #40CD68 #405FCD #CD40A5
square
#CDAE40 #40CD68 #405FCD #CD40A5
split-complementary
#CDAE40 #40A5CD #6840CD
monochromatic
#74611E #A58A2B #CDAE40 #DAC371 #E6D7A1

Accessibility & contrast

On white

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

On black

9.72
#CDAE40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDAE40
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDAE40#FFFFFF#000000##000000
##CDAE401.002.169.729.72
#FFFFFF2.161.0021.0021.00
#0000009.7221.001.001.00
##0000009.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AB31
Deuteranopia (green-blind)
#C8B446
Tritanopia (blue-blind)
#DDA097
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #cdae40;
/* rgb */ color: rgb(205, 174, 64);
/* oklch */ color: oklch(75.8% 0.131 93.1);
Tailwind
colors: {
  custom: {
    50: '#e0c57b',
    500: '#cdae40',
    950: '#000000',
  },
}
SCSS
$custom: #cdae40;
$custom-light: #e0c57b;
$custom-dark: #000000;
JSON
{
  "hex": "#cdae40",
  "rgb": {
    "r": 205,
    "g": 174,
    "b": 64
  },
  "hsl": {
    "h": 46.809,
    "s": 58.506,
    "l": 52.745
  },
  "oklch": {
    "l": 0.75826,
    "c": 0.13091,
    "h": 93.1
  },
  "luminance": 0.43621
}

Semantic roles & 50–950 ramp

primary
#CDAE40
secondary
#96A3D3
accent
#68E246
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16120A
muted
#84817C

Preview Lab

Preview with #CDAE40

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

Preview Lab → · Contrast checker → · Palette generator →

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