#CDD397#CDD397

#CDD397 is a very light, moderate yellow. Relative luminance 0.618; OKLCH L 84.8% C 0.079 H 112.7°. Best body text is #000000 at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#CDD397
RGBrgb(205, 211, 151)
HSLhsl(66, 41%, 71%)
HSVhsv(66, 28%, 83%)
CMYKcmyk(2.8%, 0%, 28.4%, 17.3%)
CIE-LABlab(82.81, -11.64, 29.11)
CIE-LCHlch(82.81, 31.35, 111.79°)
OKLaboklab(84.77% -0.0306 0.073)
OKLCHoklch(84.77% 0.079 112.7)
XYZxyz(54.0570, 61.8026, 38.3535)
Luminance0.6180 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD397 #9D97D3
analogous
#D3BB97 #CDD397 #AFD397
triadic
#CDD397 #97CDD3 #D397CD
tetradic
#CDD397 #97D3BB #9D97D3 #D397AF
square
#CDD397 #97D3BB #9D97D3 #D397AF
split-complementary
#CDD397 #97AFD3 #BB97D3
monochromatic
#9FA847 #B8C16C #CDD397 #E2E5C2 #F5F6E9

Accessibility & contrast

On white

1.57
#CDD397 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.36
#CDD397 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD397
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD397#FFFFFF#000000##000000
##CDD3971.001.5713.3613.36
#FFFFFF1.571.0021.0021.00
#00000013.3621.001.001.00
##00000013.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCCD93
Deuteranopia (green-blind)
#DCCF99
Tritanopia (blue-blind)
#D4CCC3
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #cdd397;
/* rgb */ color: rgb(205, 211, 151);
/* oklch */ color: oklch(84.8% 0.079 112.7);
Tailwind
colors: {
  custom: {
    50: '#dde0b6',
    500: '#cdd397',
    950: '#000000',
  },
}
SCSS
$custom: #cdd397;
$custom-light: #dde0b6;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd397",
  "rgb": {
    "r": 205,
    "g": 211,
    "b": 151
  },
  "hsl": {
    "h": 66,
    "s": 40.541,
    "l": 70.98
  },
  "oklch": {
    "l": 0.84767,
    "c": 0.07911,
    "h": 112.7
  },
  "luminance": 0.61802
}

Semantic roles & 50–950 ramp

primary
#CDD397
secondary
#6C65A9
accent
#32B43F
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151511
muted
#848481

Preview Lab

Preview with #CDD397

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

Preview Lab → · Contrast checker → · Palette generator →

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