#CFCE98#CFCE98

#CFCE98 is a very light, moderate yellow. Relative luminance 0.597; OKLCH L 83.9% C 0.071 H 106.9°. Best body text is #000000 at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#CFCE98
RGBrgb(207, 206, 152)
HSLhsl(59, 36%, 70%)
HSVhsv(59, 27%, 81%)
CMYKcmyk(0%, 0.5%, 26.6%, 18.8%)
CIE-LABlab(81.66, -8.20, 27.08)
CIE-LCHlch(81.66, 28.29, 106.84°)
OKLaboklab(83.9% -0.0208 0.0681)
OKLCHoklch(83.9% 0.071 106.9)
XYZxyz(53.4710, 59.6758, 38.4014)
Luminance0.5968 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCE98 #9899CF
analogous
#CFB298 #CFCE98 #B4CF98
triadic
#CFCE98 #98CFCE #CE98CF
tetradic
#CFCE98 #98CFB2 #9899CF #CF98B4
square
#CFCE98 #98CFB2 #9899CF #CF98B4
split-complementary
#CFCE98 #98B4CF #B298CF
monochromatic
#A1A04B #BCBA6E #CFCE98 #E2E2C2 #F5F5EA

Accessibility & contrast

On white

1.62
#CFCE98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.94
#CFCE98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCE98
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCE98#FFFFFF#000000##000000
##CFCE981.001.6212.9412.94
#FFFFFF1.621.0021.0021.00
#00000012.9421.001.001.00
##00000012.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7CA94
Deuteranopia (green-blind)
#D8CC9A
Tritanopia (blue-blind)
#D7C7C0
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #cfce98;
/* rgb */ color: rgb(207, 206, 152);
/* oklch */ color: oklch(83.9% 0.071 106.9);
Tailwind
colors: {
  custom: {
    50: '#dedcb6',
    500: '#cfce98',
    950: '#000000',
  },
}
SCSS
$custom: #cfce98;
$custom-light: #dedcb6;
$custom-dark: #000000;
JSON
{
  "hex": "#cfce98",
  "rgb": {
    "r": 207,
    "g": 206,
    "b": 152
  },
  "hsl": {
    "h": 58.909,
    "s": 36.424,
    "l": 70.392
  },
  "oklch": {
    "l": 0.83901,
    "c": 0.07121,
    "h": 106.9
  },
  "luminance": 0.59675
}

Semantic roles & 50–950 ramp

primary
#CFCE98
secondary
#6768A5
accent
#38AF36
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151511
muted
#848481

Preview Lab

Preview with #CFCE98

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

Preview Lab → · Contrast checker → · Palette generator →

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