#CDC295#CDC295

#CDC295 is a light, moderate yellow. Relative luminance 0.537; OKLCH L 81.2% C 0.061 H 96.0°. Best body text is #000000 at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#CDC295
RGBrgb(205, 194, 149)
HSLhsl(48, 36%, 69%)
HSVhsv(48, 27%, 80%)
CMYKcmyk(0%, 5.4%, 27.3%, 19.6%)
CIE-LABlab(78.31, -3.15, 24.08)
CIE-LCHlch(78.31, 24.29, 97.46°)
OKLaboklab(81.19% -0.0064 0.0609)
OKLCHoklch(81.19% 0.061 96)
XYZxyz(49.8937, 53.7338, 36.1713)
Luminance0.5373 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC295 #95A0CD
analogous
#CDA695 #CDC295 #BCCD95
triadic
#CDC295 #95CDC2 #C295CD
tetradic
#CDC295 #95CDA6 #95A0CD #CD95BC
square
#CDC295 #95CDA6 #95A0CD #CD95BC
split-complementary
#CDC295 #95BCCD #A695CD
monochromatic
#9D8D4A #B9AA6B #CDC295 #E1DABF #F4F2E8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDC295#FFFFFF#000000##000000
##CDC2951.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)
#CBBF92
Deuteranopia (green-blind)
#CEC396
Tritanopia (blue-blind)
#D6BBB6
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cdc295;
/* rgb */ color: rgb(205, 194, 149);
/* oklch */ color: oklch(81.2% 0.061 96.0);
Tailwind
colors: {
  custom: {
    50: '#ddd4b4',
    500: '#cdc295',
    950: '#000000',
  },
}
SCSS
$custom: #cdc295;
$custom-light: #ddd4b4;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc295",
  "rgb": {
    "r": 205,
    "g": 194,
    "b": 149
  },
  "hsl": {
    "h": 48.214,
    "s": 35.897,
    "l": 69.412
  },
  "oklch": {
    "l": 0.8119,
    "c": 0.0612,
    "h": 96
  },
  "luminance": 0.53733
}

Semantic roles & 50–950 ramp

primary
#CDC295
secondary
#6470A2
accent
#4EAF37
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CDC295

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

Preview Lab → · Contrast checker → · Palette generator →

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