#CDCE5A#CDCE5A

#CDCE5A is a very light, vivid yellow. Relative luminance 0.579; OKLCH L 82.8% C 0.138 H 109.5°. Best body text is #000000 at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#CDCE5A
RGBrgb(205, 206, 90)
HSLhsl(61, 54%, 58%)
HSVhsv(61, 56%, 81%)
CMYKcmyk(0.5%, 0%, 56.3%, 19.2%)
CIE-LABlab(80.66, -15.47, 56.38)
CIE-LCHlch(80.66, 58.46, 105.34°)
OKLaboklab(82.79% -0.0463 0.1305)
OKLCHoklch(82.79% 0.138 109.5)
XYZxyz(49.0949, 57.8612, 18.2530)
Luminance0.5786 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCE5A #5B5ACE
analogous
#CE955A #CDCE5A #93CE5A
triadic
#CDCE5A #5ACDCE #CE5ACD
tetradic
#CDCE5A #5ACE95 #5B5ACE #CE5A93
square
#CDCE5A #5ACE95 #5B5ACE #CE5A93
split-complementary
#CDCE5A #5A93CE #955ACE
monochromatic
#858628 #B4B536 #CDCE5A #DBDC89 #EAEAB8

Accessibility & contrast

On white

1.67
#CDCE5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.57
#CDCE5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCE5A
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCE5A#FFFFFF#000000##000000
##CDCE5A1.001.6712.5712.57
#FFFFFF1.671.0021.0021.00
#00000012.5721.001.001.00
##00000012.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC64E
Deuteranopia (green-blind)
#DECA61
Tritanopia (blue-blind)
#DAC2B5
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cdce5a;
/* rgb */ color: rgb(205, 206, 90);
/* oklch */ color: oklch(82.8% 0.138 109.5);
Tailwind
colors: {
  custom: {
    50: '#dfdc8d',
    500: '#cdce5a',
    950: '#000000',
  },
}
SCSS
$custom: #cdce5a;
$custom-light: #dfdc8d;
$custom-dark: #000000;
JSON
{
  "hex": "#cdce5a",
  "rgb": {
    "r": 205,
    "g": 206,
    "b": 90
  },
  "hsl": {
    "h": 60.517,
    "s": 54.206,
    "l": 58.039
  },
  "oklch": {
    "l": 0.82794,
    "c": 0.13844,
    "h": 109.5
  },
  "luminance": 0.5786
}

Semantic roles & 50–950 ramp

primary
#CDCE5A
secondary
#403F8D
accent
#4ADE4C
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #CDCE5A

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

Preview Lab → · Contrast checker → · Palette generator →

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