#CDCE5B#CDCE5B

#CDCE5B 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.58:1 contrast (WCAG AA passes).

Color values

HEX#CDCE5B
RGBrgb(205, 206, 91)
HSLhsl(61, 54%, 58%)
HSVhsv(61, 56%, 81%)
CMYKcmyk(0.5%, 0%, 55.8%, 19.2%)
CIE-LABlab(80.67, -15.39, 55.94)
CIE-LCHlch(80.67, 58.02, 105.38°)
OKLaboklab(82.8% -0.046 0.1297)
OKLCHoklch(82.8% 0.138 109.5)
XYZxyz(49.1378, 57.8783, 18.4787)
Luminance0.5788 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCE5B #5C5BCE
analogous
#CE955B #CDCE5B #93CE5B
triadic
#CDCE5B #5BCDCE #CE5BCD
tetradic
#CDCE5B #5BCE95 #5C5BCE #CE5B93
square
#CDCE5B #5BCE95 #5C5BCE #CE5B93
split-complementary
#CDCE5B #5B93CE #955BCE
monochromatic
#868628 #B4B636 #CDCE5B #DBDC8A #EAEAB9

Accessibility & contrast

On white

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

On black

12.58
#CDCE5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCE5B
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCE5B#FFFFFF#000000##000000
##CDCE5B1.001.6712.5812.58
#FFFFFF1.671.0021.0021.00
#00000012.5821.001.001.00
##00000012.5821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdce5b;
/* rgb */ color: rgb(205, 206, 91);
/* oklch */ color: oklch(82.8% 0.138 109.5);
Tailwind
colors: {
  custom: {
    50: '#dfdc8d',
    500: '#cdce5b',
    950: '#000000',
  },
}
SCSS
$custom: #cdce5b;
$custom-light: #dfdc8d;
$custom-dark: #000000;
JSON
{
  "hex": "#cdce5b",
  "rgb": {
    "r": 205,
    "g": 206,
    "b": 91
  },
  "hsl": {
    "h": 60.522,
    "s": 53.991,
    "l": 58.235
  },
  "oklch": {
    "l": 0.82804,
    "c": 0.13757,
    "h": 109.5
  },
  "luminance": 0.57877
}

Semantic roles & 50–950 ramp

primary
#CDCE5B
secondary
#40408D
accent
#4ADD4C
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #CDCE5B

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

Preview Lab → · Contrast checker → · Palette generator →

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