#CDD296#CDD296

#CDD296 is a very light, moderate yellow. Relative luminance 0.613; OKLCH L 84.5% C 0.079 H 112.0°. Best body text is #000000 at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#CDD296
RGBrgb(205, 210, 150)
HSLhsl(65, 40%, 71%)
HSVhsv(65, 29%, 82%)
CMYKcmyk(2.4%, 0%, 28.6%, 17.6%)
CIE-LABlab(82.53, -11.26, 29.25)
CIE-LCHlch(82.53, 31.35, 111.06°)
OKLaboklab(84.54% -0.0295 0.0733)
OKLCHoklch(84.54% 0.079 112)
XYZxyz(53.7284, 61.2749, 37.8451)
Luminance0.6127 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD296 #9B96D2
analogous
#D2B996 #CDD296 #AFD296
triadic
#CDD296 #96CDD2 #D296CD
tetradic
#CDD296 #96D2B9 #9B96D2 #D296AF
square
#CDD296 #96D2B9 #9B96D2 #D296AF
split-complementary
#CDD296 #96AFD2 #B996D2
monochromatic
#9EA647 #B9C06B #CDD296 #E1E4C1 #F5F6EA

Accessibility & contrast

On white

1.58
#CDD296 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.25
#CDD296 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD296
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD296#FFFFFF#000000##000000
##CDD2961.001.5813.2513.25
#FFFFFF1.581.0021.0021.00
#00000013.2521.001.001.00
##00000013.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBCC92
Deuteranopia (green-blind)
#DBCE98
Tritanopia (blue-blind)
#D5CBC2
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #cdd296;
/* rgb */ color: rgb(205, 210, 150);
/* oklch */ color: oklch(84.5% 0.079 112.0);
Tailwind
colors: {
  custom: {
    50: '#dddfb5',
    500: '#cdd296',
    950: '#000000',
  },
}
SCSS
$custom: #cdd296;
$custom-light: #dddfb5;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd296",
  "rgb": {
    "r": 205,
    "g": 210,
    "b": 150
  },
  "hsl": {
    "h": 65,
    "s": 40,
    "l": 70.588
  },
  "oklch": {
    "l": 0.84538,
    "c": 0.07901,
    "h": 112
  },
  "luminance": 0.61274
}

Semantic roles & 50–950 ramp

primary
#CDD296
secondary
#6A64A8
accent
#32B33D
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151511
muted
#848481

Preview Lab

Preview with #CDD296

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

Preview Lab → · Contrast checker → · Palette generator →

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