#CDAE3C#CDAE3C

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

Color values

HEX#CDAE3C
RGBrgb(205, 174, 60)
HSLhsl(47, 59%, 52%)
HSVhsv(47, 71%, 80%)
CMYKcmyk(0%, 15.1%, 70.7%, 19.6%)
CIE-LABlab(71.95, -0.89, 59.86)
CIE-LCHlch(71.95, 59.87, 90.85°)
OKLaboklab(75.79% -0.0081 0.1334)
OKLCHoklch(75.79% 0.134 93.5)
XYZxyz(41.1306, 43.5798, 10.5194)
Luminance0.4358 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDAE3C #3C5BCD
analogous
#CD653C #CDAE3C #A4CD3C
triadic
#CDAE3C #3CCDAE #AE3CCD
tetradic
#CDAE3C #3CCD65 #3C5BCD #CD3CA4
square
#CDAE3C #3CCD65 #3C5BCD #CD3CA4
split-complementary
#CDAE3C #3CA4CD #653CCD
monochromatic
#715F1D #A2882A #CDAE3C #D9C26D #E6D69D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDAE3C#FFFFFF#000000##000000
##CDAE3C1.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)
#C0AB2C
Deuteranopia (green-blind)
#C8B442
Tritanopia (blue-blind)
#DDA097
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #cdae3c;
/* rgb */ color: rgb(205, 174, 60);
/* oklch */ color: oklch(75.8% 0.134 93.5);
Tailwind
colors: {
  custom: {
    50: '#e0c578',
    500: '#cdae3c',
    950: '#000000',
  },
}
SCSS
$custom: #cdae3c;
$custom-light: #e0c578;
$custom-dark: #000000;
JSON
{
  "hex": "#cdae3c",
  "rgb": {
    "r": 205,
    "g": 174,
    "b": 60
  },
  "hsl": {
    "h": 47.172,
    "s": 59.184,
    "l": 51.961
  },
  "oklch": {
    "l": 0.75794,
    "c": 0.13365,
    "h": 93.5
  },
  "luminance": 0.43577
}

Semantic roles & 50–950 ramp

primary
#CDAE3C
secondary
#93A0D2
accent
#67E245
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161209
muted
#84817B

Preview Lab

Preview with #CDAE3C

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

Preview Lab → · Contrast checker → · Palette generator →

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