#CDCD94#CDCD94

#CDCD94 is a very light, moderate yellow. Relative luminance 0.588; OKLCH L 83.5% C 0.075 H 107.9°. Best body text is #000000 at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#CDCD94
RGBrgb(205, 205, 148)
HSLhsl(60, 36%, 69%)
HSVhsv(60, 28%, 80%)
CMYKcmyk(0%, 0%, 27.8%, 19.6%)
CIE-LABlab(81.17, -8.98, 28.48)
CIE-LCHlch(81.17, 29.86, 107.50°)
OKLaboklab(83.45% -0.0231 0.0714)
OKLCHoklch(83.45% 0.075 107.9)
XYZxyz(52.3536, 58.7807, 36.5991)
Luminance0.5878 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCD94 #9494CD
analogous
#CDB194 #CDCD94 #B1CD94
triadic
#CDCD94 #94CDCD #CD94CD
tetradic
#CDCD94 #94CDB1 #9494CD #CD94B1
square
#CDCD94 #94CDB1 #9494CD #CD94B1
split-complementary
#CDCD94 #94B1CD #B194CD
monochromatic
#9D9D49 #BABA6A #CDCD94 #E0E0BE #F4F4E7

Accessibility & contrast

On white

1.65
#CDCD94 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.76
#CDCD94 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCD94
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCD94#FFFFFF#000000##000000
##CDCD941.001.6512.7612.76
#FFFFFF1.651.0021.0021.00
#00000012.7621.001.001.00
##00000012.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C890
Deuteranopia (green-blind)
#D7CB96
Tritanopia (blue-blind)
#D5C6BE
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cdcd94;
/* rgb */ color: rgb(205, 205, 148);
/* oklch */ color: oklch(83.5% 0.075 107.9);
Tailwind
colors: {
  custom: {
    50: '#dddcb4',
    500: '#cdcd94',
    950: '#000000',
  },
}
SCSS
$custom: #cdcd94;
$custom-light: #dddcb4;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcd94",
  "rgb": {
    "r": 205,
    "g": 205,
    "b": 148
  },
  "hsl": {
    "h": 60,
    "s": 36.306,
    "l": 69.216
  },
  "oklch": {
    "l": 0.83451,
    "c": 0.07503,
    "h": 107.9
  },
  "luminance": 0.5878
}

Semantic roles & 50–950 ramp

primary
#CDCD94
secondary
#6363A2
accent
#36AF36
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151511
muted
#848481

Preview Lab

Preview with #CDCD94

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

Preview Lab → · Contrast checker → · Palette generator →

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