#CDC45A#CDC45A

#CDC45A is a light, vivid yellow. Relative luminance 0.532; OKLCH L 80.7% C 0.128 H 104.4°. Best body text is #000000 at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#CDC45A
RGBrgb(205, 196, 90)
HSLhsl(55, 53%, 58%)
HSVhsv(55, 56%, 80%)
CMYKcmyk(0%, 4.4%, 56.1%, 19.6%)
CIE-LABlab(77.99, -10.41, 53.37)
CIE-LCHlch(77.99, 54.37, 101.04°)
OKLaboklab(80.67% -0.0319 0.124)
OKLCHoklch(80.67% 0.128 104.4)
XYZxyz(46.7637, 53.1987, 17.4759)
Luminance0.5320 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC45A #5A63CD
analogous
#CD8A5A #CDC45A #9DCD5A
triadic
#CDC45A #5ACDC4 #C45ACD
tetradic
#CDC45A #5ACD8A #5A63CD #CD5A9D
square
#CDC45A #5ACD8A #5A63CD #CD5A9D
split-complementary
#CDC45A #5A9DCD #8A5ACD
monochromatic
#847D28 #B3AA36 #CDC45A #DBD589 #E9E6B8

Accessibility & contrast

On white

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

On black

11.64
#CDC45A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC45A
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC45A#FFFFFF#000000##000000
##CDC45A1.001.8011.6411.64
#FFFFFF1.801.0021.0021.00
#00000011.6421.001.001.00
##00000011.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BE4F
Deuteranopia (green-blind)
#D7C35F
Tritanopia (blue-blind)
#DBB8AD
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cdc45a;
/* rgb */ color: rgb(205, 196, 90);
/* oklch */ color: oklch(80.7% 0.128 104.4);
Tailwind
colors: {
  custom: {
    50: '#dfd58c',
    500: '#cdc45a',
    950: '#000000',
  },
}
SCSS
$custom: #cdc45a;
$custom-light: #dfd58c;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc45a",
  "rgb": {
    "r": 205,
    "g": 196,
    "b": 90
  },
  "hsl": {
    "h": 55.304,
    "s": 53.488,
    "l": 57.843
  },
  "oklch": {
    "l": 0.80668,
    "c": 0.12805,
    "h": 104.4
  },
  "luminance": 0.53197
}

Semantic roles & 50–950 ramp

primary
#CDC45A
secondary
#40468C
accent
#56DD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CDC45A

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

Preview Lab → · Contrast checker → · Palette generator →

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