#CDC799#CDC799

#CDC799 is a very light, moderate yellow. Relative luminance 0.561; OKLCH L 82.3% C 0.062 H 101.4°. Best body text is #000000 at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#CDC799
RGBrgb(205, 199, 153)
HSLhsl(53, 34%, 70%)
HSVhsv(53, 25%, 80%)
CMYKcmyk(0%, 2.9%, 25.4%, 19.6%)
CIE-LABlab(79.69, -5.21, 23.84)
CIE-LCHlch(79.69, 24.41, 102.33°)
OKLaboklab(82.31% -0.0122 0.0604)
OKLCHoklch(82.31% 0.062 101.4)
XYZxyz(51.3501, 56.1268, 38.2593)
Luminance0.5613 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC799 #999FCD
analogous
#CDAD99 #CDC799 #B9CD99
triadic
#CDC799 #99CDC7 #C799CD
tetradic
#CDC799 #99CDAD #999FCD #CD99B9
square
#CDC799 #99CDAD #999FCD #CD99B9
split-complementary
#CDC799 #99B9CD #AD99CD
monochromatic
#9E954D #B9B070 #CDC799 #E1DEC2 #F5F4EA

Accessibility & contrast

On white

1.72
#CDC799 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.23
#CDC799 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC799
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC799#FFFFFF#000000##000000
##CDC7991.001.7212.2312.23
#FFFFFF1.721.0021.0021.00
#00000012.2321.001.001.00
##00000012.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0C496
Deuteranopia (green-blind)
#D2C79B
Tritanopia (blue-blind)
#D5C1BB
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cdc799;
/* rgb */ color: rgb(205, 199, 153);
/* oklch */ color: oklch(82.3% 0.062 101.4);
Tailwind
colors: {
  custom: {
    50: '#dcd7b7',
    500: '#cdc799',
    950: '#000000',
  },
}
SCSS
$custom: #cdc799;
$custom-light: #dcd7b7;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc799",
  "rgb": {
    "r": 205,
    "g": 199,
    "b": 153
  },
  "hsl": {
    "h": 53.077,
    "s": 34.211,
    "l": 70.196
  },
  "oklch": {
    "l": 0.82305,
    "c": 0.06158,
    "h": 101.4
  },
  "luminance": 0.56126
}

Semantic roles & 50–950 ramp

primary
#CDC799
secondary
#686FA2
accent
#46AD38
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CDC799

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

Preview Lab → · Contrast checker → · Palette generator →

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