#CDAA3F#CDAA3F

#CDAA3F is a light, vivid yellow. Relative luminance 0.421; OKLCH L 75.0% C 0.129 H 90.5°. Best body text is #000000 at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#CDAA3F
RGBrgb(205, 170, 63)
HSLhsl(45, 59%, 53%)
HSVhsv(45, 69%, 80%)
CMYKcmyk(0%, 17.1%, 69.3%, 19.6%)
CIE-LABlab(70.93, 1.39, 57.60)
CIE-LCHlch(70.93, 57.62, 88.62°)
OKLaboklab(75% -0.0012 0.1292)
OKLCHoklch(75% 0.129 90.5)
XYZxyz(40.4509, 42.0899, 10.6952)
Luminance0.4209 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDAA3F #3F62CD
analogous
#CD633F #CDAA3F #A9CD3F
triadic
#CDAA3F #3FCDAA #AA3FCD
tetradic
#CDAA3F #3FCD63 #3F62CD #CD3FA9
square
#CDAA3F #3FCD63 #3F62CD #CD3FA9
split-complementary
#CDAA3F #3FA9CD #633FCD
monochromatic
#745E1E #A4862B #CDAA3F #DABF70 #E6D5A0

Accessibility & contrast

On white

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

On black

9.42
#CDAA3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDAA3F
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDAA3F#FFFFFF#000000##000000
##CDAA3F1.002.239.429.42
#FFFFFF2.231.0021.0021.00
#0000009.4221.001.001.00
##0000009.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA831
Deuteranopia (green-blind)
#C5B244
Tritanopia (blue-blind)
#DE9C94
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #cdaa3f;
/* rgb */ color: rgb(205, 170, 63);
/* oklch */ color: oklch(75.0% 0.129 90.5);
Tailwind
colors: {
  custom: {
    50: '#e0c37a',
    500: '#cdaa3f',
    950: '#000000',
  },
}
SCSS
$custom: #cdaa3f;
$custom-light: #e0c37a;
$custom-dark: #000000;
JSON
{
  "hex": "#cdaa3f",
  "rgb": {
    "r": 205,
    "g": 170,
    "b": 63
  },
  "hsl": {
    "h": 45.211,
    "s": 58.678,
    "l": 52.549
  },
  "oklch": {
    "l": 0.75,
    "c": 0.12917,
    "h": 90.5
  },
  "luminance": 0.42087
}

Semantic roles & 50–950 ramp

primary
#CDAA3F
secondary
#95A4D3
accent
#6CE246
background
#FEFBF7
surface
#FCF7EE
border
#D5D0C9
text
#161209
muted
#84817B

Preview Lab

Preview with #CDAA3F

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

Preview Lab → · Contrast checker → · Palette generator →

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