#CDAA37#CDAA37

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

Color values

HEX#CDAA37
RGBrgb(205, 170, 55)
HSLhsl(46, 60%, 51%)
HSVhsv(46, 73%, 80%)
CMYKcmyk(0%, 17.1%, 73.2%, 19.6%)
CIE-LABlab(70.88, 0.99, 60.76)
CIE-LCHlch(70.88, 60.77, 89.07°)
OKLaboklab(74.94% -0.0033 0.1344)
OKLCHoklch(74.94% 0.134 91.4)
XYZxyz(40.2434, 42.0069, 9.6022)
Luminance0.4200 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDAA37 #375ACD
analogous
#CD5F37 #CDAA37 #A5CD37
triadic
#CDAA37 #37CDAA #AA37CD
tetradic
#CDAA37 #37CD5F #375ACD #CD37A5
square
#CDAA37 #37CD5F #375ACD #CD37A5
split-complementary
#CDAA37 #37A5CD #5F37CD
monochromatic
#6E5B1C #9F8328 #CDAA37 #D9BF68 #E5D499

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDAA37#FFFFFF#000000##000000
##CDAA371.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)
#BDA825
Deuteranopia (green-blind)
#C5B23D
Tritanopia (blue-blind)
#DE9C93
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #cdaa37;
/* rgb */ color: rgb(205, 170, 55);
/* oklch */ color: oklch(74.9% 0.134 91.4);
Tailwind
colors: {
  custom: {
    50: '#e0c275',
    500: '#cdaa37',
    950: '#000000',
  },
}
SCSS
$custom: #cdaa37;
$custom-light: #e0c275;
$custom-dark: #000000;
JSON
{
  "hex": "#cdaa37",
  "rgb": {
    "r": 205,
    "g": 170,
    "b": 55
  },
  "hsl": {
    "h": 46,
    "s": 60,
    "l": 50.98
  },
  "oklch": {
    "l": 0.74937,
    "c": 0.13442,
    "h": 91.4
  },
  "luminance": 0.42004
}

Semantic roles & 50–950 ramp

primary
#CDAA37
secondary
#8F9ED1
accent
#6AE345
background
#FEFBF7
surface
#FDF7ED
border
#D5D0C8
text
#161209
muted
#84817B

Preview Lab

Preview with #CDAA37

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

Preview Lab → · Contrast checker → · Palette generator →

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