#CFD877#CFD877

#CFD877 is a very light, vivid yellow. Relative luminance 0.637; OKLCH L 85.5% C 0.122 H 113.3°. Best body text is #000000 at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#CFD877
RGBrgb(207, 216, 119)
HSLhsl(66, 55%, 66%)
HSVhsv(66, 45%, 85%)
CMYKcmyk(4.2%, 0%, 44.9%, 15.3%)
CIE-LABlab(83.81, -17.10, 46.56)
CIE-LCHlch(83.81, 49.60, 110.16°)
OKLaboklab(85.45% -0.0482 0.1117)
OKLCHoklch(85.45% 0.122 113.3)
XYZxyz(53.6185, 63.7098, 26.9218)
Luminance0.6371 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD877 #8077D8
analogous
#D8B077 #CFD877 #9ED877
triadic
#CFD877 #77CFD8 #D877CF
tetradic
#CFD877 #77D8B0 #8077D8 #D8779E
square
#CFD877 #77D8B0 #8077D8 #D8779E
split-complementary
#CFD877 #779ED8 #B077D8
monochromatic
#9AA52F #BECA47 #CFD877 #E0E6A7 #F1F3D6

Accessibility & contrast

On white

1.53
#CFD877 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.74
#CFD877 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD877
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD877#FFFFFF#000000##000000
##CFD8771.001.5313.7413.74
#FFFFFF1.531.0021.0021.00
#00000013.7421.001.001.00
##00000013.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D06F
Deuteranopia (green-blind)
#E4D27C
Tritanopia (blue-blind)
#DACEC1
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #cfd877;
/* rgb */ color: rgb(207, 216, 119);
/* oklch */ color: oklch(85.5% 0.122 113.3);
Tailwind
colors: {
  custom: {
    50: '#dfe4a0',
    500: '#cfd877',
    950: '#000000',
  },
}
SCSS
$custom: #cfd877;
$custom-light: #dfe4a0;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd877",
  "rgb": {
    "r": 207,
    "g": 216,
    "b": 119
  },
  "hsl": {
    "h": 65.567,
    "s": 55.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.8545,
    "c": 0.12168,
    "h": 113.3
  },
  "luminance": 0.63709
}

Semantic roles & 50–950 ramp

primary
#CFD877
secondary
#534AA9
accent
#23C331
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480

Preview Lab

Preview with #CFD877

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

Preview Lab → · Contrast checker → · Palette generator →

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