#CDD438#CDD438

#CDD438 is a very light, vivid yellow. Relative luminance 0.604; OKLCH L 83.8% C 0.169 H 112.1°. Best body text is #000000 at 13.07:1 contrast (WCAG AA passes).

Color values

HEX#CDD438
RGBrgb(205, 212, 56)
HSLhsl(63, 64%, 53%)
HSVhsv(63, 74%, 83%)
CMYKcmyk(3.3%, 0%, 73.6%, 16.9%)
CIE-LABlab(82.03, -20.44, 71.08)
CIE-LCHlch(82.03, 73.96, 106.04°)
OKLaboklab(83.81% -0.0636 0.1564)
OKLCHoklch(83.81% 0.169 112.1)
XYZxyz(49.4358, 60.3528, 12.7857)
Luminance0.6035 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD438 #3F38D4
analogous
#D48D38 #CDD438 #7FD438
triadic
#CDD438 #38CDD4 #D438CD
tetradic
#CDD438 #38D48D #3F38D4 #D4387F
square
#CDD438 #38D48D #3F38D4 #D4387F
split-complementary
#CDD438 #387FD4 #8D38D4
monochromatic
#74781A #A4AA25 #CDD438 #DADF6A #E6EA9D

Accessibility & contrast

On white

1.61
#CDD438 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.07
#CDD438 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD438
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD438#FFFFFF#000000##000000
##CDD4381.001.6113.0713.07
#FFFFFF1.611.0021.0021.00
#00000013.0721.001.001.00
##00000013.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CA15
Deuteranopia (green-blind)
#E5CE45
Tritanopia (blue-blind)
#DBC7B6
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #cdd438;
/* rgb */ color: rgb(205, 212, 56);
/* oklch */ color: oklch(83.8% 0.169 112.1);
Tailwind
colors: {
  custom: {
    50: '#e0e17a',
    500: '#cdd438',
    950: '#000000',
  },
}
SCSS
$custom: #cdd438;
$custom-light: #e0e17a;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd438",
  "rgb": {
    "r": 205,
    "g": 212,
    "b": 56
  },
  "hsl": {
    "h": 62.692,
    "s": 64.463,
    "l": 52.549
  },
  "oklch": {
    "l": 0.83807,
    "c": 0.16887,
    "h": 112.1
  },
  "luminance": 0.60352
}

Semantic roles & 50–950 ramp

primary
#CDD438
secondary
#343080
accent
#40E748
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #CDD438

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

Preview Lab → · Contrast checker → · Palette generator →

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