#CDC73D#CDC73D

#CDC73D is a light, vivid yellow. Relative luminance 0.542; OKLCH L 81.0% C 0.153 H 106.9°. Best body text is #000000 at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#CDC73D
RGBrgb(205, 199, 61)
HSLhsl(58, 59%, 52%)
HSVhsv(58, 70%, 80%)
CMYKcmyk(0%, 2.9%, 70.2%, 19.6%)
CIE-LABlab(78.56, -13.75, 66.03)
CIE-LCHlch(78.56, 67.45, 101.77°)
OKLaboklab(81.04% -0.0445 0.1466)
OKLCHoklch(81.04% 0.153 106.9)
XYZxyz(46.4444, 54.1645, 12.4223)
Luminance0.5416 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC73D #3D43CD
analogous
#CD7F3D #CDC73D #8BCD3D
triadic
#CDC73D #3DCDC7 #C73DCD
tetradic
#CDC73D #3DCD7F #3D43CD #CD3D8B
square
#CDC73D #3DCD7F #3D43CD #CD3D8B
split-complementary
#CDC73D #3D8BCD #7F3DCD
monochromatic
#726F1D #A39E2A #CDC73D #DAD56E #E6E39E

Accessibility & contrast

On white

1.77
#CDC73D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.83
#CDC73D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC73D
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC73D#FFFFFF#000000##000000
##CDC73D1.001.7711.8311.83
#FFFFFF1.771.0021.0021.00
#00000011.8321.001.001.00
##00000011.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8BF26
Deuteranopia (green-blind)
#DBC547
Tritanopia (blue-blind)
#DCBAAC
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cdc73d;
/* rgb */ color: rgb(205, 199, 61);
/* oklch */ color: oklch(81.0% 0.153 106.9);
Tailwind
colors: {
  custom: {
    50: '#e0d77b',
    500: '#cdc73d',
    950: '#000000',
  },
}
SCSS
$custom: #cdc73d;
$custom-light: #e0d77b;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc73d",
  "rgb": {
    "r": 205,
    "g": 199,
    "b": 61
  },
  "hsl": {
    "h": 57.5,
    "s": 59.016,
    "l": 52.157
  },
  "oklch": {
    "l": 0.81043,
    "c": 0.15322,
    "h": 106.9
  },
  "luminance": 0.54163
}

Semantic roles & 50–950 ramp

primary
#CDC73D
secondary
#33367B
accent
#4CE246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CDC73D

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

Preview Lab → · Contrast checker → · Palette generator →

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