#CDCA3D#CDCA3D

#CDCA3D is a light, vivid yellow. Relative luminance 0.556; OKLCH L 81.7% C 0.156 H 108.2°. Best body text is #000000 at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#CDCA3D
RGBrgb(205, 202, 61)
HSLhsl(59, 59%, 52%)
HSVhsv(59, 70%, 80%)
CMYKcmyk(0%, 1.5%, 70.2%, 19.6%)
CIE-LABlab(79.36, -15.26, 66.81)
CIE-LCHlch(79.36, 68.54, 102.86°)
OKLaboklab(81.68% -0.0487 0.1483)
OKLCHoklch(81.68% 0.156 108.2)
XYZxyz(47.1414, 55.5586, 12.6546)
Luminance0.5556 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCA3D #3D40CD
analogous
#CD823D #CDCA3D #88CD3D
triadic
#CDCA3D #3DCDCA #CA3DCD
tetradic
#CDCA3D #3DCD82 #3D40CD #CD3D88
square
#CDCA3D #3DCD82 #3D40CD #CD3D88
split-complementary
#CDCA3D #3D88CD #823DCD
monochromatic
#72701D #A3A02A #CDCA3D #DAD76E #E6E59E

Accessibility & contrast

On white

1.73
#CDCA3D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.11
#CDCA3D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCA3D
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCA3D#FFFFFF#000000##000000
##CDCA3D1.001.7312.1112.11
#FFFFFF1.731.0021.0021.00
#00000012.1121.001.001.00
##00000012.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC225
Deuteranopia (green-blind)
#DDC747
Tritanopia (blue-blind)
#DCBDAE
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cdca3d;
/* rgb */ color: rgb(205, 202, 61);
/* oklch */ color: oklch(81.7% 0.156 108.2);
Tailwind
colors: {
  custom: {
    50: '#e0d97c',
    500: '#cdca3d',
    950: '#000000',
  },
}
SCSS
$custom: #cdca3d;
$custom-light: #e0d97c;
$custom-dark: #000000;
JSON
{
  "hex": "#cdca3d",
  "rgb": {
    "r": 205,
    "g": 202,
    "b": 61
  },
  "hsl": {
    "h": 58.75,
    "s": 59.016,
    "l": 52.157
  },
  "oklch": {
    "l": 0.81684,
    "c": 0.15608,
    "h": 108.2
  },
  "luminance": 0.55557
}

Semantic roles & 50–950 ramp

primary
#CDCA3D
secondary
#33357B
accent
#49E246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CDCA3D

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

Preview Lab → · Contrast checker → · Palette generator →

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