#CDAA33#CDAA33

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

Color values

HEX#CDAA33
RGBrgb(205, 170, 51)
HSLhsl(46, 61%, 50%)
HSVhsv(46, 75%, 80%)
CMYKcmyk(0%, 17.1%, 75.1%, 19.6%)
CIE-LABlab(70.85, 0.81, 62.24)
CIE-LCHlch(70.85, 62.25, 89.25°)
OKLaboklab(74.91% -0.0042 0.1367)
OKLCHoklch(74.91% 0.137 91.8)
XYZxyz(40.1514, 41.9700, 9.1175)
Luminance0.4197 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDAA33 #3356CD
analogous
#CD5D33 #CDAA33 #A3CD33
triadic
#CDAA33 #33CDAA #AA33CD
tetradic
#CDAA33 #33CD5D #3356CD #CD33A3
square
#CDAA33 #33CD5D #3356CD #CD33A3
split-complementary
#CDAA33 #33A3CD #5D33CD
monochromatic
#6B591A #9C8226 #CDAA33 #D9BE64 #E5D395

Accessibility & contrast

On white

2.24
#CDAA33 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.39
#CDAA33 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDAA33
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDAA33#FFFFFF#000000##000000
##CDAA331.002.249.399.39
#FFFFFF2.241.0021.0021.00
#0000009.3921.001.001.00
##0000009.3921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdaa33;
/* rgb */ color: rgb(205, 170, 51);
/* oklch */ color: oklch(74.9% 0.137 91.8);
Tailwind
colors: {
  custom: {
    50: '#e1c273',
    500: '#cdaa33',
    950: '#000000',
  },
}
SCSS
$custom: #cdaa33;
$custom-light: #e1c273;
$custom-dark: #000000;
JSON
{
  "hex": "#cdaa33",
  "rgb": {
    "r": 205,
    "g": 170,
    "b": 51
  },
  "hsl": {
    "h": 46.364,
    "s": 60.63,
    "l": 50.196
  },
  "oklch": {
    "l": 0.74909,
    "c": 0.13681,
    "h": 91.8
  },
  "luminance": 0.41968
}

Semantic roles & 50–950 ramp

primary
#CDAA33
secondary
#8B9BD0
accent
#68E444
background
#FEFBF7
surface
#FDF7ED
border
#D5D0C8
text
#161209
muted
#84817B

Preview Lab

Preview with #CDAA33

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

Preview Lab → · Contrast checker → · Palette generator →

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