#CFD795#CFD795

#CFD795 is a very light, moderate yellow. Relative luminance 0.640; OKLCH L 85.7% C 0.087 H 113.9°. Best body text is #000000 at 13.81:1 contrast (WCAG AA passes).

Color values

HEX#CFD795
RGBrgb(207, 215, 149)
HSLhsl(67, 45%, 71%)
HSVhsv(67, 31%, 84%)
CMYKcmyk(3.7%, 0%, 30.7%, 15.7%)
CIE-LABlab(83.98, -13.16, 31.74)
CIE-LCHlch(83.98, 34.36, 112.52°)
OKLaboklab(85.73% -0.035 0.0791)
OKLCHoklch(85.73% 0.087 113.9)
XYZxyz(55.4574, 64.0368, 37.8668)
Luminance0.6404 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD795 #9D95D7
analogous
#D7BE95 #CFD795 #AED795
triadic
#CFD795 #95CFD7 #D795CF
tetradic
#CFD795 #95D7BE #9D95D7 #D795AE
square
#CFD795 #95D7BE #9D95D7 #D795AE
split-complementary
#CFD795 #95AED7 #BE95D7
monochromatic
#A2AF42 #BBC669 #CFD795 #E3E8C1 #F5F7E9

Accessibility & contrast

On white

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

On black

13.81
#CFD795 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD795
13.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD795#FFFFFF#000000##000000
##CFD7951.001.5213.8113.81
#FFFFFF1.521.0021.0021.00
#00000013.8121.001.001.00
##00000013.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0D191
Deuteranopia (green-blind)
#E0D298
Tritanopia (blue-blind)
#D7D0C6
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #cfd795;
/* rgb */ color: rgb(207, 215, 149);
/* oklch */ color: oklch(85.7% 0.087 113.9);
Tailwind
colors: {
  custom: {
    50: '#dee3b4',
    500: '#cfd795',
    950: '#000000',
  },
}
SCSS
$custom: #cfd795;
$custom-light: #dee3b4;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd795",
  "rgb": {
    "r": 207,
    "g": 215,
    "b": 149
  },
  "hsl": {
    "h": 67.273,
    "s": 45.205,
    "l": 71.373
  },
  "oklch": {
    "l": 0.85728,
    "c": 0.08654,
    "h": 113.9
  },
  "luminance": 0.64036
}

Semantic roles & 50–950 ramp

primary
#CFD795
secondary
#6C62AE
accent
#2DB83E
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151511
muted
#848481

Preview Lab

Preview with #CFD795

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

Preview Lab → · Contrast checker → · Palette generator →

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