#CDD28D#CDD28D

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

Color values

HEX#CDD28D
RGBrgb(205, 210, 141)
HSLhsl(64, 43%, 69%)
HSVhsv(64, 33%, 82%)
CMYKcmyk(2.4%, 0%, 32.9%, 17.6%)
CIE-LABlab(82.38, -12.41, 33.70)
CIE-LCHlch(82.38, 35.91, 110.22°)
OKLaboklab(84.37% -0.0332 0.0835)
OKLCHoklch(84.37% 0.09 111.7)
XYZxyz(53.0314, 60.9961, 34.1739)
Luminance0.6099 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD28D #928DD2
analogous
#D2B58D #CDD28D #ABD28D
triadic
#CDD28D #8DCDD2 #D28DCD
tetradic
#CDD28D #8DD2B5 #928DD2 #D28DAB
square
#CDD28D #8DD2B5 #928DD2 #D28DAB
split-complementary
#CDD28D #8DABD2 #B58DD2
monochromatic
#9DA441 #BAC161 #CDD28D #E0E3B9 #F3F5E5

Accessibility & contrast

On white

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

On black

13.20
#CDD28D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD28D
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD28D#FFFFFF#000000##000000
##CDD28D1.001.5913.2013.20
#FFFFFF1.591.0021.0021.00
#00000013.2021.001.001.00
##00000013.2021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdd28d;
/* rgb */ color: rgb(205, 210, 141);
/* oklch */ color: oklch(84.4% 0.090 111.7);
Tailwind
colors: {
  custom: {
    50: '#dddfaf',
    500: '#cdd28d',
    950: '#000000',
  },
}
SCSS
$custom: #cdd28d;
$custom-light: #dddfaf;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd28d",
  "rgb": {
    "r": 205,
    "g": 210,
    "b": 141
  },
  "hsl": {
    "h": 64.348,
    "s": 43.396,
    "l": 68.824
  },
  "oklch": {
    "l": 0.8437,
    "c": 0.08988,
    "h": 111.7
  },
  "luminance": 0.60995
}

Semantic roles & 50–950 ramp

primary
#CDD28D
secondary
#615CA8
accent
#2FB739
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#151510
muted
#848481

Preview Lab

Preview with #CDD28D

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

Preview Lab → · Contrast checker → · Palette generator →

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