#CDAE3A#CDAE3A

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

Color values

HEX#CDAE3A
RGBrgb(205, 174, 58)
HSLhsl(47, 60%, 52%)
HSVhsv(47, 72%, 80%)
CMYKcmyk(0%, 15.1%, 71.7%, 19.6%)
CIE-LABlab(71.93, -0.99, 60.64)
CIE-LCHlch(71.93, 60.65, 90.93°)
OKLaboklab(75.78% -0.0086 0.1347)
OKLCHoklch(75.78% 0.135 93.7)
XYZxyz(41.0788, 43.5590, 10.2462)
Luminance0.4356 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDAE3A #3A59CD
analogous
#CD653A #CDAE3A #A3CD3A
triadic
#CDAE3A #3ACDAE #AE3ACD
tetradic
#CDAE3A #3ACD65 #3A59CD #CD3AA3
square
#CDAE3A #3ACD65 #3A59CD #CD3AA3
split-complementary
#CDAE3A #3AA3CD #653ACD
monochromatic
#705E1C #A18829 #CDAE3A #D9C26B #E6D69C

Accessibility & contrast

On white

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

On black

9.71
#CDAE3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDAE3A
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDAE3A#FFFFFF#000000##000000
##CDAE3A1.002.169.719.71
#FFFFFF2.161.0021.0021.00
#0000009.7121.001.001.00
##0000009.7121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdae3a;
/* rgb */ color: rgb(205, 174, 58);
/* oklch */ color: oklch(75.8% 0.135 93.7);
Tailwind
colors: {
  custom: {
    50: '#e0c577',
    500: '#cdae3a',
    950: '#000000',
  },
}
SCSS
$custom: #cdae3a;
$custom-light: #e0c577;
$custom-dark: #000000;
JSON
{
  "hex": "#cdae3a",
  "rgb": {
    "r": 205,
    "g": 174,
    "b": 58
  },
  "hsl": {
    "h": 47.347,
    "s": 59.514,
    "l": 51.569
  },
  "oklch": {
    "l": 0.75778,
    "c": 0.13495,
    "h": 93.7
  },
  "luminance": 0.43557
}

Semantic roles & 50–950 ramp

primary
#CDAE3A
secondary
#919FD2
accent
#66E345
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161209
muted
#84817B

Preview Lab

Preview with #CDAE3A

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

Preview Lab → · Contrast checker → · Palette generator →

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