#CDAC37#CDAC37

#CDAC37 is a light, vivid yellow. Relative luminance 0.428; OKLCH L 75.3% C 0.136 H 92.7°. Best body text is #000000 at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#CDAC37
RGBrgb(205, 172, 55)
HSLhsl(47, 60%, 51%)
HSVhsv(47, 73%, 80%)
CMYKcmyk(0%, 16.1%, 73.2%, 19.6%)
CIE-LABlab(71.39, -0.07, 61.27)
CIE-LCHlch(71.39, 61.27, 90.07°)
OKLaboklab(75.35% -0.0063 0.1354)
OKLCHoklch(75.35% 0.136 92.7)
XYZxyz(40.6212, 42.7624, 9.7281)
Luminance0.4276 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDAC37 #3758CD
analogous
#CD6137 #CDAC37 #A3CD37
triadic
#CDAC37 #37CDAC #AC37CD
tetradic
#CDAC37 #37CD61 #3758CD #CD37A3
square
#CDAC37 #37CD61 #3758CD #CD37A3
split-complementary
#CDAC37 #37A3CD #6137CD
monochromatic
#6E5C1C #9F8528 #CDAC37 #D9C068 #E5D599

Accessibility & contrast

On white

2.20
#CDAC37 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.55
#CDAC37 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDAC37
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDAC37#FFFFFF#000000##000000
##CDAC371.002.209.559.55
#FFFFFF2.201.0021.0021.00
#0000009.5521.001.001.00
##0000009.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA924
Deuteranopia (green-blind)
#C7B33E
Tritanopia (blue-blind)
#DE9E95
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #cdac37;
/* rgb */ color: rgb(205, 172, 55);
/* oklch */ color: oklch(75.3% 0.136 92.7);
Tailwind
colors: {
  custom: {
    50: '#e0c475',
    500: '#cdac37',
    950: '#000000',
  },
}
SCSS
$custom: #cdac37;
$custom-light: #e0c475;
$custom-dark: #000000;
JSON
{
  "hex": "#cdac37",
  "rgb": {
    "r": 205,
    "g": 172,
    "b": 55
  },
  "hsl": {
    "h": 46.8,
    "s": 60,
    "l": 50.98
  },
  "oklch": {
    "l": 0.75346,
    "c": 0.1356,
    "h": 92.7
  },
  "luminance": 0.4276
}

Semantic roles & 50–950 ramp

primary
#CDAC37
secondary
#8F9DD1
accent
#68E345
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#161209
muted
#84817B

Preview Lab

Preview with #CDAC37

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

Preview Lab → · Contrast checker → · Palette generator →

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