#CDAE4B#CDAE4B

#CDAE4B is a light, vivid yellow. Relative luminance 0.438; OKLCH L 75.9% C 0.123 H 91.8°. Best body text is #000000 at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#CDAE4B
RGBrgb(205, 174, 75)
HSLhsl(46, 57%, 55%)
HSVhsv(46, 63%, 80%)
CMYKcmyk(0%, 15.1%, 63.4%, 19.6%)
CIE-LABlab(72.07, -0.03, 53.58)
CIE-LCHlch(72.07, 53.58, 90.03°)
OKLaboklab(75.93% -0.0038 0.1226)
OKLCHoklch(75.93% 0.123 91.8)
XYZxyz(41.5849, 43.7615, 12.9117)
Luminance0.4376 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDAE4B #4B6ACD
analogous
#CD6D4B #CDAE4B #ABCD4B
triadic
#CDAE4B #4BCDAE #AE4BCD
tetradic
#CDAE4B #4BCD6D #4B6ACD #CD4BAB
square
#CDAE4B #4BCD6D #4B6ACD #CD4BAB
split-complementary
#CDAE4B #4BABCD #6D4BCD
monochromatic
#7B6622 #AB8E30 #CDAE4B #DAC47B #E8D9AB

Accessibility & contrast

On white

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

On black

9.75
#CDAE4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDAE4B
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDAE4B#FFFFFF#000000##000000
##CDAE4B1.002.159.759.75
#FFFFFF2.151.0021.0021.00
#0000009.7521.001.001.00
##0000009.7521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdae4b;
/* rgb */ color: rgb(205, 174, 75);
/* oklch */ color: oklch(75.9% 0.123 91.8);
Tailwind
colors: {
  custom: {
    50: '#dfc581',
    500: '#cdae4b',
    950: '#000000',
  },
}
SCSS
$custom: #cdae4b;
$custom-light: #dfc581;
$custom-dark: #000000;
JSON
{
  "hex": "#cdae4b",
  "rgb": {
    "r": 205,
    "g": 174,
    "b": 75
  },
  "hsl": {
    "h": 45.692,
    "s": 56.522,
    "l": 54.902
  },
  "oklch": {
    "l": 0.75929,
    "c": 0.12261,
    "h": 91.8
  },
  "luminance": 0.43759
}

Semantic roles & 50–950 ramp

primary
#CDAE4B
secondary
#9FACD5
accent
#6CE048
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16120B
muted
#84817C

Preview Lab

Preview with #CDAE4B

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

Preview Lab → · Contrast checker → · Palette generator →

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