#CFCD8E#CFCD8E

#CFCD8E is a very light, moderate yellow. Relative luminance 0.589; OKLCH L 83.5% C 0.082 H 106.5°. Best body text is #000000 at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#CFCD8E
RGBrgb(207, 205, 142)
HSLhsl(58, 40%, 68%)
HSVhsv(58, 31%, 81%)
CMYKcmyk(0%, 1%, 31.4%, 18.8%)
CIE-LABlab(81.23, -8.98, 31.70)
CIE-LCHlch(81.23, 32.94, 105.81°)
OKLaboklab(83.5% -0.0234 0.0789)
OKLCHoklch(83.5% 0.082 106.5)
XYZxyz(52.4463, 58.8820, 34.1885)
Luminance0.5888 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCD8E #8E90CF
analogous
#CFAC8E #CFCD8E #B0CF8E
triadic
#CFCD8E #8ECFCD #CD8ECF
tetradic
#CFCD8E #8ECFAC #8E90CF #CF8EB0
square
#CFCD8E #8ECFAC #8E90CF #CF8EB0
split-complementary
#CFCD8E #8EB0CF #AC8ECF
monochromatic
#9F9C44 #BDBA63 #CFCD8E #E1E0B9 #F3F3E4

Accessibility & contrast

On white

1.64
#CFCD8E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.78
#CFCD8E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCD8E
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCD8E#FFFFFF#000000##000000
##CFCD8E1.001.6412.7812.78
#FFFFFF1.641.0021.0021.00
#00000012.7821.001.001.00
##00000012.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C88A
Deuteranopia (green-blind)
#D9CB90
Tritanopia (blue-blind)
#D8C5BD
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cfcd8e;
/* rgb */ color: rgb(207, 205, 142);
/* oklch */ color: oklch(83.5% 0.082 106.5);
Tailwind
colors: {
  custom: {
    50: '#dedcaf',
    500: '#cfcd8e',
    950: '#000000',
  },
}
SCSS
$custom: #cfcd8e;
$custom-light: #dedcaf;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcd8e",
  "rgb": {
    "r": 207,
    "g": 205,
    "b": 142
  },
  "hsl": {
    "h": 58.154,
    "s": 40.373,
    "l": 68.431
  },
  "oklch": {
    "l": 0.835,
    "c": 0.08224,
    "h": 106.5
  },
  "luminance": 0.58881
}

Semantic roles & 50–950 ramp

primary
#CFCD8E
secondary
#5D5FA4
accent
#36B332
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151510
muted
#848481

Preview Lab

Preview with #CFCD8E

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

Preview Lab → · Contrast checker → · Palette generator →

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