#CFD977#CFD977

#CFD977 is a very light, vivid yellow. Relative luminance 0.642; OKLCH L 85.7% C 0.123 H 113.8°. Best body text is #000000 at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#CFD977
RGBrgb(207, 217, 119)
HSLhsl(66, 56%, 66%)
HSVhsv(66, 45%, 85%)
CMYKcmyk(4.6%, 0%, 45.2%, 14.9%)
CIE-LABlab(84.08, -17.59, 46.89)
CIE-LCHlch(84.08, 50.08, 110.56°)
OKLaboklab(85.66% -0.0496 0.1125)
OKLCHoklch(85.66% 0.123 113.8)
XYZxyz(53.8755, 64.2238, 27.0075)
Luminance0.6422 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD977 #8177D9
analogous
#D9B277 #CFD977 #9ED977
triadic
#CFD977 #77CFD9 #D977CF
tetradic
#CFD977 #77D9B2 #8177D9 #D9779E
square
#CFD977 #77D9B2 #8177D9 #D9779E
split-complementary
#CFD977 #779ED9 #B277D9
monochromatic
#9BA72F #BECC47 #CFD977 #E0E6A7 #F1F4D7

Accessibility & contrast

On white

1.52
#CFD977 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.84
#CFD977 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD977
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD977#FFFFFF#000000##000000
##CFD9771.001.5213.8413.84
#FFFFFF1.521.0021.0021.00
#00000013.8421.001.001.00
##00000013.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D16F
Deuteranopia (green-blind)
#E5D37C
Tritanopia (blue-blind)
#D9CFC2
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #cfd977;
/* rgb */ color: rgb(207, 217, 119);
/* oklch */ color: oklch(85.7% 0.123 113.8);
Tailwind
colors: {
  custom: {
    50: '#dfe4a0',
    500: '#cfd977',
    950: '#000000',
  },
}
SCSS
$custom: #cfd977;
$custom-light: #dfe4a0;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd977",
  "rgb": {
    "r": 207,
    "g": 217,
    "b": 119
  },
  "hsl": {
    "h": 66.122,
    "s": 56.322,
    "l": 65.882
  },
  "oklch": {
    "l": 0.85664,
    "c": 0.12292,
    "h": 113.8
  },
  "luminance": 0.64223
}

Semantic roles & 50–950 ramp

primary
#CFD977
secondary
#544AAA
accent
#22C432
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480

Preview Lab

Preview with #CFD977

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

Preview Lab → · Contrast checker → · Palette generator →

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