#CFD898#CFD898

#CFD898 is a very light, moderate yellow. Relative luminance 0.646; OKLCH L 86.0% C 0.084 H 114.7°. Best body text is #000000 at 13.93:1 contrast (WCAG AA passes).

Color values

HEX#CFD898
RGBrgb(207, 216, 152)
HSLhsl(68, 45%, 72%)
HSVhsv(68, 30%, 85%)
CMYKcmyk(4.2%, 0%, 29.6%, 15.3%)
CIE-LABlab(84.30, -13.27, 30.62)
CIE-LCHlch(84.30, 33.37, 113.44°)
OKLaboklab(86% -0.0352 0.0766)
OKLCHoklch(86% 0.084 114.7)
XYZxyz(55.9554, 64.6446, 39.2296)
Luminance0.6464 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD898 #A198D8
analogous
#D8C198 #CFD898 #AFD898
triadic
#CFD898 #98CFD8 #D898CF
tetradic
#CFD898 #98D8C1 #A198D8 #D898AF
square
#CFD898 #98D8C1 #A198D8 #D898AF
split-complementary
#CFD898 #98AFD8 #C198D8
monochromatic
#A3B243 #BAC76C #CFD898 #E4E9C4 #F5F7E9

Accessibility & contrast

On white

1.51
#CFD898 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.93
#CFD898 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD898
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD898#FFFFFF#000000##000000
##CFD8981.001.5113.9313.93
#FFFFFF1.511.0021.0021.00
#00000013.9321.001.001.00
##00000013.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1D294
Deuteranopia (green-blind)
#E0D39B
Tritanopia (blue-blind)
#D6D1C7
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #cfd898;
/* rgb */ color: rgb(207, 216, 152);
/* oklch */ color: oklch(86.0% 0.084 114.7);
Tailwind
colors: {
  custom: {
    50: '#dee4b7',
    500: '#cfd898',
    950: '#000000',
  },
}
SCSS
$custom: #cfd898;
$custom-light: #dee4b7;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd898",
  "rgb": {
    "r": 207,
    "g": 216,
    "b": 152
  },
  "hsl": {
    "h": 68.438,
    "s": 45.07,
    "l": 72.157
  },
  "oklch": {
    "l": 0.85996,
    "c": 0.08428,
    "h": 114.7
  },
  "luminance": 0.64644
}

Semantic roles & 50–950 ramp

primary
#CFD898
secondary
#7065AF
accent
#2DB841
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151511
muted
#848481

Preview Lab

Preview with #CFD898

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

Preview Lab → · Contrast checker → · Palette generator →

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