#CDC03E#CDC03E

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

Color values

HEX#CDC03E
RGBrgb(205, 192, 62)
HSLhsl(55, 59%, 52%)
HSVhsv(55, 70%, 80%)
CMYKcmyk(0%, 6.3%, 69.8%, 19.6%)
CIE-LABlab(76.70, -10.15, 63.82)
CIE-LCHlch(76.70, 64.62, 99.04°)
OKLaboklab(79.56% -0.0342 0.1421)
OKLCHoklch(79.56% 0.146 103.5)
XYZxyz(44.8979, 51.0280, 12.0409)
Luminance0.5103 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC03E #3E4BCD
analogous
#CD783E #CDC03E #93CD3E
triadic
#CDC03E #3ECDC0 #C03ECD
tetradic
#CDC03E #3ECD78 #3E4BCD #CD3E93
square
#CDC03E #3ECD78 #3E4BCD #CD3E93
split-complementary
#CDC03E #3E93CD #783ECD
monochromatic
#736B1E #A3982A #CDC03E #DAD06F #E6E09F

Accessibility & contrast

On white

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

On black

11.21
#CDC03E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC03E
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC03E#FFFFFF#000000##000000
##CDC03E1.001.8711.2111.21
#FFFFFF1.871.0021.0021.00
#00000011.2121.001.001.00
##00000011.2121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdc03e;
/* rgb */ color: rgb(205, 192, 62);
/* oklch */ color: oklch(79.6% 0.146 103.5);
Tailwind
colors: {
  custom: {
    50: '#e0d27b',
    500: '#cdc03e',
    950: '#000000',
  },
}
SCSS
$custom: #cdc03e;
$custom-light: #e0d27b;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc03e",
  "rgb": {
    "r": 205,
    "g": 192,
    "b": 62
  },
  "hsl": {
    "h": 54.545,
    "s": 58.848,
    "l": 52.353
  },
  "oklch": {
    "l": 0.79563,
    "c": 0.14619,
    "h": 103.5
  },
  "luminance": 0.51026
}

Semantic roles & 50–950 ramp

primary
#CDC03E
secondary
#343A7C
accent
#54E246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CDC03E

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

Preview Lab → · Contrast checker → · Palette generator →

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