#CDAA3E#CDAA3E

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

Color values

HEX#CDAA3E
RGBrgb(205, 170, 62)
HSLhsl(45, 59%, 52%)
HSVhsv(45, 70%, 80%)
CMYKcmyk(0%, 17.1%, 69.8%, 19.6%)
CIE-LABlab(70.93, 1.33, 58.01)
CIE-LCHlch(70.93, 58.03, 88.68°)
OKLaboklab(74.99% -0.0015 0.1299)
OKLCHoklch(74.99% 0.13 90.7)
XYZxyz(40.4232, 42.0788, 10.5494)
Luminance0.4208 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDAA3E #3E61CD
analogous
#CD633E #CDAA3E #A8CD3E
triadic
#CDAA3E #3ECDAA #AA3ECD
tetradic
#CDAA3E #3ECD63 #3E61CD #CD3EA8
square
#CDAA3E #3ECD63 #3E61CD #CD3EA8
split-complementary
#CDAA3E #3EA8CD #633ECD
monochromatic
#735E1E #A3862A #CDAA3E #DABF6F #E6D59F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDAA3E#FFFFFF#000000##000000
##CDAA3E1.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)
#BDA82F
Deuteranopia (green-blind)
#C5B243
Tritanopia (blue-blind)
#DE9C94
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #cdaa3e;
/* rgb */ color: rgb(205, 170, 62);
/* oklch */ color: oklch(75.0% 0.130 90.7);
Tailwind
colors: {
  custom: {
    50: '#e0c279',
    500: '#cdaa3e',
    950: '#000000',
  },
}
SCSS
$custom: #cdaa3e;
$custom-light: #e0c279;
$custom-dark: #000000;
JSON
{
  "hex": "#cdaa3e",
  "rgb": {
    "r": 205,
    "g": 170,
    "b": 62
  },
  "hsl": {
    "h": 45.315,
    "s": 58.848,
    "l": 52.353
  },
  "oklch": {
    "l": 0.74992,
    "c": 0.12986,
    "h": 90.7
  },
  "luminance": 0.42076
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CDAA3E

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

Preview Lab → · Contrast checker → · Palette generator →

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