#CDAB45#CDAB45

#CDAB45 is a light, vivid yellow. Relative luminance 0.425; OKLCH L 75.3% C 0.125 H 90.5°. Best body text is #000000 at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#CDAB45
RGBrgb(205, 171, 69)
HSLhsl(45, 58%, 54%)
HSVhsv(45, 66%, 80%)
CMYKcmyk(0%, 16.6%, 66.3%, 19.6%)
CIE-LABlab(71.24, 1.19, 55.36)
CIE-LCHlch(71.24, 55.37, 88.77°)
OKLaboklab(75.26% -0.001 0.1254)
OKLCHoklch(75.26% 0.125 90.5)
XYZxyz(40.8160, 42.5370, 11.6897)
Luminance0.4254 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDAB45 #4567CD
analogous
#CD6745 #CDAB45 #ABCD45
triadic
#CDAB45 #45CDAB #AB45CD
tetradic
#CDAB45 #45CD67 #4567CD #CD45AB
square
#CDAB45 #45CD67 #4567CD #CD45AB
split-complementary
#CDAB45 #45ABCD #6745CD
monochromatic
#776220 #A8892D #CDAB45 #DAC175 #E7D7A5

Accessibility & contrast

On white

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

On black

9.51
#CDAB45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDAB45
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDAB45#FFFFFF#000000##000000
##CDAB451.002.219.519.51
#FFFFFF2.211.0021.0021.00
#0000009.5121.001.001.00
##0000009.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA939
Deuteranopia (green-blind)
#C5B24A
Tritanopia (blue-blind)
#DD9E95
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #cdab45;
/* rgb */ color: rgb(205, 171, 69);
/* oklch */ color: oklch(75.3% 0.125 90.5);
Tailwind
colors: {
  custom: {
    50: '#e0c37d',
    500: '#cdab45',
    950: '#000000',
  },
}
SCSS
$custom: #cdab45;
$custom-light: #e0c37d;
$custom-dark: #000000;
JSON
{
  "hex": "#cdab45",
  "rgb": {
    "r": 205,
    "g": 171,
    "b": 69
  },
  "hsl": {
    "h": 45,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.75258,
    "c": 0.12541,
    "h": 90.5
  },
  "luminance": 0.42535
}

Semantic roles & 50–950 ramp

primary
#CDAB45
secondary
#9AA8D4
accent
#6DE147
background
#FEFBF7
surface
#FCF7EE
border
#D5D0C9
text
#16120A
muted
#84817C

Preview Lab

Preview with #CDAB45

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

Preview Lab → · Contrast checker → · Palette generator →

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