#CDC03D#CDC03D

#CDC03D is a light, vivid yellow. Relative luminance 0.510; OKLCH L 79.6% C 0.147 H 103.6°. Best body text is #000000 at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#CDC03D
RGBrgb(205, 192, 61)
HSLhsl(55, 59%, 52%)
HSVhsv(55, 70%, 80%)
CMYKcmyk(0%, 6.3%, 70.2%, 19.6%)
CIE-LABlab(76.69, -10.20, 64.19)
CIE-LCHlch(76.69, 65.00, 99.03°)
OKLaboklab(79.55% -0.0345 0.1427)
OKLCHoklch(79.55% 0.147 103.6)
XYZxyz(44.8707, 51.0171, 11.8977)
Luminance0.5101 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC03D #3D4ACD
analogous
#CD783D #CDC03D #92CD3D
triadic
#CDC03D #3DCDC0 #C03DCD
tetradic
#CDC03D #3DCD78 #3D4ACD #CD3D92
square
#CDC03D #3DCD78 #3D4ACD #CD3D92
split-complementary
#CDC03D #3D92CD #783DCD
monochromatic
#726B1D #A3982A #CDC03D #DAD06E #E6E09E

Accessibility & contrast

On white

1.87
#CDC03D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.20
#CDC03D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC03D
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC03D#FFFFFF#000000##000000
##CDC03D1.001.8711.2011.20
#FFFFFF1.871.0021.0021.00
#00000011.2021.001.001.00
##00000011.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BA28
Deuteranopia (green-blind)
#D5C046
Tritanopia (blue-blind)
#DCB3A6
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cdc03d;
/* rgb */ color: rgb(205, 192, 61);
/* oklch */ color: oklch(79.6% 0.147 103.6);
Tailwind
colors: {
  custom: {
    50: '#e0d27b',
    500: '#cdc03d',
    950: '#000000',
  },
}
SCSS
$custom: #cdc03d;
$custom-light: #e0d27b;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc03d",
  "rgb": {
    "r": 205,
    "g": 192,
    "b": 61
  },
  "hsl": {
    "h": 54.583,
    "s": 59.016,
    "l": 52.157
  },
  "oklch": {
    "l": 0.79555,
    "c": 0.14684,
    "h": 103.6
  },
  "luminance": 0.51015
}

Semantic roles & 50–950 ramp

primary
#CDC03D
secondary
#333A7B
accent
#54E246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CDC03D

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

Preview Lab → · Contrast checker → · Palette generator →

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