#CFD799#CFD799

#CFD799 is a very light, moderate yellow. Relative luminance 0.642; OKLCH L 85.8% C 0.082 H 114.1°. Best body text is #000000 at 13.83:1 contrast (WCAG AA passes).

Color values

HEX#CFD799
RGBrgb(207, 215, 153)
HSLhsl(68, 44%, 72%)
HSVhsv(68, 29%, 84%)
CMYKcmyk(3.7%, 0%, 28.8%, 15.7%)
CIE-LABlab(84.05, -12.64, 29.77)
CIE-LCHlch(84.05, 32.34, 113.00°)
OKLaboklab(85.8% -0.0334 0.0746)
OKLCHoklch(85.8% 0.082 114.1)
XYZxyz(55.7822, 64.1667, 39.5776)
Luminance0.6417 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD799 #A199D7
analogous
#D7C099 #CFD799 #B0D799
triadic
#CFD799 #99CFD7 #D799CF
tetradic
#CFD799 #99D7C0 #A199D7 #D799B0
square
#CFD799 #99D7C0 #A199D7 #D799B0
split-complementary
#CFD799 #99B0D7 #C099D7
monochromatic
#A3B045 #BAC66D #CFD799 #E4E8C5 #F5F6E9

Accessibility & contrast

On white

1.52
#CFD799 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.83
#CFD799 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD799
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD799#FFFFFF#000000##000000
##CFD7991.001.5213.8313.83
#FFFFFF1.521.0021.0021.00
#00000013.8321.001.001.00
##00000013.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0D195
Deuteranopia (green-blind)
#DFD29C
Tritanopia (blue-blind)
#D6D0C7
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #cfd799;
/* rgb */ color: rgb(207, 215, 153);
/* oklch */ color: oklch(85.8% 0.082 114.1);
Tailwind
colors: {
  custom: {
    50: '#dee3b7',
    500: '#cfd799',
    950: '#000000',
  },
}
SCSS
$custom: #cfd799;
$custom-light: #dee3b7;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd799",
  "rgb": {
    "r": 207,
    "g": 215,
    "b": 153
  },
  "hsl": {
    "h": 67.742,
    "s": 43.662,
    "l": 72.157
  },
  "oklch": {
    "l": 0.85804,
    "c": 0.0817,
    "h": 114.1
  },
  "luminance": 0.64166
}

Semantic roles & 50–950 ramp

primary
#CFD799
secondary
#7066AE
accent
#2FB740
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151511
muted
#848481

Preview Lab

Preview with #CFD799

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

Preview Lab → · Contrast checker → · Palette generator →

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