#CFD197#CFD197

#CFD197 is a very light, moderate yellow. Relative luminance 0.611; OKLCH L 84.5% C 0.076 H 109.6°. Best body text is #000000 at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#CFD197
RGBrgb(207, 209, 151)
HSLhsl(62, 39%, 71%)
HSVhsv(62, 28%, 82%)
CMYKcmyk(1%, 0%, 27.8%, 18%)
CIE-LABlab(82.43, -9.86, 28.64)
CIE-LCHlch(82.43, 30.29, 109.00°)
OKLaboklab(84.51% -0.0255 0.0718)
OKLCHoklch(84.51% 0.076 109.6)
XYZxyz(54.1186, 61.1014, 38.2150)
Luminance0.6110 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD197 #9997D1
analogous
#D1B697 #CFD197 #B2D197
triadic
#CFD197 #97CFD1 #D197CF
tetradic
#CFD197 #97D1B6 #9997D1 #D197B2
square
#CFD197 #97D1B6 #9997D1 #D197B2
split-complementary
#CFD197 #97B2D1 #B697D1
monochromatic
#A2A549 #BBBE6D #CFD197 #E3E4C1 #F5F6EA

Accessibility & contrast

On white

1.59
#CFD197 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.22
#CFD197 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD197
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD197#FFFFFF#000000##000000
##CFD1971.001.5913.2213.22
#FFFFFF1.591.0021.0021.00
#00000013.2221.001.001.00
##00000013.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DACC93
Deuteranopia (green-blind)
#DBCE99
Tritanopia (blue-blind)
#D7CAC2
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #cfd197;
/* rgb */ color: rgb(207, 209, 151);
/* oklch */ color: oklch(84.5% 0.076 109.6);
Tailwind
colors: {
  custom: {
    50: '#dedfb6',
    500: '#cfd197',
    950: '#000000',
  },
}
SCSS
$custom: #cfd197;
$custom-light: #dedfb6;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd197",
  "rgb": {
    "r": 207,
    "g": 209,
    "b": 151
  },
  "hsl": {
    "h": 62.069,
    "s": 38.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.84507,
    "c": 0.07624,
    "h": 109.6
  },
  "luminance": 0.61101
}

Semantic roles & 50–950 ramp

primary
#CFD197
secondary
#6865A7
accent
#34B238
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151511
muted
#848481

Preview Lab

Preview with #CFD197

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

Preview Lab → · Contrast checker → · Palette generator →

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