#CDCE5F#CDCE5F

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

Color values

HEX#CDCE5F
RGBrgb(205, 206, 95)
HSLhsl(61, 53%, 59%)
HSVhsv(61, 54%, 81%)
CMYKcmyk(0.5%, 0%, 53.9%, 19.2%)
CIE-LABlab(80.71, -15.08, 54.18)
CIE-LCHlch(80.71, 56.24, 105.55°)
OKLaboklab(82.85% -0.0447 0.1263)
OKLCHoklch(82.85% 0.134 109.5)
XYZxyz(49.3150, 57.9492, 19.4118)
Luminance0.5795 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCE5F #605FCE
analogous
#CE985F #CDCE5F #96CE5F
triadic
#CDCE5F #5FCDCE #CE5FCD
tetradic
#CDCE5F #5FCE98 #605FCE #CE5F96
square
#CDCE5F #5FCE98 #605FCE #CE5F96
split-complementary
#CDCE5F #5F96CE #985FCE
monochromatic
#88892A #B6B838 #CDCE5F #DCDC8E #EAEBBD

Accessibility & contrast

On white

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

On black

12.59
#CDCE5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCE5F
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCE5F#FFFFFF#000000##000000
##CDCE5F1.001.6712.5912.59
#FFFFFF1.671.0021.0021.00
#00000012.5921.001.001.00
##00000012.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC654
Deuteranopia (green-blind)
#DECA65
Tritanopia (blue-blind)
#DAC3B5
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cdce5f;
/* rgb */ color: rgb(205, 206, 95);
/* oklch */ color: oklch(82.8% 0.134 109.5);
Tailwind
colors: {
  custom: {
    50: '#dfdc90',
    500: '#cdce5f',
    950: '#000000',
  },
}
SCSS
$custom: #cdce5f;
$custom-light: #dfdc90;
$custom-dark: #000000;
JSON
{
  "hex": "#cdce5f",
  "rgb": {
    "r": 205,
    "g": 206,
    "b": 95
  },
  "hsl": {
    "h": 60.541,
    "s": 53.11,
    "l": 59.02
  },
  "oklch": {
    "l": 0.82849,
    "c": 0.13398,
    "h": 109.5
  },
  "luminance": 0.57948
}

Semantic roles & 50–950 ramp

primary
#CDCE5F
secondary
#42428F
accent
#4BDD4D
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #CDCE5F

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

Preview Lab → · Contrast checker → · Palette generator →

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