#CDAC33#CDAC33

#CDAC33 is a light, vivid yellow. Relative luminance 0.427; OKLCH L 75.3% C 0.138 H 93.0°. Best body text is #000000 at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#CDAC33
RGBrgb(205, 172, 51)
HSLhsl(47, 61%, 50%)
HSVhsv(47, 75%, 80%)
CMYKcmyk(0%, 16.1%, 75.1%, 19.6%)
CIE-LABlab(71.37, -0.25, 62.74)
CIE-LCHlch(71.37, 62.74, 90.23°)
OKLaboklab(75.32% -0.0073 0.1378)
OKLCHoklch(75.32% 0.138 93)
XYZxyz(40.5292, 42.7256, 9.2435)
Luminance0.4272 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDAC33 #3354CD
analogous
#CD5F33 #CDAC33 #A1CD33
triadic
#CDAC33 #33CDAC #AC33CD
tetradic
#CDAC33 #33CD5F #3354CD #CD33A1
square
#CDAC33 #33CD5F #3354CD #CD33A1
split-complementary
#CDAC33 #33A1CD #5F33CD
monochromatic
#6B5A1A #9C8326 #CDAC33 #D9C064 #E5D495

Accessibility & contrast

On white

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

On black

9.54
#CDAC33 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDAC33
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDAC33#FFFFFF#000000##000000
##CDAC331.002.209.549.54
#FFFFFF2.201.0021.0021.00
#0000009.5421.001.001.00
##0000009.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA91D
Deuteranopia (green-blind)
#C7B33A
Tritanopia (blue-blind)
#DE9E94
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #cdac33;
/* rgb */ color: rgb(205, 172, 51);
/* oklch */ color: oklch(75.3% 0.138 93.0);
Tailwind
colors: {
  custom: {
    50: '#e1c473',
    500: '#cdac33',
    950: '#000000',
  },
}
SCSS
$custom: #cdac33;
$custom-light: #e1c473;
$custom-dark: #000000;
JSON
{
  "hex": "#cdac33",
  "rgb": {
    "r": 205,
    "g": 172,
    "b": 51
  },
  "hsl": {
    "h": 47.143,
    "s": 60.63,
    "l": 50.196
  },
  "oklch": {
    "l": 0.75318,
    "c": 0.13798,
    "h": 93
  },
  "luminance": 0.42723
}

Semantic roles & 50–950 ramp

primary
#CDAC33
secondary
#8B9AD0
accent
#66E444
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#161209
muted
#84817B

Preview Lab

Preview with #CDAC33

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

Preview Lab → · Contrast checker → · Palette generator →

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