#CFD698#CFD698

#CFD698 is a very light, moderate yellow. Relative luminance 0.636; OKLCH L 85.6% C 0.082 H 113.4°. Best body text is #000000 at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#CFD698
RGBrgb(207, 214, 152)
HSLhsl(67, 43%, 72%)
HSVhsv(67, 29%, 84%)
CMYKcmyk(3.3%, 0%, 29%, 16.1%)
CIE-LABlab(83.77, -12.27, 29.91)
CIE-LCHlch(83.77, 32.33, 112.30°)
OKLaboklab(85.58% -0.0324 0.0749)
OKLCHoklch(85.58% 0.082 113.4)
XYZxyz(55.4461, 63.6261, 39.0598)
Luminance0.6363 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD698 #9F98D6
analogous
#D6BE98 #CFD698 #B0D698
triadic
#CFD698 #98CFD6 #D698CF
tetradic
#CFD698 #98D6BE #9F98D6 #D698B0
square
#CFD698 #98D6BE #9F98D6 #D698B0
split-complementary
#CFD698 #98B0D6 #BE98D6
monochromatic
#A2AE45 #BBC56C #CFD698 #E3E7C4 #F5F6E9

Accessibility & contrast

On white

1.53
#CFD698 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.73
#CFD698 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD698
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD698#FFFFFF#000000##000000
##CFD6981.001.5313.7313.73
#FFFFFF1.531.0021.0021.00
#00000013.7321.001.001.00
##00000013.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFD094
Deuteranopia (green-blind)
#DFD29B
Tritanopia (blue-blind)
#D6CFC6
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #cfd698;
/* rgb */ color: rgb(207, 214, 152);
/* oklch */ color: oklch(85.6% 0.082 113.4);
Tailwind
colors: {
  custom: {
    50: '#dee2b6',
    500: '#cfd698',
    950: '#000000',
  },
}
SCSS
$custom: #cfd698;
$custom-light: #dee2b6;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd698",
  "rgb": {
    "r": 207,
    "g": 214,
    "b": 152
  },
  "hsl": {
    "h": 66.774,
    "s": 43.056,
    "l": 71.765
  },
  "oklch": {
    "l": 0.85575,
    "c": 0.08157,
    "h": 113.4
  },
  "luminance": 0.63626
}

Semantic roles & 50–950 ramp

primary
#CFD698
secondary
#6E66AD
accent
#2FB63F
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151511
muted
#848481

Preview Lab

Preview with #CFD698

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

Preview Lab → · Contrast checker → · Palette generator →

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