#CDAA3B#CDAA3B

#CDAA3B is a light, vivid yellow. Relative luminance 0.420; OKLCH L 75.0% C 0.132 H 91.0°. Best body text is #000000 at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#CDAA3B
RGBrgb(205, 170, 59)
HSLhsl(46, 59%, 52%)
HSVhsv(46, 71%, 80%)
CMYKcmyk(0%, 17.1%, 71.2%, 19.6%)
CIE-LABlab(70.90, 1.18, 59.22)
CIE-LCHlch(70.90, 59.23, 88.86°)
OKLaboklab(74.97% -0.0023 0.1319)
OKLCHoklch(74.97% 0.132 91)
XYZxyz(40.3432, 42.0468, 10.1277)
Luminance0.4204 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDAA3B #3B5ECD
analogous
#CD613B #CDAA3B #A7CD3B
triadic
#CDAA3B #3BCDAA #AA3BCD
tetradic
#CDAA3B #3BCD61 #3B5ECD #CD3BA7
square
#CDAA3B #3BCD61 #3B5ECD #CD3BA7
split-complementary
#CDAA3B #3BA7CD #613BCD
monochromatic
#715D1D #A28529 #CDAA3B #D9BF6C #E6D49D

Accessibility & contrast

On white

2.23
#CDAA3B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.41
#CDAA3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDAA3B
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDAA3B#FFFFFF#000000##000000
##CDAA3B1.002.239.419.41
#FFFFFF2.231.0021.0021.00
#0000009.4121.001.001.00
##0000009.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA82B
Deuteranopia (green-blind)
#C5B241
Tritanopia (blue-blind)
#DE9C94
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #cdaa3b;
/* rgb */ color: rgb(205, 170, 59);
/* oklch */ color: oklch(75.0% 0.132 91.0);
Tailwind
colors: {
  custom: {
    50: '#e0c277',
    500: '#cdaa3b',
    950: '#000000',
  },
}
SCSS
$custom: #cdaa3b;
$custom-light: #e0c277;
$custom-dark: #000000;
JSON
{
  "hex": "#cdaa3b",
  "rgb": {
    "r": 205,
    "g": 170,
    "b": 59
  },
  "hsl": {
    "h": 45.616,
    "s": 59.35,
    "l": 51.765
  },
  "oklch": {
    "l": 0.74968,
    "c": 0.13187,
    "h": 91
  },
  "luminance": 0.42044
}

Semantic roles & 50–950 ramp

primary
#CDAA3B
secondary
#92A1D2
accent
#6BE345
background
#FEFBF7
surface
#FCF7EE
border
#D5D0C9
text
#161209
muted
#84817B

Preview Lab

Preview with #CDAA3B

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

Preview Lab → · Contrast checker → · Palette generator →

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