#CDD84E#CDD84E

#CDD84E is a very light, vivid yellow. Relative luminance 0.626; OKLCH L 84.8% C 0.159 H 113.7°. Best body text is #000000 at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#CDD84E
RGBrgb(205, 216, 78)
HSLhsl(65, 64%, 58%)
HSVhsv(65, 64%, 85%)
CMYKcmyk(5.1%, 0%, 63.9%, 15.3%)
CIE-LABlab(83.25, -21.23, 64.27)
CIE-LCHlch(83.25, 67.69, 108.28°)
OKLaboklab(84.83% -0.0638 0.1456)
OKLCHoklch(84.83% 0.159 113.7)
XYZxyz(51.1092, 62.6419, 16.6050)
Luminance0.6264 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD84E #594ED8
analogous
#D89E4E #CDD84E #88D84E
triadic
#CDD84E #4ECDD8 #D84ECD
tetradic
#CDD84E #4ED89E #594ED8 #D84E88
square
#CDD84E #4ED89E #594ED8 #D84E88
split-complementary
#CDD84E #4E88D8 #9E4ED8
monochromatic
#848D1F #B3BF2A #CDD84E #DBE380 #E9EEB2

Accessibility & contrast

On white

1.55
#CDD84E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.53
#CDD84E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD84E
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD84E#FFFFFF#000000##000000
##CDD84E1.001.5513.5313.53
#FFFFFF1.551.0021.0021.00
#00000013.5321.001.001.00
##00000013.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CE3C
Deuteranopia (green-blind)
#E7D157
Tritanopia (blue-blind)
#DACCBC
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #cdd84e;
/* rgb */ color: rgb(205, 216, 78);
/* oklch */ color: oklch(84.8% 0.159 113.7);
Tailwind
colors: {
  custom: {
    50: '#dfe386',
    500: '#cdd84e',
    950: '#000000',
  },
}
SCSS
$custom: #cdd84e;
$custom-light: #dfe386;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd84e",
  "rgb": {
    "r": 205,
    "g": 216,
    "b": 78
  },
  "hsl": {
    "h": 64.783,
    "s": 63.889,
    "l": 57.647
  },
  "oklch": {
    "l": 0.84832,
    "c": 0.15898,
    "h": 113.7
  },
  "luminance": 0.62641
}

Semantic roles & 50–950 ramp

primary
#CDD84E
secondary
#3F3892
accent
#41E74E
background
#FEFEFC
surface
#FCFCF3
border
#D5D5CD
text
#16150C
muted
#84847F

Preview Lab

Preview with #CDD84E

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

Preview Lab → · Contrast checker → · Palette generator →

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