#CDD28A#CDD28A

#CDD28A is a very light, moderate yellow. Relative luminance 0.609; OKLCH L 84.3% C 0.093 H 111.6°. Best body text is #000000 at 13.18:1 contrast (WCAG AA passes).

Color values

HEX#CDD28A
RGBrgb(205, 210, 138)
HSLhsl(64, 44%, 68%)
HSVhsv(64, 34%, 82%)
CMYKcmyk(2.4%, 0%, 34.3%, 17.6%)
CIE-LABlab(82.33, -12.78, 35.17)
CIE-LCHlch(82.33, 37.42, 109.97°)
OKLaboklab(84.32% -0.0344 0.0869)
OKLCHoklch(84.32% 0.093 111.6)
XYZxyz(52.8112, 60.9080, 33.0142)
Luminance0.6091 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD28A #8F8AD2
analogous
#D2B38A #CDD28A #A9D28A
triadic
#CDD28A #8ACDD2 #D28ACD
tetradic
#CDD28A #8AD2B3 #8F8AD2 #D28AA9
square
#CDD28A #8AD2B3 #8F8AD2 #D28AA9
split-complementary
#CDD28A #8AA9D2 #B38AD2
monochromatic
#9CA33F #BAC15E #CDD28A #E0E3B6 #F3F4E2

Accessibility & contrast

On white

1.59
#CDD28A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.18
#CDD28A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD28A
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD28A#FFFFFF#000000##000000
##CDD28A1.001.5913.1813.18
#FFFFFF1.591.0021.0021.00
#00000013.1821.001.001.00
##00000013.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCCC85
Deuteranopia (green-blind)
#DDCE8D
Tritanopia (blue-blind)
#D6CAC0
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #cdd28a;
/* rgb */ color: rgb(205, 210, 138);
/* oklch */ color: oklch(84.3% 0.093 111.6);
Tailwind
colors: {
  custom: {
    50: '#dddfad',
    500: '#cdd28a',
    950: '#000000',
  },
}
SCSS
$custom: #cdd28a;
$custom-light: #dddfad;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd28a",
  "rgb": {
    "r": 205,
    "g": 210,
    "b": 138
  },
  "hsl": {
    "h": 64.167,
    "s": 44.444,
    "l": 68.235
  },
  "oklch": {
    "l": 0.84317,
    "c": 0.09341,
    "h": 111.6
  },
  "luminance": 0.60907
}

Semantic roles & 50–950 ramp

primary
#CDD28A
secondary
#5E59A8
accent
#2EB837
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#151510
muted
#848481

Preview Lab

Preview with #CDD28A

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

Preview Lab → · Contrast checker → · Palette generator →

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