#EFD877#EFD877

#EFD877 is a very light, vivid yellow. Relative luminance 0.688; OKLCH L 88.1% C 0.120 H 96.3°. Best body text is #000000 at 14.76:1 contrast (WCAG AA passes).

Color values

HEX#EFD877
RGBrgb(239, 216, 119)
HSLhsl(49, 79%, 70%)
HSVhsv(49, 50%, 94%)
CMYKcmyk(0%, 9.6%, 50.2%, 6.3%)
CIE-LABlab(86.40, -4.33, 50.31)
CIE-LCHlch(86.40, 50.50, 94.92°)
OKLaboklab(88.13% -0.0133 0.1196)
OKLCHoklch(88.13% 0.12 96.3)
XYZxyz(63.4843, 68.7969, 27.3843)
Luminance0.6879 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFD877 #778EEF
analogous
#EF9C77 #EFD877 #CAEF77
triadic
#EFD877 #77EFD8 #D877EF
tetradic
#EFD877 #77EF9C #778EEF #EF77CA
square
#EFD877 #77EF9C #778EEF #EF77CA
split-complementary
#EFD877 #77CAEF #9C77EF
monochromatic
#D3AF19 #E9C840 #EFD877 #F5E8AE #FCF7E4

Accessibility & contrast

On white

1.42
#EFD877 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.76
#EFD877 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFD877
14.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFD877#FFFFFF#000000##000000
##EFD8771.001.4214.7614.76
#FFFFFF1.421.0021.0021.00
#00000014.7621.001.001.00
##00000014.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D46F
Deuteranopia (green-blind)
#EFDC7B
Tritanopia (blue-blind)
#FFCBC1
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #efd877;
/* rgb */ color: rgb(239, 216, 119);
/* oklch */ color: oklch(88.1% 0.120 96.3);
Tailwind
colors: {
  custom: {
    50: '#f6e3a0',
    500: '#efd877',
    950: '#000000',
  },
}
SCSS
$custom: #efd877;
$custom-light: #f6e3a0;
$custom-dark: #000000;
JSON
{
  "hex": "#efd877",
  "rgb": {
    "r": 239,
    "g": 216,
    "b": 119
  },
  "hsl": {
    "h": 48.5,
    "s": 78.947,
    "l": 70.196
  },
  "oklch": {
    "l": 0.88133,
    "c": 0.12035,
    "h": 96.3
  },
  "luminance": 0.68794
}

Semantic roles & 50–950 ramp

primary
#EFD877
secondary
#425CC8
accent
#32DB0A
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #EFD877

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

Preview Lab → · Contrast checker → · Palette generator →

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