#CFD497#CFD497

#CFD497 is a very light, moderate yellow. Relative luminance 0.626; OKLCH L 85.1% C 0.080 H 111.9°. Best body text is #000000 at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#CFD497
RGBrgb(207, 212, 151)
HSLhsl(65, 41%, 71%)
HSVhsv(65, 29%, 83%)
CMYKcmyk(2.4%, 0%, 28.8%, 16.9%)
CIE-LABlab(83.22, -11.39, 29.70)
CIE-LCHlch(83.22, 31.80, 110.98°)
OKLaboklab(85.14% -0.0299 0.0744)
OKLCHoklch(85.14% 0.08 111.9)
XYZxyz(54.8615, 62.5874, 38.4626)
Luminance0.6259 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD497 #9C97D4
analogous
#D4BA97 #CFD497 #B0D497
triadic
#CFD497 #97CFD4 #D497CF
tetradic
#CFD497 #97D4BA #9C97D4 #D497B0
square
#CFD497 #97D4BA #9C97D4 #D497B0
split-complementary
#CFD497 #97B0D4 #BA97D4
monochromatic
#A2AA46 #BBC26C #CFD497 #E3E6C2 #F5F6E9

Accessibility & contrast

On white

1.55
#CFD497 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.52
#CFD497 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD497
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD497#FFFFFF#000000##000000
##CFD4971.001.5513.5213.52
#FFFFFF1.551.0021.0021.00
#00000013.5221.001.001.00
##00000013.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDCE93
Deuteranopia (green-blind)
#DDD099
Tritanopia (blue-blind)
#D7CDC4
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #cfd497;
/* rgb */ color: rgb(207, 212, 151);
/* oklch */ color: oklch(85.1% 0.080 111.9);
Tailwind
colors: {
  custom: {
    50: '#dee1b6',
    500: '#cfd497',
    950: '#000000',
  },
}
SCSS
$custom: #cfd497;
$custom-light: #dee1b6;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd497",
  "rgb": {
    "r": 207,
    "g": 212,
    "b": 151
  },
  "hsl": {
    "h": 64.918,
    "s": 41.497,
    "l": 71.176
  },
  "oklch": {
    "l": 0.85135,
    "c": 0.08013,
    "h": 111.9
  },
  "luminance": 0.62587
}

Semantic roles & 50–950 ramp

primary
#CFD497
secondary
#6B65AA
accent
#31B53C
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151511
muted
#848481

Preview Lab

Preview with #CFD497

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

Preview Lab → · Contrast checker → · Palette generator →

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