#CDAE4E#CDAE4E

#CDAE4E is a light, vivid yellow. Relative luminance 0.438; OKLCH L 76.0% C 0.120 H 91.4°. Best body text is #000000 at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#CDAE4E
RGBrgb(205, 174, 78)
HSLhsl(45, 56%, 55%)
HSVhsv(45, 62%, 80%)
CMYKcmyk(0%, 15.1%, 62%, 19.6%)
CIE-LABlab(72.10, 0.17, 52.25)
CIE-LCHlch(72.10, 52.25, 89.81°)
OKLaboklab(75.96% -0.0029 0.1201)
OKLCHoklch(75.96% 0.12 91.4)
XYZxyz(41.6900, 43.8035, 13.4653)
Luminance0.4380 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDAE4E #4E6DCD
analogous
#CD6E4E #CDAE4E #ADCD4E
triadic
#CDAE4E #4ECDAE #AE4ECD
tetradic
#CDAE4E #4ECD6E #4E6DCD #CD4EAD
square
#CDAE4E #4ECD6E #4E6DCD #CD4EAD
split-complementary
#CDAE4E #4EADCD #6E4ECD
monochromatic
#7D6723 #AD8F31 #CDAE4E #DAC47E #E8DAAD

Accessibility & contrast

On white

2.15
#CDAE4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.76
#CDAE4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDAE4E
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDAE4E#FFFFFF#000000##000000
##CDAE4E1.002.159.769.76
#FFFFFF2.151.0021.0021.00
#0000009.7621.001.001.00
##0000009.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAC44
Deuteranopia (green-blind)
#C7B552
Tritanopia (blue-blind)
#DDA199
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #cdae4e;
/* rgb */ color: rgb(205, 174, 78);
/* oklch */ color: oklch(76.0% 0.120 91.4);
Tailwind
colors: {
  custom: {
    50: '#dfc583',
    500: '#cdae4e',
    950: '#000000',
  },
}
SCSS
$custom: #cdae4e;
$custom-light: #dfc583;
$custom-dark: #000000;
JSON
{
  "hex": "#cdae4e",
  "rgb": {
    "r": 205,
    "g": 174,
    "b": 78
  },
  "hsl": {
    "h": 45.354,
    "s": 55.947,
    "l": 55.49
  },
  "oklch": {
    "l": 0.7596,
    "c": 0.12016,
    "h": 91.4
  },
  "luminance": 0.43801
}

Semantic roles & 50–950 ramp

primary
#CDAE4E
secondary
#A1AED6
accent
#6DDF49
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16120B
muted
#84817C

Preview Lab

Preview with #CDAE4E

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

Preview Lab → · Contrast checker → · Palette generator →

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