#CFDD77#CFDD77

#CFDD77 is a very light, vivid yellow. Relative luminance 0.663; OKLCH L 86.5% C 0.128 H 115.6°. Best body text is #000000 at 14.26:1 contrast (WCAG AA passes).

Color values

HEX#CFDD77
RGBrgb(207, 221, 119)
HSLhsl(68, 60%, 67%)
HSVhsv(68, 46%, 87%)
CMYKcmyk(6.3%, 0%, 46.2%, 13.3%)
CIE-LABlab(85.15, -19.56, 48.21)
CIE-LCHlch(85.15, 52.02, 112.09°)
OKLaboklab(86.52% -0.0552 0.1154)
OKLCHoklch(86.52% 0.128 115.6)
XYZxyz(54.9190, 66.3108, 27.3553)
Luminance0.6631 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFDD77 #8577DD
analogous
#DDB877 #CFDD77 #9CDD77
triadic
#CFDD77 #77CFDD #DD77CF
tetradic
#CFDD77 #77DDB8 #8577DD #DD779C
square
#CFDD77 #77DDB8 #8577DD #DD779C
split-complementary
#CFDD77 #779CDD #B877DD
monochromatic
#9CAE2C #BED146 #CFDD77 #E0E9A8 #F2F5D9

Accessibility & contrast

On white

1.47
#CFDD77 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.26
#CFDD77 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFDD77
14.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFDD77#FFFFFF#000000##000000
##CFDD771.001.4714.2614.26
#FFFFFF1.471.0021.0021.00
#00000014.2621.001.001.00
##00000014.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D46E
Deuteranopia (green-blind)
#E8D67C
Tritanopia (blue-blind)
#D9D3C5
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #cfdd77;
/* rgb */ color: rgb(207, 221, 119);
/* oklch */ color: oklch(86.5% 0.128 115.6);
Tailwind
colors: {
  custom: {
    50: '#dfe7a0',
    500: '#cfdd77',
    950: '#000000',
  },
}
SCSS
$custom: #cfdd77;
$custom-light: #dfe7a0;
$custom-dark: #000000;
JSON
{
  "hex": "#cfdd77",
  "rgb": {
    "r": 207,
    "g": 221,
    "b": 119
  },
  "hsl": {
    "h": 68.235,
    "s": 60,
    "l": 66.667
  },
  "oklch": {
    "l": 0.8652,
    "c": 0.1279,
    "h": 115.6
  },
  "luminance": 0.6631
}

Semantic roles & 50–950 ramp

primary
#CFDD77
secondary
#5648B0
accent
#1EC835
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15160F
muted
#848480

Preview Lab

Preview with #CFDD77

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

Preview Lab → · Contrast checker → · Palette generator →

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