#CDC199#CDC199

#CDC199 is a light, muted yellow. Relative luminance 0.534; OKLCH L 81.1% C 0.055 H 93.3°. Best body text is #000000 at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#CDC199
RGBrgb(205, 193, 153)
HSLhsl(46, 34%, 70%)
HSVhsv(46, 25%, 80%)
CMYKcmyk(0%, 5.9%, 25.4%, 19.6%)
CIE-LABlab(78.12, -2.08, 21.71)
CIE-LCHlch(78.12, 21.81, 95.48°)
OKLaboklab(81.07% -0.0032 0.0552)
OKLCHoklch(81.07% 0.055 93.3)
XYZxyz(49.9967, 53.4201, 37.8082)
Luminance0.5342 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC199 #99A5CD
analogous
#CDA799 #CDC199 #BFCD99
triadic
#CDC199 #99CDC1 #C199CD
tetradic
#CDC199 #99CDA7 #99A5CD #CD99BF
square
#CDC199 #99CDA7 #99A5CD #CD99BF
split-complementary
#CDC199 #99BFCD #A799CD
monochromatic
#9E8C4D #B9A870 #CDC199 #E1DAC2 #F5F3EA

Accessibility & contrast

On white

1.80
#CDC199 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.68
#CDC199 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC199
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC199#FFFFFF#000000##000000
##CDC1991.001.8011.6811.68
#FFFFFF1.801.0021.0021.00
#00000011.6821.001.001.00
##00000011.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CABF96
Deuteranopia (green-blind)
#CDC39A
Tritanopia (blue-blind)
#D5BBB6
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cdc199;
/* rgb */ color: rgb(205, 193, 153);
/* oklch */ color: oklch(81.1% 0.055 93.3);
Tailwind
colors: {
  custom: {
    50: '#dcd3b7',
    500: '#cdc199',
    950: '#000000',
  },
}
SCSS
$custom: #cdc199;
$custom-light: #dcd3b7;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc199",
  "rgb": {
    "r": 205,
    "g": 193,
    "b": 153
  },
  "hsl": {
    "h": 46.154,
    "s": 34.211,
    "l": 70.196
  },
  "oklch": {
    "l": 0.8107,
    "c": 0.05525,
    "h": 93.3
  },
  "luminance": 0.53419
}

Semantic roles & 50–950 ramp

primary
#CDC199
secondary
#6875A2
accent
#53AD38
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CDC199

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

Preview Lab → · Contrast checker → · Palette generator →

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