#CFC898#CFC898

#CFC898 is a very light, moderate yellow. Relative luminance 0.568; OKLCH L 82.7% C 0.064 H 100.7°. Best body text is #000000 at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#CFC898
RGBrgb(207, 200, 152)
HSLhsl(52, 36%, 70%)
HSVhsv(52, 27%, 81%)
CMYKcmyk(0%, 3.4%, 26.6%, 18.8%)
CIE-LABlab(80.09, -5.10, 24.95)
CIE-LCHlch(80.09, 25.47, 101.56°)
OKLaboklab(82.66% -0.0119 0.063)
OKLCHoklch(82.66% 0.064 100.7)
XYZxyz(52.0541, 56.8420, 37.9291)
Luminance0.5684 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC898 #989FCF
analogous
#CFAC98 #CFC898 #BACF98
triadic
#CFC898 #98CFC8 #C898CF
tetradic
#CFC898 #98CFAC #989FCF #CF98BA
square
#CFC898 #98CFAC #989FCF #CF98BA
split-complementary
#CFC898 #98BACF #AC98CF
monochromatic
#A1964B #BCB26E #CFC898 #E2DEC2 #F5F4EA

Accessibility & contrast

On white

1.70
#CFC898 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.37
#CFC898 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC898
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC898#FFFFFF#000000##000000
##CFC8981.001.7012.3712.37
#FFFFFF1.701.0021.0021.00
#00000012.3721.001.001.00
##00000012.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1C595
Deuteranopia (green-blind)
#D3C89A
Tritanopia (blue-blind)
#D7C1BB
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cfc898;
/* rgb */ color: rgb(207, 200, 152);
/* oklch */ color: oklch(82.7% 0.064 100.7);
Tailwind
colors: {
  custom: {
    50: '#ded8b6',
    500: '#cfc898',
    950: '#000000',
  },
}
SCSS
$custom: #cfc898;
$custom-light: #ded8b6;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc898",
  "rgb": {
    "r": 207,
    "g": 200,
    "b": 152
  },
  "hsl": {
    "h": 52.364,
    "s": 36.424,
    "l": 70.392
  },
  "oklch": {
    "l": 0.82658,
    "c": 0.06413,
    "h": 100.7
  },
  "luminance": 0.56841
}

Semantic roles & 50–950 ramp

primary
#CFC898
secondary
#676FA5
accent
#46AF36
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CFC898

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

Preview Lab → · Contrast checker → · Palette generator →

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