#CFD99C#CFD99C

#CFD99C is a very light, moderate yellow. Relative luminance 0.653; OKLCH L 86.3% C 0.081 H 115.7°. Best body text is #000000 at 14.06:1 contrast (WCAG AA passes).

Color values

HEX#CFD99C
RGBrgb(207, 217, 156)
HSLhsl(70, 45%, 73%)
HSVhsv(70, 28%, 85%)
CMYKcmyk(4.6%, 0%, 28.1%, 14.9%)
CIE-LABlab(84.63, -13.24, 29.00)
CIE-LCHlch(84.63, 31.88, 114.54°)
OKLaboklab(86.28% -0.035 0.0728)
OKLCHoklch(86.28% 0.081 115.7)
XYZxyz(56.5455, 65.2918, 41.0698)
Luminance0.6529 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD99C #A69CD9
analogous
#D9C49C #CFD99C #B0D99C
triadic
#CFD99C #9CCFD9 #D99CCF
tetradic
#CFD99C #9CD9C4 #A69CD9 #D99CB0
square
#CFD99C #9CD9C4 #A69CD9 #D99CB0
split-complementary
#CFD99C #9CB0D9 #C49CD9
monochromatic
#A3B546 #BAC870 #CFD99C #E4EAC8 #F4F7E9

Accessibility & contrast

On white

1.49
#CFD99C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.06
#CFD99C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD99C
14.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD99C#FFFFFF#000000##000000
##CFD99C1.001.4914.0614.06
#FFFFFF1.491.0021.0021.00
#00000014.0621.001.001.00
##00000014.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2D398
Deuteranopia (green-blind)
#E1D49F
Tritanopia (blue-blind)
#D6D2C9
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #cfd99c;
/* rgb */ color: rgb(207, 217, 156);
/* oklch */ color: oklch(86.3% 0.081 115.7);
Tailwind
colors: {
  custom: {
    50: '#dee4b9',
    500: '#cfd99c',
    950: '#000000',
  },
}
SCSS
$custom: #cfd99c;
$custom-light: #dee4b9;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd99c",
  "rgb": {
    "r": 207,
    "g": 217,
    "b": 156
  },
  "hsl": {
    "h": 69.836,
    "s": 44.526,
    "l": 73.137
  },
  "oklch": {
    "l": 0.86283,
    "c": 0.08079,
    "h": 115.7
  },
  "luminance": 0.65291
}

Semantic roles & 50–950 ramp

primary
#CFD99C
secondary
#7569B0
accent
#2EB844
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151511
muted
#848481

Preview Lab

Preview with #CFD99C

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

Preview Lab → · Contrast checker → · Palette generator →

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