#CFCC98#CFCC98

#CFCC98 is a very light, moderate yellow. Relative luminance 0.587; OKLCH L 83.5% C 0.069 H 105.0°. Best body text is #000000 at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#CFCC98
RGBrgb(207, 204, 152)
HSLhsl(57, 36%, 70%)
HSVhsv(57, 27%, 81%)
CMYKcmyk(0%, 1.4%, 26.6%, 18.8%)
CIE-LABlab(81.14, -7.17, 26.37)
CIE-LCHlch(81.14, 27.32, 105.21°)
OKLaboklab(83.49% -0.0178 0.0664)
OKLCHoklch(83.49% 0.069 105)
XYZxyz(52.9926, 58.7190, 38.2420)
Luminance0.5872 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCC98 #989BCF
analogous
#CFB098 #CFCC98 #B6CF98
triadic
#CFCC98 #98CFCC #CC98CF
tetradic
#CFCC98 #98CFB0 #989BCF #CF98B6
square
#CFCC98 #98CFB0 #989BCF #CF98B6
split-complementary
#CFCC98 #98B6CF #B098CF
monochromatic
#A19D4B #BCB76E #CFCC98 #E2E1C2 #F5F5EA

Accessibility & contrast

On white

1.65
#CFCC98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.74
#CFCC98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCC98
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCC98#FFFFFF#000000##000000
##CFCC981.001.6512.7412.74
#FFFFFF1.651.0021.0021.00
#00000012.7421.001.001.00
##00000012.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C895
Deuteranopia (green-blind)
#D7CB9A
Tritanopia (blue-blind)
#D7C5BE
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cfcc98;
/* rgb */ color: rgb(207, 204, 152);
/* oklch */ color: oklch(83.5% 0.069 105.0);
Tailwind
colors: {
  custom: {
    50: '#dedbb6',
    500: '#cfcc98',
    950: '#000000',
  },
}
SCSS
$custom: #cfcc98;
$custom-light: #dedbb6;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcc98",
  "rgb": {
    "r": 207,
    "g": 204,
    "b": 152
  },
  "hsl": {
    "h": 56.727,
    "s": 36.424,
    "l": 70.392
  },
  "oklch": {
    "l": 0.83486,
    "c": 0.06877,
    "h": 105
  },
  "luminance": 0.58718
}

Semantic roles & 50–950 ramp

primary
#CFCC98
secondary
#676AA5
accent
#3DAF36
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151511
muted
#848481

Preview Lab

Preview with #CFCC98

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

Preview Lab → · Contrast checker → · Palette generator →

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