#CDCE4F#CDCE4F

#CDCE4F is a very light, vivid yellow. Relative luminance 0.577; OKLCH L 82.7% C 0.147 H 109.7°. Best body text is #000000 at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#CDCE4F
RGBrgb(205, 206, 79)
HSLhsl(60, 56%, 56%)
HSVhsv(60, 62%, 81%)
CMYKcmyk(0.5%, 0%, 61.7%, 19.2%)
CIE-LABlab(80.56, -16.24, 61.02)
CIE-LCHlch(80.56, 63.15, 104.90°)
OKLaboklab(82.69% -0.0496 0.1389)
OKLCHoklch(82.69% 0.148 109.7)
XYZxyz(48.6609, 57.6876, 15.9671)
Luminance0.5769 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCE4F #504FCE
analogous
#CE8F4F #CDCE4F #8ECE4F
triadic
#CDCE4F #4FCDCE #CE4FCD
tetradic
#CDCE4F #4FCE8F #504FCE #CE4F8E
square
#CDCE4F #4FCE8F #504FCE #CE4F8E
split-complementary
#CDCE4F #4F8ECE #8F4FCE
monochromatic
#7E7F23 #AEAF31 #CDCE4F #DBDB7F #E8E9AF

Accessibility & contrast

On white

1.68
#CDCE4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.54
#CDCE4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCE4F
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCE4F#FFFFFF#000000##000000
##CDCE4F1.001.6812.5412.54
#FFFFFF1.681.0021.0021.00
#00000012.5421.001.001.00
##00000012.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC63F
Deuteranopia (green-blind)
#DFCA57
Tritanopia (blue-blind)
#DBC2B3
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cdce4f;
/* rgb */ color: rgb(205, 206, 79);
/* oklch */ color: oklch(82.7% 0.147 109.7);
Tailwind
colors: {
  custom: {
    50: '#dfdc86',
    500: '#cdce4f',
    950: '#000000',
  },
}
SCSS
$custom: #cdce4f;
$custom-light: #dfdc86;
$custom-dark: #000000;
JSON
{
  "hex": "#cdce4f",
  "rgb": {
    "r": 205,
    "g": 206,
    "b": 79
  },
  "hsl": {
    "h": 60.472,
    "s": 56.444,
    "l": 55.882
  },
  "oklch": {
    "l": 0.82685,
    "c": 0.1475,
    "h": 109.7
  },
  "luminance": 0.57686
}

Semantic roles & 50–950 ramp

primary
#CDCE4F
secondary
#3B3A87
accent
#48E049
background
#FEFEFC
surface
#FCFCF3
border
#D5D5CD
text
#16150C
muted
#84847F

Preview Lab

Preview with #CDCE4F

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

Preview Lab → · Contrast checker → · Palette generator →

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