#CFD396#CFD396

#CFD396 is a very light, moderate yellow. Relative luminance 0.621; OKLCH L 84.9% C 0.080 H 111.1°. Best body text is #000000 at 13.41:1 contrast (WCAG AA passes).

Color values

HEX#CFD396
RGBrgb(207, 211, 150)
HSLhsl(64, 41%, 71%)
HSVhsv(64, 29%, 83%)
CMYKcmyk(1.9%, 0%, 28.9%, 17.3%)
CIE-LABlab(82.94, -11.01, 29.84)
CIE-LCHlch(82.94, 31.80, 110.25°)
OKLaboklab(84.91% -0.0289 0.0747)
OKLCHoklch(84.91% 0.08 111.1)
XYZxyz(54.5315, 62.0566, 37.9537)
Luminance0.6206 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD396 #9A96D3
analogous
#D3B896 #CFD396 #B0D396
triadic
#CFD396 #96CFD3 #D396CF
tetradic
#CFD396 #96D3B8 #9A96D3 #D396B0
square
#CFD396 #96D3B8 #9A96D3 #D396B0
split-complementary
#CFD396 #96B0D3 #B896D3
monochromatic
#A2A846 #BBC16B #CFD396 #E3E5C1 #F5F6E9

Accessibility & contrast

On white

1.57
#CFD396 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.41
#CFD396 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD396
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD396#FFFFFF#000000##000000
##CFD3961.001.5713.4113.41
#FFFFFF1.571.0021.0021.00
#00000013.4121.001.001.00
##00000013.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCCE92
Deuteranopia (green-blind)
#DDCF98
Tritanopia (blue-blind)
#D7CCC3
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #cfd396;
/* rgb */ color: rgb(207, 211, 150);
/* oklch */ color: oklch(84.9% 0.080 111.1);
Tailwind
colors: {
  custom: {
    50: '#dee0b5',
    500: '#cfd396',
    950: '#000000',
  },
}
SCSS
$custom: #cfd396;
$custom-light: #dee0b5;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd396",
  "rgb": {
    "r": 207,
    "g": 211,
    "b": 150
  },
  "hsl": {
    "h": 63.934,
    "s": 40.94,
    "l": 70.784
  },
  "oklch": {
    "l": 0.84907,
    "c": 0.08004,
    "h": 111.1
  },
  "luminance": 0.62056
}

Semantic roles & 50–950 ramp

primary
#CFD396
secondary
#6964A9
accent
#32B43A
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151511
muted
#848481

Preview Lab

Preview with #CFD396

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

Preview Lab → · Contrast checker → · Palette generator →

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