#CDAB33#CDAB33

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

Color values

HEX#CDAB33
RGBrgb(205, 171, 51)
HSLhsl(47, 61%, 50%)
HSVhsv(47, 75%, 80%)
CMYKcmyk(0%, 16.6%, 75.1%, 19.6%)
CIE-LABlab(71.11, 0.28, 62.49)
CIE-LCHlch(71.11, 62.49, 89.74°)
OKLaboklab(75.11% -0.0057 0.1373)
OKLCHoklch(75.11% 0.137 92.4)
XYZxyz(40.3396, 42.3464, 9.1803)
Luminance0.4234 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDAB33 #3355CD
analogous
#CD5E33 #CDAB33 #A2CD33
triadic
#CDAB33 #33CDAB #AB33CD
tetradic
#CDAB33 #33CD5E #3355CD #CD33A2
square
#CDAB33 #33CD5E #3355CD #CD33A2
split-complementary
#CDAB33 #33A2CD #5E33CD
monochromatic
#6B591A #9C8226 #CDAB33 #D9BF64 #E5D395

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDAB33#FFFFFF#000000##000000
##CDAB331.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)
#BEA81E
Deuteranopia (green-blind)
#C6B23A
Tritanopia (blue-blind)
#DE9D94
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #cdab33;
/* rgb */ color: rgb(205, 171, 51);
/* oklch */ color: oklch(75.1% 0.137 92.4);
Tailwind
colors: {
  custom: {
    50: '#e1c373',
    500: '#cdab33',
    950: '#000000',
  },
}
SCSS
$custom: #cdab33;
$custom-light: #e1c373;
$custom-dark: #000000;
JSON
{
  "hex": "#cdab33",
  "rgb": {
    "r": 205,
    "g": 171,
    "b": 51
  },
  "hsl": {
    "h": 46.753,
    "s": 60.63,
    "l": 50.196
  },
  "oklch": {
    "l": 0.75113,
    "c": 0.13738,
    "h": 92.4
  },
  "luminance": 0.42344
}

Semantic roles & 50–950 ramp

primary
#CDAB33
secondary
#8B9BD0
accent
#67E444
background
#FEFBF7
surface
#FDF7ED
border
#D5D0C8
text
#161209
muted
#84817B

Preview Lab

Preview with #CDAB33

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

Preview Lab → · Contrast checker → · Palette generator →

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