#CDC73C#CDC73C

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

Color values

HEX#CDC73C
RGBrgb(205, 199, 60)
HSLhsl(58, 59%, 52%)
HSVhsv(58, 71%, 80%)
CMYKcmyk(0%, 2.9%, 70.7%, 19.6%)
CIE-LABlab(78.55, -13.80, 66.39)
CIE-LCHlch(78.55, 67.80, 101.74°)
OKLaboklab(81.04% -0.0447 0.1472)
OKLCHoklch(81.04% 0.154 106.9)
XYZxyz(46.4177, 54.1538, 12.2817)
Luminance0.5415 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC73C #3C42CD
analogous
#CD7E3C #CDC73C #8BCD3C
triadic
#CDC73C #3CCDC7 #C73CCD
tetradic
#CDC73C #3CCD7E #3C42CD #CD3C8B
square
#CDC73C #3CCD7E #3C42CD #CD3C8B
split-complementary
#CDC73C #3C8BCD #7E3CCD
monochromatic
#716E1D #A29D2A #CDC73C #D9D56D #E6E39D

Accessibility & contrast

On white

1.78
#CDC73C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDC73C#FFFFFF#000000##000000
##CDC73C1.001.7811.8311.83
#FFFFFF1.781.0021.0021.00
#00000011.8321.001.001.00
##00000011.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdc73c;
/* rgb */ color: rgb(205, 199, 60);
/* oklch */ color: oklch(81.0% 0.154 106.9);
Tailwind
colors: {
  custom: {
    50: '#e0d77b',
    500: '#cdc73c',
    950: '#000000',
  },
}
SCSS
$custom: #cdc73c;
$custom-light: #e0d77b;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc73c",
  "rgb": {
    "r": 205,
    "g": 199,
    "b": 60
  },
  "hsl": {
    "h": 57.517,
    "s": 59.184,
    "l": 51.961
  },
  "oklch": {
    "l": 0.81036,
    "c": 0.15384,
    "h": 106.9
  },
  "luminance": 0.54152
}

Semantic roles & 50–950 ramp

primary
#CDC73C
secondary
#33367A
accent
#4CE245
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CDC73C

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

Preview Lab → · Contrast checker → · Palette generator →

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