#CDC45E#CDC45E

#CDC45E is a light, vivid yellow. Relative luminance 0.533; OKLCH L 80.7% C 0.124 H 104.2°. Best body text is #000000 at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#CDC45E
RGBrgb(205, 196, 94)
HSLhsl(55, 53%, 59%)
HSVhsv(55, 54%, 80%)
CMYKcmyk(0%, 4.4%, 54.1%, 19.6%)
CIE-LABlab(78.03, -10.10, 51.56)
CIE-LCHlch(78.03, 52.54, 101.08°)
OKLaboklab(80.71% -0.0306 0.1206)
OKLCHoklch(80.71% 0.124 104.2)
XYZxyz(46.9386, 53.2687, 18.3968)
Luminance0.5327 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC45E #5E67CD
analogous
#CD8C5E #CDC45E #9ECD5E
triadic
#CDC45E #5ECDC4 #C45ECD
tetradic
#CDC45E #5ECD8C #5E67CD #CD5E9E
square
#CDC45E #5ECD8C #5E67CD #CD5E9E
split-complementary
#CDC45E #5E9ECD #8C5ECD
monochromatic
#877F2A #B5AB38 #CDC45E #DCD58D #EAE6BB

Accessibility & contrast

On white

1.80
#CDC45E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.65
#CDC45E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC45E
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC45E#FFFFFF#000000##000000
##CDC45E1.001.8011.6511.65
#FFFFFF1.801.0021.0021.00
#00000011.6521.001.001.00
##00000011.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BE54
Deuteranopia (green-blind)
#D6C363
Tritanopia (blue-blind)
#DAB9AD
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cdc45e;
/* rgb */ color: rgb(205, 196, 94);
/* oklch */ color: oklch(80.7% 0.124 104.2);
Tailwind
colors: {
  custom: {
    50: '#dfd58f',
    500: '#cdc45e',
    950: '#000000',
  },
}
SCSS
$custom: #cdc45e;
$custom-light: #dfd58f;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc45e",
  "rgb": {
    "r": 205,
    "g": 196,
    "b": 94
  },
  "hsl": {
    "h": 55.135,
    "s": 52.607,
    "l": 58.627
  },
  "oklch": {
    "l": 0.80714,
    "c": 0.12439,
    "h": 104.2
  },
  "luminance": 0.53267
}

Semantic roles & 50–950 ramp

primary
#CDC45E
secondary
#41488E
accent
#57DC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CDC45E

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

Preview Lab → · Contrast checker → · Palette generator →

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