#CDD94F#CDD94F

#CDD94F is a very light, vivid yellow. Relative luminance 0.632; OKLCH L 85.1% C 0.159 H 114.0°. Best body text is #000000 at 13.63:1 contrast (WCAG AA passes).

Color values

HEX#CDD94F
RGBrgb(205, 217, 79)
HSLhsl(65, 64%, 58%)
HSVhsv(65, 64%, 85%)
CMYKcmyk(5.5%, 0%, 63.6%, 14.9%)
CIE-LABlab(83.53, -21.65, 64.16)
CIE-LCHlch(83.53, 67.72, 108.65°)
OKLaboklab(85.06% -0.0649 0.1455)
OKLCHoklch(85.06% 0.159 114)
XYZxyz(51.4023, 63.1703, 16.8809)
Luminance0.6317 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD94F #5B4FD9
analogous
#D9A04F #CDD94F #88D94F
triadic
#CDD94F #4FCDD9 #D94FCD
tetradic
#CDD94F #4FD9A0 #5B4FD9 #D94F88
square
#CDD94F #4FD9A0 #5B4FD9 #D94F88
split-complementary
#CDD94F #4F88D9 #A04FD9
monochromatic
#858F1F #B4C12A #CDD94F #DBE481 #EAEFB4

Accessibility & contrast

On white

1.54
#CDD94F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.63
#CDD94F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD94F
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD94F#FFFFFF#000000##000000
##CDD94F1.001.5413.6313.63
#FFFFFF1.541.0021.0021.00
#00000013.6321.001.001.00
##00000013.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CF3D
Deuteranopia (green-blind)
#E8D258
Tritanopia (blue-blind)
#DACDBD
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #cdd94f;
/* rgb */ color: rgb(205, 217, 79);
/* oklch */ color: oklch(85.1% 0.159 114.0);
Tailwind
colors: {
  custom: {
    50: '#dfe487',
    500: '#cdd94f',
    950: '#000000',
  },
}
SCSS
$custom: #cdd94f;
$custom-light: #dfe487;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd94f",
  "rgb": {
    "r": 205,
    "g": 217,
    "b": 79
  },
  "hsl": {
    "h": 65.217,
    "s": 64.486,
    "l": 58.039
  },
  "oklch": {
    "l": 0.85058,
    "c": 0.15934,
    "h": 114
  },
  "luminance": 0.63169
}

Semantic roles & 50–950 ramp

primary
#CDD94F
secondary
#403894
accent
#40E74F
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CDD94F

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

Preview Lab → · Contrast checker → · Palette generator →

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