#CDD28C#CDD28C

#CDD28C is a very light, moderate yellow. Relative luminance 0.610; OKLCH L 84.4% C 0.091 H 111.7°. Best body text is #000000 at 13.19:1 contrast (WCAG AA passes).

Color values

HEX#CDD28C
RGBrgb(205, 210, 140)
HSLhsl(64, 44%, 69%)
HSVhsv(64, 33%, 82%)
CMYKcmyk(2.4%, 0%, 33.3%, 17.6%)
CIE-LABlab(82.36, -12.54, 34.19)
CIE-LCHlch(82.36, 36.41, 110.14°)
OKLaboklab(84.35% -0.0336 0.0846)
OKLCHoklch(84.35% 0.091 111.7)
XYZxyz(52.9573, 60.9665, 33.7838)
Luminance0.6097 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD28C #918CD2
analogous
#D2B48C #CDD28C #AAD28C
triadic
#CDD28C #8CCDD2 #D28CCD
tetradic
#CDD28C #8CD2B4 #918CD2 #D28CAA
square
#CDD28C #8CD2B4 #918CD2 #D28CAA
split-complementary
#CDD28C #8CAAD2 #B48CD2
monochromatic
#9CA440 #BAC160 #CDD28C #E0E3B8 #F3F4E4

Accessibility & contrast

On white

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

On black

13.19
#CDD28C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD28C
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD28C#FFFFFF#000000##000000
##CDD28C1.001.5913.1913.19
#FFFFFF1.591.0021.0021.00
#00000013.1921.001.001.00
##00000013.1921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdd28c;
/* rgb */ color: rgb(205, 210, 140);
/* oklch */ color: oklch(84.4% 0.091 111.7);
Tailwind
colors: {
  custom: {
    50: '#dddfae',
    500: '#cdd28c',
    950: '#000000',
  },
}
SCSS
$custom: #cdd28c;
$custom-light: #dddfae;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd28c",
  "rgb": {
    "r": 205,
    "g": 210,
    "b": 140
  },
  "hsl": {
    "h": 64.286,
    "s": 43.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.84352,
    "c": 0.09106,
    "h": 111.7
  },
  "luminance": 0.60966
}

Semantic roles & 50–950 ramp

primary
#CDD28C
secondary
#605BA8
accent
#2FB738
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#151510
muted
#848481

Preview Lab

Preview with #CDD28C

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

Preview Lab → · Contrast checker → · Palette generator →

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