#CDC994#CDC994

#CDC994 is a very light, moderate yellow. Relative luminance 0.569; OKLCH L 82.6% C 0.070 H 104.2°. Best body text is #000000 at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#CDC994
RGBrgb(205, 201, 148)
HSLhsl(56, 36%, 69%)
HSVhsv(56, 28%, 80%)
CMYKcmyk(0%, 2%, 27.8%, 19.6%)
CIE-LABlab(80.12, -6.92, 27.06)
CIE-LCHlch(80.12, 27.93, 104.34°)
OKLaboklab(82.62% -0.0172 0.068)
OKLCHoklch(82.62% 0.07 104.2)
XYZxyz(51.4090, 56.8915, 36.2842)
Luminance0.5689 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC994 #9498CD
analogous
#CDAD94 #CDC994 #B5CD94
triadic
#CDC994 #94CDC9 #C994CD
tetradic
#CDC994 #94CDAD #9498CD #CD94B5
square
#CDC994 #94CDAD #9498CD #CD94B5
split-complementary
#CDC994 #94B5CD #AD94CD
monochromatic
#9D9749 #BAB46A #CDC994 #E0DEBE #F4F3E7

Accessibility & contrast

On white

1.70
#CDC994 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.38
#CDC994 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC994
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC994#FFFFFF#000000##000000
##CDC9941.001.7012.3812.38
#FFFFFF1.701.0021.0021.00
#00000012.3821.001.001.00
##00000012.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2C591
Deuteranopia (green-blind)
#D4C896
Tritanopia (blue-blind)
#D5C2BB
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cdc994;
/* rgb */ color: rgb(205, 201, 148);
/* oklch */ color: oklch(82.6% 0.070 104.2);
Tailwind
colors: {
  custom: {
    50: '#ddd9b3',
    500: '#cdc994',
    950: '#000000',
  },
}
SCSS
$custom: #cdc994;
$custom-light: #ddd9b3;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc994",
  "rgb": {
    "r": 205,
    "g": 201,
    "b": 148
  },
  "hsl": {
    "h": 55.789,
    "s": 36.306,
    "l": 69.216
  },
  "oklch": {
    "l": 0.82617,
    "c": 0.07015,
    "h": 104.2
  },
  "luminance": 0.56891
}

Semantic roles & 50–950 ramp

primary
#CDC994
secondary
#6367A2
accent
#3FAF36
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CDC994

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

Preview Lab → · Contrast checker → · Palette generator →

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