#CDAE48#CDAE48

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

Color values

HEX#CDAE48
RGBrgb(205, 174, 72)
HSLhsl(46, 57%, 54%)
HSVhsv(46, 65%, 80%)
CMYKcmyk(0%, 15.1%, 64.9%, 19.6%)
CIE-LABlab(72.04, -0.22, 54.90)
CIE-LCHlch(72.04, 54.90, 90.23°)
OKLaboklab(75.9% -0.0047 0.1249)
OKLCHoklch(75.9% 0.125 92.2)
XYZxyz(41.4846, 43.7214, 12.3836)
Luminance0.4372 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDAE48 #4867CD
analogous
#CD6C48 #CDAE48 #AACD48
triadic
#CDAE48 #48CDAE #AE48CD
tetradic
#CDAE48 #48CD6C #4867CD #CD48AA
square
#CDAE48 #48CD6C #4867CD #CD48AA
split-complementary
#CDAE48 #48AACD #6C48CD
monochromatic
#796521 #A98D2E #CDAE48 #DAC378 #E7D9A8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDAE48#FFFFFF#000000##000000
##CDAE481.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)
#C0AB3C
Deuteranopia (green-blind)
#C7B44D
Tritanopia (blue-blind)
#DDA198
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #cdae48;
/* rgb */ color: rgb(205, 174, 72);
/* oklch */ color: oklch(75.9% 0.125 92.2);
Tailwind
colors: {
  custom: {
    50: '#e0c57f',
    500: '#cdae48',
    950: '#000000',
  },
}
SCSS
$custom: #cdae48;
$custom-light: #e0c57f;
$custom-dark: #000000;
JSON
{
  "hex": "#cdae48",
  "rgb": {
    "r": 205,
    "g": 174,
    "b": 72
  },
  "hsl": {
    "h": 46.015,
    "s": 57.082,
    "l": 54.314
  },
  "oklch": {
    "l": 0.75899,
    "c": 0.12498,
    "h": 92.2
  },
  "luminance": 0.43719
}

Semantic roles & 50–950 ramp

primary
#CDAE48
secondary
#9CA9D5
accent
#6BE047
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16120A
muted
#84817C

Preview Lab

Preview with #CDAE48

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

Preview Lab → · Contrast checker → · Palette generator →

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