#CDCE6F#CDCE6F

#CDCE6F is a very light, moderate yellow. Relative luminance 0.583; OKLCH L 83.0% C 0.118 H 109.3°. Best body text is #000000 at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#CDCE6F
RGBrgb(205, 206, 111)
HSLhsl(61, 49%, 62%)
HSVhsv(61, 46%, 81%)
CMYKcmyk(0.5%, 0%, 46.1%, 19.2%)
CIE-LABlab(80.89, -13.68, 46.84)
CIE-LCHlch(80.89, 48.80, 106.28°)
OKLaboklab(83.05% -0.0391 0.1118)
OKLCHoklch(83.05% 0.118 109.3)
XYZxyz(50.1184, 58.2705, 23.6430)
Luminance0.5827 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCE6F #706FCE
analogous
#CEA06F #CDCE6F #9DCE6F
triadic
#CDCE6F #6FCDCE #CE6FCD
tetradic
#CDCE6F #6FCEA0 #706FCE #CE6F9D
square
#CDCE6F #6FCEA0 #706FCE #CE6F9D
split-complementary
#CDCE6F #6F9DCE #A06FCE
monochromatic
#909131 #BDBE41 #CDCE6F #DDDE9D #EDEDCA

Accessibility & contrast

On white

1.66
#CDCE6F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.65
#CDCE6F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCE6F
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCE6F#FFFFFF#000000##000000
##CDCE6F1.001.6612.6512.65
#FFFFFF1.661.0021.0021.00
#00000012.6521.001.001.00
##00000012.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC767
Deuteranopia (green-blind)
#DCCA74
Tritanopia (blue-blind)
#D9C4B8
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cdce6f;
/* rgb */ color: rgb(205, 206, 111);
/* oklch */ color: oklch(83.0% 0.118 109.3);
Tailwind
colors: {
  custom: {
    50: '#dedc9a',
    500: '#cdce6f',
    950: '#000000',
  },
}
SCSS
$custom: #cdce6f;
$custom-light: #dedc9a;
$custom-dark: #000000;
JSON
{
  "hex": "#cdce6f",
  "rgb": {
    "r": 205,
    "g": 206,
    "b": 111
  },
  "hsl": {
    "h": 60.632,
    "s": 49.223,
    "l": 62.157
  },
  "oklch": {
    "l": 0.83048,
    "c": 0.11843,
    "h": 109.3
  },
  "luminance": 0.58269
}

Semantic roles & 50–950 ramp

primary
#CDCE6F
secondary
#4B4A97
accent
#29BD2B
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CDCE6F

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

Preview Lab → · Contrast checker → · Palette generator →

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