#CDAB41#CDAB41

#CDAB41 is a light, vivid yellow. Relative luminance 0.425; OKLCH L 75.2% C 0.128 H 91.0°. Best body text is #000000 at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#CDAB41
RGBrgb(205, 171, 65)
HSLhsl(45, 58%, 53%)
HSVhsv(45, 68%, 80%)
CMYKcmyk(0%, 16.6%, 68.3%, 19.6%)
CIE-LABlab(71.21, 0.96, 57.05)
CIE-LCHlch(71.21, 57.05, 89.03°)
OKLaboklab(75.22% -0.0022 0.1283)
OKLCHoklch(75.22% 0.128 91)
XYZxyz(40.6960, 42.4890, 11.0577)
Luminance0.4249 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDAB41 #4163CD
analogous
#CD6541 #CDAB41 #A9CD41
triadic
#CDAB41 #41CDAB #AB41CD
tetradic
#CDAB41 #41CD65 #4163CD #CD41A9
square
#CDAB41 #41CD65 #4163CD #CD41A9
split-complementary
#CDAB41 #41A9CD #6541CD
monochromatic
#75601F #A5882C #CDAB41 #DAC071 #E6D6A2

Accessibility & contrast

On white

2.21
#CDAB41 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.50
#CDAB41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDAB41
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDAB41#FFFFFF#000000##000000
##CDAB411.002.219.509.50
#FFFFFF2.211.0021.0021.00
#0000009.5021.001.001.00
##0000009.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA933
Deuteranopia (green-blind)
#C6B246
Tritanopia (blue-blind)
#DD9D95
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #cdab41;
/* rgb */ color: rgb(205, 171, 65);
/* oklch */ color: oklch(75.2% 0.128 91.0);
Tailwind
colors: {
  custom: {
    50: '#e0c37b',
    500: '#cdab41',
    950: '#000000',
  },
}
SCSS
$custom: #cdab41;
$custom-light: #e0c37b;
$custom-dark: #000000;
JSON
{
  "hex": "#cdab41",
  "rgb": {
    "r": 205,
    "g": 171,
    "b": 65
  },
  "hsl": {
    "h": 45.429,
    "s": 58.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.75222,
    "c": 0.12834,
    "h": 91
  },
  "luminance": 0.42487
}

Semantic roles & 50–950 ramp

primary
#CDAB41
secondary
#97A5D3
accent
#6CE246
background
#FEFBF7
surface
#FCF7EE
border
#D5D0C9
text
#16120A
muted
#84817C

Preview Lab

Preview with #CDAB41

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

Preview Lab → · Contrast checker → · Palette generator →

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