#CDC457#CDC457

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

Color values

HEX#CDC457
RGBrgb(205, 196, 87)
HSLhsl(55, 54%, 57%)
HSVhsv(55, 58%, 80%)
CMYKcmyk(0%, 4.4%, 57.6%, 19.6%)
CIE-LABlab(77.96, -10.64, 54.70)
CIE-LCHlch(77.96, 55.72, 101.01°)
OKLaboklab(80.64% -0.0329 0.1265)
OKLCHoklch(80.64% 0.131 104.6)
XYZxyz(46.6386, 53.1487, 16.8170)
Luminance0.5315 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC457 #5760CD
analogous
#CD8957 #CDC457 #9BCD57
triadic
#CDC457 #57CDC4 #C457CD
tetradic
#CDC457 #57CD89 #5760CD #CD579B
square
#CDC457 #57CD89 #5760CD #CD579B
split-complementary
#CDC457 #579BCD #8957CD
monochromatic
#837C27 #B2A835 #CDC457 #DBD586 #E9E5B5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDC457#FFFFFF#000000##000000
##CDC4571.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)
#D3BE4C
Deuteranopia (green-blind)
#D7C35D
Tritanopia (blue-blind)
#DBB8AC
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cdc457;
/* rgb */ color: rgb(205, 196, 87);
/* oklch */ color: oklch(80.6% 0.131 104.6);
Tailwind
colors: {
  custom: {
    50: '#dfd58a',
    500: '#cdc457',
    950: '#000000',
  },
}
SCSS
$custom: #cdc457;
$custom-light: #dfd58a;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc457",
  "rgb": {
    "r": 205,
    "g": 196,
    "b": 87
  },
  "hsl": {
    "h": 55.424,
    "s": 54.128,
    "l": 57.255
  },
  "oklch": {
    "l": 0.80635,
    "c": 0.13072,
    "h": 104.6
  },
  "luminance": 0.53147
}

Semantic roles & 50–950 ramp

primary
#CDC457
secondary
#3E448A
accent
#56DD4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CDC457

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

Preview Lab → · Contrast checker → · Palette generator →

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