#CDC458#CDC458

#CDC458 is a light, vivid yellow. Relative luminance 0.532; OKLCH L 80.6% C 0.130 H 104.5°. Best body text is #000000 at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#CDC458
RGBrgb(205, 196, 88)
HSLhsl(55, 54%, 57%)
HSVhsv(55, 57%, 80%)
CMYKcmyk(0%, 4.4%, 57.1%, 19.6%)
CIE-LABlab(77.97, -10.57, 54.26)
CIE-LCHlch(77.97, 55.28, 101.02°)
OKLaboklab(80.65% -0.0326 0.1257)
OKLCHoklch(80.65% 0.13 104.5)
XYZxyz(46.6797, 53.1651, 17.0336)
Luminance0.5316 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC458 #5861CD
analogous
#CD8A58 #CDC458 #9BCD58
triadic
#CDC458 #58CDC4 #C458CD
tetradic
#CDC458 #58CD8A #5861CD #CD589B
square
#CDC458 #58CD8A #5861CD #CD589B
split-complementary
#CDC458 #589BCD #8A58CD
monochromatic
#837C27 #B2A935 #CDC458 #DBD587 #E9E5B6

Accessibility & contrast

On white

1.81
#CDC458 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.63
#CDC458 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC458
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC458#FFFFFF#000000##000000
##CDC4581.001.8111.6311.63
#FFFFFF1.811.0021.0021.00
#00000011.6321.001.001.00
##00000011.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BE4D
Deuteranopia (green-blind)
#D7C35E
Tritanopia (blue-blind)
#DBB8AC
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cdc458;
/* rgb */ color: rgb(205, 196, 88);
/* oklch */ color: oklch(80.6% 0.130 104.5);
Tailwind
colors: {
  custom: {
    50: '#dfd58b',
    500: '#cdc458',
    950: '#000000',
  },
}
SCSS
$custom: #cdc458;
$custom-light: #dfd58b;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc458",
  "rgb": {
    "r": 205,
    "g": 196,
    "b": 88
  },
  "hsl": {
    "h": 55.385,
    "s": 53.917,
    "l": 57.451
  },
  "oklch": {
    "l": 0.80646,
    "c": 0.12984,
    "h": 104.5
  },
  "luminance": 0.53164
}

Semantic roles & 50–950 ramp

primary
#CDC458
secondary
#3F448B
accent
#56DD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CDC458

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

Preview Lab → · Contrast checker → · Palette generator →

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