#CDAA35#CDAA35

#CDAA35 is a light, vivid yellow. Relative luminance 0.420; OKLCH L 74.9% C 0.136 H 91.6°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#CDAA35
RGBrgb(205, 170, 53)
HSLhsl(46, 60%, 51%)
HSVhsv(46, 74%, 80%)
CMYKcmyk(0%, 17.1%, 74.1%, 19.6%)
CIE-LABlab(70.86, 0.90, 61.51)
CIE-LCHlch(70.86, 61.52, 89.16°)
OKLaboklab(74.92% -0.0038 0.1356)
OKLCHoklch(74.92% 0.136 91.6)
XYZxyz(40.1964, 41.9881, 9.3548)
Luminance0.4199 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDAA35 #3558CD
analogous
#CD5E35 #CDAA35 #A4CD35
triadic
#CDAA35 #35CDAA #AA35CD
tetradic
#CDAA35 #35CD5E #3558CD #CD35A4
square
#CDAA35 #35CD5E #3558CD #CD35A4
split-complementary
#CDAA35 #35A4CD #5E35CD
monochromatic
#6D5A1B #9E8227 #CDAA35 #D9BF66 #E5D397

Accessibility & contrast

On white

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

On black

9.40
#CDAA35 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDAA35
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDAA35#FFFFFF#000000##000000
##CDAA351.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA822
Deuteranopia (green-blind)
#C6B23C
Tritanopia (blue-blind)
#DE9C93
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #cdaa35;
/* rgb */ color: rgb(205, 170, 53);
/* oklch */ color: oklch(74.9% 0.136 91.6);
Tailwind
colors: {
  custom: {
    50: '#e0c274',
    500: '#cdaa35',
    950: '#000000',
  },
}
SCSS
$custom: #cdaa35;
$custom-light: #e0c274;
$custom-dark: #000000;
JSON
{
  "hex": "#cdaa35",
  "rgb": {
    "r": 205,
    "g": 170,
    "b": 53
  },
  "hsl": {
    "h": 46.184,
    "s": 60.317,
    "l": 50.588
  },
  "oklch": {
    "l": 0.74923,
    "c": 0.13563,
    "h": 91.6
  },
  "luminance": 0.41986
}

Semantic roles & 50–950 ramp

primary
#CDAA35
secondary
#8D9DD1
accent
#69E344
background
#FEFBF7
surface
#FDF7ED
border
#D5D0C8
text
#161209
muted
#84817B

Preview Lab

Preview with #CDAA35

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

Preview Lab → · Contrast checker → · Palette generator →

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