#CDAA3D#CDAA3D

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

Color values

HEX#CDAA3D
RGBrgb(205, 170, 61)
HSLhsl(45, 59%, 52%)
HSVhsv(45, 70%, 80%)
CMYKcmyk(0%, 17.1%, 70.2%, 19.6%)
CIE-LABlab(70.92, 1.28, 58.42)
CIE-LCHlch(70.92, 58.43, 88.74°)
OKLaboklab(74.98% -0.0018 0.1305)
OKLCHoklch(74.98% 0.131 90.8)
XYZxyz(40.3961, 42.0679, 10.4062)
Luminance0.4207 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDAA3D #3D60CD
analogous
#CD623D #CDAA3D #A8CD3D
triadic
#CDAA3D #3DCDAA #AA3DCD
tetradic
#CDAA3D #3DCD62 #3D60CD #CD3DA8
square
#CDAA3D #3DCD62 #3D60CD #CD3DA8
split-complementary
#CDAA3D #3DA8CD #623DCD
monochromatic
#725E1D #A3852A #CDAA3D #DABF6E #E6D59E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDAA3D#FFFFFF#000000##000000
##CDAA3D1.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)
#BDA82E
Deuteranopia (green-blind)
#C5B242
Tritanopia (blue-blind)
#DE9C94
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #cdaa3d;
/* rgb */ color: rgb(205, 170, 61);
/* oklch */ color: oklch(75.0% 0.131 90.8);
Tailwind
colors: {
  custom: {
    50: '#e0c279',
    500: '#cdaa3d',
    950: '#000000',
  },
}
SCSS
$custom: #cdaa3d;
$custom-light: #e0c279;
$custom-dark: #000000;
JSON
{
  "hex": "#cdaa3d",
  "rgb": {
    "r": 205,
    "g": 170,
    "b": 61
  },
  "hsl": {
    "h": 45.417,
    "s": 59.016,
    "l": 52.157
  },
  "oklch": {
    "l": 0.74984,
    "c": 0.13054,
    "h": 90.8
  },
  "luminance": 0.42066
}

Semantic roles & 50–950 ramp

primary
#CDAA3D
secondary
#93A3D2
accent
#6CE246
background
#FEFBF7
surface
#FCF7EE
border
#D5D0C9
text
#161209
muted
#84817B

Preview Lab

Preview with #CDAA3D

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

Preview Lab → · Contrast checker → · Palette generator →

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