#CDAE45#CDAE45

#CDAE45 is a light, vivid yellow. Relative luminance 0.437; OKLCH L 75.9% C 0.127 H 92.5°. Best body text is #000000 at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#CDAE45
RGBrgb(205, 174, 69)
HSLhsl(46, 58%, 54%)
HSVhsv(46, 66%, 80%)
CMYKcmyk(0%, 15.1%, 66.3%, 19.6%)
CIE-LABlab(72.02, -0.40, 56.18)
CIE-LCHlch(72.02, 56.18, 90.41°)
OKLaboklab(75.87% -0.0056 0.1272)
OKLCHoklch(75.87% 0.127 92.5)
XYZxyz(41.3891, 43.6832, 11.8807)
Luminance0.4368 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDAE45 #4564CD
analogous
#CD6A45 #CDAE45 #A8CD45
triadic
#CDAE45 #45CDAE #AE45CD
tetradic
#CDAE45 #45CD6A #4564CD #CD45A8
square
#CDAE45 #45CD6A #4564CD #CD45A8
split-complementary
#CDAE45 #45A8CD #6A45CD
monochromatic
#776420 #A88C2D #CDAE45 #DAC375 #E7D8A5

Accessibility & contrast

On white

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

On black

9.74
#CDAE45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDAE45
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDAE45#FFFFFF#000000##000000
##CDAE451.002.169.749.74
#FFFFFF2.161.0021.0021.00
#0000009.7421.001.001.00
##0000009.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdae45;
/* rgb */ color: rgb(205, 174, 69);
/* oklch */ color: oklch(75.9% 0.127 92.5);
Tailwind
colors: {
  custom: {
    50: '#e0c57e',
    500: '#cdae45',
    950: '#000000',
  },
}
SCSS
$custom: #cdae45;
$custom-light: #e0c57e;
$custom-dark: #000000;
JSON
{
  "hex": "#cdae45",
  "rgb": {
    "r": 205,
    "g": 174,
    "b": 69
  },
  "hsl": {
    "h": 46.324,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.75871,
    "c": 0.12727,
    "h": 92.5
  },
  "luminance": 0.43681
}

Semantic roles & 50–950 ramp

primary
#CDAE45
secondary
#9AA7D4
accent
#6AE147
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16120A
muted
#84817C

Preview Lab

Preview with #CDAE45

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

Preview Lab → · Contrast checker → · Palette generator →

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