#CDAE3B#CDAE3B

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

Color values

HEX#CDAE3B
RGBrgb(205, 174, 59)
HSLhsl(47, 59%, 52%)
HSVhsv(47, 71%, 80%)
CMYKcmyk(0%, 15.1%, 71.2%, 19.6%)
CIE-LABlab(71.94, -0.94, 60.25)
CIE-LCHlch(71.94, 60.26, 90.89°)
OKLaboklab(75.79% -0.0084 0.1341)
OKLCHoklch(75.79% 0.134 93.6)
XYZxyz(41.1045, 43.5693, 10.3815)
Luminance0.4357 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDAE3B #3B5ACD
analogous
#CD653B #CDAE3B #A3CD3B
triadic
#CDAE3B #3BCDAE #AE3BCD
tetradic
#CDAE3B #3BCD65 #3B5ACD #CD3BA3
square
#CDAE3B #3BCD65 #3B5ACD #CD3BA3
split-complementary
#CDAE3B #3BA3CD #653BCD
monochromatic
#715F1D #A28829 #CDAE3B #D9C26C #E6D69D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDAE3B#FFFFFF#000000##000000
##CDAE3B1.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)
#C0AB2A
Deuteranopia (green-blind)
#C8B441
Tritanopia (blue-blind)
#DDA097
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #cdae3b;
/* rgb */ color: rgb(205, 174, 59);
/* oklch */ color: oklch(75.8% 0.134 93.6);
Tailwind
colors: {
  custom: {
    50: '#e0c578',
    500: '#cdae3b',
    950: '#000000',
  },
}
SCSS
$custom: #cdae3b;
$custom-light: #e0c578;
$custom-dark: #000000;
JSON
{
  "hex": "#cdae3b",
  "rgb": {
    "r": 205,
    "g": 174,
    "b": 59
  },
  "hsl": {
    "h": 47.26,
    "s": 59.35,
    "l": 51.765
  },
  "oklch": {
    "l": 0.75786,
    "c": 0.13431,
    "h": 93.6
  },
  "luminance": 0.43567
}

Semantic roles & 50–950 ramp

primary
#CDAE3B
secondary
#929FD2
accent
#67E345
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161209
muted
#84817B

Preview Lab

Preview with #CDAE3B

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

Preview Lab → · Contrast checker → · Palette generator →

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