#CDC73E#CDC73E

#CDC73E 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#CDC73E
RGBrgb(205, 199, 62)
HSLhsl(57, 59%, 52%)
HSVhsv(57, 70%, 80%)
CMYKcmyk(0%, 2.9%, 69.8%, 19.6%)
CIE-LABlab(78.56, -13.70, 65.67)
CIE-LCHlch(78.56, 67.08, 101.79°)
OKLaboklab(81.05% -0.0442 0.146)
OKLCHoklch(81.05% 0.153 106.9)
XYZxyz(46.4715, 54.1754, 12.5655)
Luminance0.5417 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC73E #3E44CD
analogous
#CD803E #CDC73E #8BCD3E
triadic
#CDC73E #3ECDC7 #C73ECD
tetradic
#CDC73E #3ECD80 #3E44CD #CD3E8B
square
#CDC73E #3ECD80 #3E44CD #CD3E8B
split-complementary
#CDC73E #3E8BCD #803ECD
monochromatic
#736F1E #A39E2A #CDC73E #DAD56F #E6E39F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDC73E#FFFFFF#000000##000000
##CDC73E1.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)
#D8BF28
Deuteranopia (green-blind)
#DBC548
Tritanopia (blue-blind)
#DCBAAC
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cdc73e;
/* rgb */ color: rgb(205, 199, 62);
/* oklch */ color: oklch(81.0% 0.153 106.9);
Tailwind
colors: {
  custom: {
    50: '#e0d77c',
    500: '#cdc73e',
    950: '#000000',
  },
}
SCSS
$custom: #cdc73e;
$custom-light: #e0d77c;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc73e",
  "rgb": {
    "r": 205,
    "g": 199,
    "b": 62
  },
  "hsl": {
    "h": 57.483,
    "s": 58.848,
    "l": 52.353
  },
  "oklch": {
    "l": 0.8105,
    "c": 0.15258,
    "h": 106.9
  },
  "luminance": 0.54174
}

Semantic roles & 50–950 ramp

primary
#CDC73E
secondary
#34377C
accent
#4CE246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CDC73E

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

Preview Lab → · Contrast checker → · Palette generator →

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