#CDDF38#CDDF38

#CDDF38 is a very light, vivid yellow. Relative luminance 0.660; OKLCH L 86.2% C 0.180 H 115.8°. Best body text is #000000 at 14.21:1 contrast (WCAG AA passes).

Color values

HEX#CDDF38
RGBrgb(205, 223, 56)
HSLhsl(66, 72%, 55%)
HSVhsv(66, 75%, 87%)
CMYKcmyk(8.1%, 0%, 74.9%, 12.5%)
CIE-LABlab(85.02, -25.75, 73.87)
CIE-LCHlch(85.02, 78.23, 109.22°)
OKLaboklab(86.2% -0.0784 0.1623)
OKLCHoklch(86.2% 0.18 115.8)
XYZxyz(52.2798, 66.0408, 13.7337)
Luminance0.6604 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDDF38 #4A38DF
analogous
#DF9D38 #CDDF38 #7ADF38
triadic
#CDDF38 #38CDDF #DF38CD
tetradic
#CDDF38 #38DF9D #4A38DF #DF387A
square
#CDDF38 #38DF9D #4A38DF #DF387A
split-complementary
#CDDF38 #387ADF #9D38DF
monochromatic
#7B8716 #ABBC1E #CDDF38 #DAE76D #E7F0A1

Accessibility & contrast

On white

1.48
#CDDF38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.21
#CDDF38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDDF38
14.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDDF38#FFFFFF#000000##000000
##CDDF381.001.4814.2114.21
#FFFFFF1.481.0021.0021.00
#00000014.2121.001.001.00
##00000014.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD30C
Deuteranopia (green-blind)
#EDD647
Tritanopia (blue-blind)
#DAD2C0
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #cddf38;
/* rgb */ color: rgb(205, 223, 56);
/* oklch */ color: oklch(86.2% 0.180 115.8);
Tailwind
colors: {
  custom: {
    50: '#e0e87b',
    500: '#cddf38',
    950: '#000000',
  },
}
SCSS
$custom: #cddf38;
$custom-light: #e0e87b;
$custom-dark: #000000;
JSON
{
  "hex": "#cddf38",
  "rgb": {
    "r": 205,
    "g": 223,
    "b": 56
  },
  "hsl": {
    "h": 66.467,
    "s": 72.294,
    "l": 54.706
  },
  "oklch": {
    "l": 0.86203,
    "c": 0.18025,
    "h": 115.8
  },
  "luminance": 0.6604
}

Semantic roles & 50–950 ramp

primary
#CDDF38
secondary
#382E8D
accent
#39EF4C
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16160A
muted
#84847D

Preview Lab

Preview with #CDDF38

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

Preview Lab → · Contrast checker → · Palette generator →

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