#CDD56F#CDD56F

#CDD56F is a very light, vivid yellow. Relative luminance 0.617; OKLCH L 84.5% C 0.127 H 112.8°. Best body text is #000000 at 13.34:1 contrast (WCAG AA passes).

Color values

HEX#CDD56F
RGBrgb(205, 213, 111)
HSLhsl(65, 55%, 64%)
HSVhsv(65, 48%, 84%)
CMYKcmyk(3.8%, 0%, 47.9%, 16.5%)
CIE-LABlab(82.76, -17.18, 49.10)
CIE-LCHlch(82.76, 52.02, 109.28°)
OKLaboklab(84.54% -0.049 0.1168)
OKLCHoklch(84.54% 0.127 112.8)
XYZxyz(51.8412, 61.7162, 24.2173)
Luminance0.6171 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD56F #776FD5
analogous
#D5AA6F #CDD56F #9AD56F
triadic
#CDD56F #6FCDD5 #D56FCD
tetradic
#CDD56F #6FD5AA #776FD5 #D56F9A
square
#CDD56F #6FD5AA #776FD5 #D56F9A
split-complementary
#CDD56F #6F9AD5 #AA6FD5
monochromatic
#939C2E #BDC740 #CDD56F #DDE39E #EEF1CE

Accessibility & contrast

On white

1.57
#CDD56F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.34
#CDD56F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD56F
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD56F#FFFFFF#000000##000000
##CDD56F1.001.5713.3413.34
#FFFFFF1.571.0021.0021.00
#00000013.3421.001.001.00
##00000013.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CD66
Deuteranopia (green-blind)
#E2CF74
Tritanopia (blue-blind)
#D8CBBD
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #cdd56f;
/* rgb */ color: rgb(205, 213, 111);
/* oklch */ color: oklch(84.5% 0.127 112.8);
Tailwind
colors: {
  custom: {
    50: '#dee19a',
    500: '#cdd56f',
    950: '#000000',
  },
}
SCSS
$custom: #cdd56f;
$custom-light: #dee19a;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd56f",
  "rgb": {
    "r": 205,
    "g": 213,
    "b": 111
  },
  "hsl": {
    "h": 64.706,
    "s": 54.839,
    "l": 63.529
  },
  "oklch": {
    "l": 0.84542,
    "c": 0.12666,
    "h": 112.8
  },
  "luminance": 0.61715
}

Semantic roles & 50–950 ramp

primary
#CDD56F
secondary
#4F48A1
accent
#23C230
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CDD56F

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

Preview Lab → · Contrast checker → · Palette generator →

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