#CDAC3B#CDAC3B

#CDAC3B is a light, vivid yellow. Relative luminance 0.428; OKLCH L 75.4% C 0.133 H 92.3°. Best body text is #000000 at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#CDAC3B
RGBrgb(205, 172, 59)
HSLhsl(46, 59%, 52%)
HSVhsv(46, 71%, 80%)
CMYKcmyk(0%, 16.1%, 71.2%, 19.6%)
CIE-LABlab(71.42, 0.12, 59.73)
CIE-LCHlch(71.42, 59.73, 89.89°)
OKLaboklab(75.38% -0.0053 0.133)
OKLCHoklch(75.38% 0.133 92.3)
XYZxyz(40.7210, 42.8023, 10.2537)
Luminance0.4280 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDAC3B #3B5CCD
analogous
#CD633B #CDAC3B #A5CD3B
triadic
#CDAC3B #3BCDAC #AC3BCD
tetradic
#CDAC3B #3BCD63 #3B5CCD #CD3BA5
square
#CDAC3B #3BCD63 #3B5CCD #CD3BA5
split-complementary
#CDAC3B #3BA5CD #633BCD
monochromatic
#715E1D #A28629 #CDAC3B #D9C16C #E6D59D

Accessibility & contrast

On white

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

On black

9.56
#CDAC3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDAC3B
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDAC3B#FFFFFF#000000##000000
##CDAC3B1.002.209.569.56
#FFFFFF2.201.0021.0021.00
#0000009.5621.001.001.00
##0000009.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA92B
Deuteranopia (green-blind)
#C7B341
Tritanopia (blue-blind)
#DE9E95
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #cdac3b;
/* rgb */ color: rgb(205, 172, 59);
/* oklch */ color: oklch(75.4% 0.133 92.3);
Tailwind
colors: {
  custom: {
    50: '#e0c478',
    500: '#cdac3b',
    950: '#000000',
  },
}
SCSS
$custom: #cdac3b;
$custom-light: #e0c478;
$custom-dark: #000000;
JSON
{
  "hex": "#cdac3b",
  "rgb": {
    "r": 205,
    "g": 172,
    "b": 59
  },
  "hsl": {
    "h": 46.438,
    "s": 59.35,
    "l": 51.765
  },
  "oklch": {
    "l": 0.75376,
    "c": 0.13306,
    "h": 92.3
  },
  "luminance": 0.428
}

Semantic roles & 50–950 ramp

primary
#CDAC3B
secondary
#92A0D2
accent
#69E345
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161209
muted
#84817B

Preview Lab

Preview with #CDAC3B

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

Preview Lab → · Contrast checker → · Palette generator →

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