#CDD197#CDD197

#CDD197 is a very light, moderate yellow. Relative luminance 0.608; OKLCH L 84.3% C 0.076 H 111.2°. Best body text is #000000 at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#CDD197
RGBrgb(205, 209, 151)
HSLhsl(64, 39%, 71%)
HSVhsv(64, 28%, 82%)
CMYKcmyk(1.9%, 0%, 27.8%, 18%)
CIE-LABlab(82.28, -10.62, 28.40)
CIE-LCHlch(82.28, 30.32, 110.50°)
OKLaboklab(84.35% -0.0277 0.0713)
OKLCHoklch(84.35% 0.076 111.2)
XYZxyz(53.5632, 60.8151, 38.1889)
Luminance0.6081 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD197 #9B97D1
analogous
#D1B897 #CDD197 #B0D197
triadic
#CDD197 #97CDD1 #D197CD
tetradic
#CDD197 #97D1B8 #9B97D1 #D197B0
square
#CDD197 #97D1B8 #9B97D1 #D197B0
split-complementary
#CDD197 #97B0D1 #B897D1
monochromatic
#9EA549 #B9BE6D #CDD197 #E1E4C1 #F5F6EA

Accessibility & contrast

On white

1.60
#CDD197 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.16
#CDD197 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD197
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD197#FFFFFF#000000##000000
##CDD1971.001.6013.1613.16
#FFFFFF1.601.0021.0021.00
#00000013.1621.001.001.00
##00000013.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DACC93
Deuteranopia (green-blind)
#DACE99
Tritanopia (blue-blind)
#D5CAC2
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #cdd197;
/* rgb */ color: rgb(205, 209, 151);
/* oklch */ color: oklch(84.3% 0.076 111.2);
Tailwind
colors: {
  custom: {
    50: '#dddfb6',
    500: '#cdd197',
    950: '#000000',
  },
}
SCSS
$custom: #cdd197;
$custom-light: #dddfb6;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd197",
  "rgb": {
    "r": 205,
    "g": 209,
    "b": 151
  },
  "hsl": {
    "h": 64.138,
    "s": 38.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.84347,
    "c": 0.07646,
    "h": 111.2
  },
  "luminance": 0.60814
}

Semantic roles & 50–950 ramp

primary
#CDD197
secondary
#6A65A7
accent
#34B23D
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151511
muted
#848481

Preview Lab

Preview with #CDD197

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

Preview Lab → · Contrast checker → · Palette generator →

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