#CDC296#CDC296

#CDC296 is a light, muted yellow. Relative luminance 0.538; OKLCH L 81.2% C 0.060 H 95.7°. Best body text is #000000 at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#CDC296
RGBrgb(205, 194, 150)
HSLhsl(48, 35%, 70%)
HSVhsv(48, 27%, 80%)
CMYKcmyk(0%, 5.4%, 26.8%, 19.6%)
CIE-LABlab(78.33, -3.02, 23.58)
CIE-LCHlch(78.33, 23.77, 97.29°)
OKLaboklab(81.21% -0.006 0.0597)
OKLCHoklch(81.21% 0.06 95.7)
XYZxyz(49.9739, 53.7658, 36.5936)
Luminance0.5376 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC296 #96A1CD
analogous
#CDA796 #CDC296 #BDCD96
triadic
#CDC296 #96CDC2 #C296CD
tetradic
#CDC296 #96CDA7 #96A1CD #CD96BD
square
#CDC296 #96CDA7 #96A1CD #CD96BD
split-complementary
#CDC296 #96BDCD #A796CD
monochromatic
#9E8D4B #B9AA6D #CDC296 #E1DABF #F4F2E9

Accessibility & contrast

On white

1.79
#CDC296 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.75
#CDC296 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC296
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC296#FFFFFF#000000##000000
##CDC2961.001.7911.7511.75
#FFFFFF1.791.0021.0021.00
#00000011.7521.001.001.00
##00000011.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBC093
Deuteranopia (green-blind)
#CEC397
Tritanopia (blue-blind)
#D6BBB6
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cdc296;
/* rgb */ color: rgb(205, 194, 150);
/* oklch */ color: oklch(81.2% 0.060 95.7);
Tailwind
colors: {
  custom: {
    50: '#ddd4b5',
    500: '#cdc296',
    950: '#000000',
  },
}
SCSS
$custom: #cdc296;
$custom-light: #ddd4b5;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc296",
  "rgb": {
    "r": 205,
    "g": 194,
    "b": 150
  },
  "hsl": {
    "h": 48,
    "s": 35.484,
    "l": 69.608
  },
  "oklch": {
    "l": 0.81211,
    "c": 0.05996,
    "h": 95.7
  },
  "luminance": 0.53765
}

Semantic roles & 50–950 ramp

primary
#CDC296
secondary
#6571A2
accent
#4FAE37
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CDC296

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

Preview Lab → · Contrast checker → · Palette generator →

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