#CFD296#CFD296

#CFD296 is a very light, moderate yellow. Relative luminance 0.616; OKLCH L 84.7% C 0.079 H 110.4°. Best body text is #000000 at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#CFD296
RGBrgb(207, 210, 150)
HSLhsl(63, 40%, 71%)
HSVhsv(63, 29%, 82%)
CMYKcmyk(1.4%, 0%, 28.6%, 17.6%)
CIE-LABlab(82.68, -10.50, 29.49)
CIE-LCHlch(82.68, 31.30, 109.61°)
OKLaboklab(84.7% -0.0274 0.0738)
OKLCHoklch(84.7% 0.079 110.4)
XYZxyz(54.2838, 61.5613, 37.8711)
Luminance0.6156 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD296 #9996D2
analogous
#D2B796 #CFD296 #B1D296
triadic
#CFD296 #96CFD2 #D296CF
tetradic
#CFD296 #96D2B7 #9996D2 #D296B1
square
#CFD296 #96D2B7 #9996D2 #D296B1
split-complementary
#CFD296 #96B1D2 #B796D2
monochromatic
#A2A647 #BBC06B #CFD296 #E3E4C1 #F5F6EA

Accessibility & contrast

On white

1.58
#CFD296 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.31
#CFD296 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD296
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD296#FFFFFF#000000##000000
##CFD2961.001.5813.3113.31
#FFFFFF1.581.0021.0021.00
#00000013.3121.001.001.00
##00000013.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBCD92
Deuteranopia (green-blind)
#DCCF98
Tritanopia (blue-blind)
#D7CBC2
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #cfd296;
/* rgb */ color: rgb(207, 210, 150);
/* oklch */ color: oklch(84.7% 0.079 110.4);
Tailwind
colors: {
  custom: {
    50: '#dedfb5',
    500: '#cfd296',
    950: '#000000',
  },
}
SCSS
$custom: #cfd296;
$custom-light: #dedfb5;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd296",
  "rgb": {
    "r": 207,
    "g": 210,
    "b": 150
  },
  "hsl": {
    "h": 63,
    "s": 40,
    "l": 70.588
  },
  "oklch": {
    "l": 0.84697,
    "c": 0.07875,
    "h": 110.4
  },
  "luminance": 0.61561
}

Semantic roles & 50–950 ramp

primary
#CFD296
secondary
#6864A8
accent
#32B339
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151511
muted
#848481

Preview Lab

Preview with #CFD296

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

Preview Lab → · Contrast checker → · Palette generator →

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