#CDAC3E#CDAC3E

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

Color values

HEX#CDAC3E
RGBrgb(205, 172, 62)
HSLhsl(46, 59%, 52%)
HSVhsv(46, 70%, 80%)
CMYKcmyk(0%, 16.1%, 69.8%, 19.6%)
CIE-LABlab(71.44, 0.27, 58.54)
CIE-LCHlch(71.44, 58.54, 89.73°)
OKLaboklab(75.4% -0.0045 0.131)
OKLCHoklch(75.4% 0.131 92)
XYZxyz(40.8010, 42.8343, 10.6753)
Luminance0.4283 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDAC3E #3E5FCD
analogous
#CD653E #CDAC3E #A6CD3E
triadic
#CDAC3E #3ECDAC #AC3ECD
tetradic
#CDAC3E #3ECD65 #3E5FCD #CD3EA6
square
#CDAC3E #3ECD65 #3E5FCD #CD3EA6
split-complementary
#CDAC3E #3EA6CD #653ECD
monochromatic
#735F1E #A3882A #CDAC3E #DAC16F #E6D69F

Accessibility & contrast

On white

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

On black

9.57
#CDAC3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDAC3E
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDAC3E#FFFFFF#000000##000000
##CDAC3E1.002.209.579.57
#FFFFFF2.201.0021.0021.00
#0000009.5721.001.001.00
##0000009.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA92F
Deuteranopia (green-blind)
#C7B344
Tritanopia (blue-blind)
#DD9E95
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #cdac3e;
/* rgb */ color: rgb(205, 172, 62);
/* oklch */ color: oklch(75.4% 0.131 92.0);
Tailwind
colors: {
  custom: {
    50: '#e0c479',
    500: '#cdac3e',
    950: '#000000',
  },
}
SCSS
$custom: #cdac3e;
$custom-light: #e0c479;
$custom-dark: #000000;
JSON
{
  "hex": "#cdac3e",
  "rgb": {
    "r": 205,
    "g": 172,
    "b": 62
  },
  "hsl": {
    "h": 46.154,
    "s": 58.848,
    "l": 52.353
  },
  "oklch": {
    "l": 0.754,
    "c": 0.13105,
    "h": 92
  },
  "luminance": 0.42832
}

Semantic roles & 50–950 ramp

primary
#CDAC3E
secondary
#94A3D3
accent
#6AE246
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161209
muted
#84817B

Preview Lab

Preview with #CDAC3E

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

Preview Lab → · Contrast checker → · Palette generator →

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