#CDC03F#CDC03F

#CDC03F 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#CDC03F
RGBrgb(205, 192, 63)
HSLhsl(55, 59%, 53%)
HSVhsv(55, 69%, 80%)
CMYKcmyk(0%, 6.3%, 69.3%, 19.6%)
CIE-LABlab(76.70, -10.10, 63.45)
CIE-LCHlch(76.70, 64.25, 99.04°)
OKLaboklab(79.57% -0.034 0.1415)
OKLCHoklch(79.57% 0.146 103.5)
XYZxyz(44.9256, 51.0391, 12.1868)
Luminance0.5104 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC03F #3F4CCD
analogous
#CD793F #CDC03F #93CD3F
triadic
#CDC03F #3FCDC0 #C03FCD
tetradic
#CDC03F #3FCD79 #3F4CCD #CD3F93
square
#CDC03F #3FCD79 #3F4CCD #CD3F93
split-complementary
#CDC03F #3F93CD #793FCD
monochromatic
#746C1E #A4992B #CDC03F #DAD070 #E6E0A0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDC03F#FFFFFF#000000##000000
##CDC03F1.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)
#D1BA2B
Deuteranopia (green-blind)
#D5C047
Tritanopia (blue-blind)
#DCB3A6
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cdc03f;
/* rgb */ color: rgb(205, 192, 63);
/* oklch */ color: oklch(79.6% 0.146 103.5);
Tailwind
colors: {
  custom: {
    50: '#e0d27c',
    500: '#cdc03f',
    950: '#000000',
  },
}
SCSS
$custom: #cdc03f;
$custom-light: #e0d27c;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc03f",
  "rgb": {
    "r": 205,
    "g": 192,
    "b": 63
  },
  "hsl": {
    "h": 54.507,
    "s": 58.678,
    "l": 52.549
  },
  "oklch": {
    "l": 0.7957,
    "c": 0.14553,
    "h": 103.5
  },
  "luminance": 0.51037
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CDC03F

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

Preview Lab → · Contrast checker → · Palette generator →

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