#CDC93E#CDC93E

#CDC93E is a light, vivid yellow. Relative luminance 0.551; OKLCH L 81.5% C 0.154 H 107.7°. Best body text is #000000 at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#CDC93E
RGBrgb(205, 201, 62)
HSLhsl(58, 59%, 52%)
HSVhsv(58, 70%, 80%)
CMYKcmyk(0%, 2%, 69.8%, 19.6%)
CIE-LABlab(79.10, -14.71, 66.20)
CIE-LCHlch(79.10, 67.81, 102.53°)
OKLaboklab(81.48% -0.0471 0.1471)
OKLCHoklch(81.48% 0.154 107.7)
XYZxyz(46.9347, 55.1018, 12.7199)
Luminance0.5510 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC93E #3E42CD
analogous
#CD823E #CDC93E #89CD3E
triadic
#CDC93E #3ECDC9 #C93ECD
tetradic
#CDC93E #3ECD82 #3E42CD #CD3E89
square
#CDC93E #3ECD82 #3E42CD #CD3E89
split-complementary
#CDC93E #3E89CD #823ECD
monochromatic
#73701E #A3A02A #CDC93E #DAD76F #E6E49F

Accessibility & contrast

On white

1.75
#CDC93E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.02
#CDC93E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC93E
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC93E#FFFFFF#000000##000000
##CDC93E1.001.7512.0212.02
#FFFFFF1.751.0021.0021.00
#00000012.0221.001.001.00
##00000012.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC127
Deuteranopia (green-blind)
#DCC648
Tritanopia (blue-blind)
#DCBCAE
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cdc93e;
/* rgb */ color: rgb(205, 201, 62);
/* oklch */ color: oklch(81.5% 0.154 107.7);
Tailwind
colors: {
  custom: {
    50: '#e0d97c',
    500: '#cdc93e',
    950: '#000000',
  },
}
SCSS
$custom: #cdc93e;
$custom-light: #e0d97c;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc93e",
  "rgb": {
    "r": 205,
    "g": 201,
    "b": 62
  },
  "hsl": {
    "h": 58.322,
    "s": 58.848,
    "l": 52.353
  },
  "oklch": {
    "l": 0.81477,
    "c": 0.15449,
    "h": 107.7
  },
  "luminance": 0.551
}

Semantic roles & 50–950 ramp

primary
#CDC93E
secondary
#34367C
accent
#4AE246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CDC93E

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

Preview Lab → · Contrast checker → · Palette generator →

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