#CFD997#CFD997

#CFD997 is a very light, moderate yellow. Relative luminance 0.651; OKLCH L 86.2% C 0.087 H 115.3°. Best body text is #000000 at 14.03:1 contrast (WCAG AA passes).

Color values

HEX#CFD997
RGBrgb(207, 217, 151)
HSLhsl(69, 46%, 72%)
HSVhsv(69, 30%, 85%)
CMYKcmyk(4.6%, 0%, 30.4%, 14.9%)
CIE-LABlab(84.55, -13.91, 31.46)
CIE-LCHlch(84.55, 34.40, 113.85°)
OKLaboklab(86.19% -0.0371 0.0785)
OKLCHoklch(86.19% 0.087 115.3)
XYZxyz(56.1308, 65.1259, 38.8857)
Luminance0.6512 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD997 #A197D9
analogous
#D9C297 #CFD997 #AED997
triadic
#CFD997 #97CFD9 #D997CF
tetradic
#CFD997 #97D9C2 #A197D9 #D997AE
square
#CFD997 #97D9C2 #A197D9 #D997AE
split-complementary
#CFD997 #97AED9 #C297D9
monochromatic
#A3B442 #BAC96A #CFD997 #E4E9C4 #F5F7E9

Accessibility & contrast

On white

1.50
#CFD997 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.03
#CFD997 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD997
14.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD997#FFFFFF#000000##000000
##CFD9971.001.5014.0314.03
#FFFFFF1.501.0021.0021.00
#00000014.0321.001.001.00
##00000014.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2D293
Deuteranopia (green-blind)
#E1D49A
Tritanopia (blue-blind)
#D6D2C8
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #cfd997;
/* rgb */ color: rgb(207, 217, 151);
/* oklch */ color: oklch(86.2% 0.087 115.3);
Tailwind
colors: {
  custom: {
    50: '#dee4b6',
    500: '#cfd997',
    950: '#000000',
  },
}
SCSS
$custom: #cfd997;
$custom-light: #dee4b6;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd997",
  "rgb": {
    "r": 207,
    "g": 217,
    "b": 151
  },
  "hsl": {
    "h": 69.091,
    "s": 46.479,
    "l": 72.157
  },
  "oklch": {
    "l": 0.86188,
    "c": 0.08684,
    "h": 115.3
  },
  "luminance": 0.65125
}

Semantic roles & 50–950 ramp

primary
#CFD997
secondary
#7064B0
accent
#2CBA41
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151511
muted
#848481

Preview Lab

Preview with #CFD997

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

Preview Lab → · Contrast checker → · Palette generator →

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