#CDAB36#CDAB36

#CDAB36 is a light, vivid yellow. Relative luminance 0.424; OKLCH L 75.1% C 0.136 H 92.1°. Best body text is #000000 at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#CDAB36
RGBrgb(205, 171, 54)
HSLhsl(46, 60%, 51%)
HSVhsv(46, 74%, 80%)
CMYKcmyk(0%, 16.6%, 73.7%, 19.6%)
CIE-LABlab(71.13, 0.41, 61.39)
CIE-LCHlch(71.13, 61.39, 89.61°)
OKLaboklab(75.13% -0.005 0.1355)
OKLCHoklch(75.13% 0.136 92.1)
XYZxyz(40.4078, 42.3737, 9.5399)
Luminance0.4237 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDAB36 #3658CD
analogous
#CD5F36 #CDAB36 #A3CD36
triadic
#CDAB36 #36CDAB #AB36CD
tetradic
#CDAB36 #36CD5F #3658CD #CD36A3
square
#CDAB36 #36CD5F #3658CD #CD36A3
split-complementary
#CDAB36 #36A3CD #5F36CD
monochromatic
#6D5B1B #9E8427 #CDAB36 #D9BF67 #E5D498

Accessibility & contrast

On white

2.22
#CDAB36 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.47
#CDAB36 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDAB36
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDAB36#FFFFFF#000000##000000
##CDAB361.002.229.479.47
#FFFFFF2.221.0021.0021.00
#0000009.4721.001.001.00
##0000009.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA823
Deuteranopia (green-blind)
#C6B23D
Tritanopia (blue-blind)
#DE9D94
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #cdab36;
/* rgb */ color: rgb(205, 171, 54);
/* oklch */ color: oklch(75.1% 0.136 92.1);
Tailwind
colors: {
  custom: {
    50: '#e0c375',
    500: '#cdab36',
    950: '#000000',
  },
}
SCSS
$custom: #cdab36;
$custom-light: #e0c375;
$custom-dark: #000000;
JSON
{
  "hex": "#cdab36",
  "rgb": {
    "r": 205,
    "g": 171,
    "b": 54
  },
  "hsl": {
    "h": 46.49,
    "s": 60.159,
    "l": 50.784
  },
  "oklch": {
    "l": 0.75134,
    "c": 0.13561,
    "h": 92.1
  },
  "luminance": 0.42371
}

Semantic roles & 50–950 ramp

primary
#CDAB36
secondary
#8E9DD1
accent
#68E344
background
#FEFBF7
surface
#FDF7ED
border
#D5D0C8
text
#161209
muted
#84817B

Preview Lab

Preview with #CDAB36

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

Preview Lab → · Contrast checker → · Palette generator →

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