#EFD77F#EFD77F

#EFD77F is a very light, moderate yellow. Relative luminance 0.685; OKLCH L 88.0% C 0.112 H 94.6°. Best body text is #000000 at 14.70:1 contrast (WCAG AA passes).

Color values

HEX#EFD77F
RGBrgb(239, 215, 127)
HSLhsl(47, 78%, 72%)
HSVhsv(47, 47%, 94%)
CMYKcmyk(0%, 10%, 46.9%, 6.3%)
CIE-LABlab(86.25, -3.10, 46.24)
CIE-LCHlch(86.25, 46.34, 93.84°)
OKLaboklab(88.04% -0.0089 0.1112)
OKLCHoklch(88.04% 0.112 94.6)
XYZxyz(63.7297, 68.4864, 29.9368)
Luminance0.6848 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFD77F #7F97EF
analogous
#EF9F7F #EFD77F #CFEF7F
triadic
#EFD77F #7FEFD7 #D77FEF
tetradic
#EFD77F #7FEF9F #7F97EF #EF7FCF
square
#EFD77F #7FEF9F #7F97EF #EF7FCF
split-complementary
#EFD77F #7FCFEF #9F7FEF
monochromatic
#D9B01B #E8C649 #EFD77F #F6E8B5 #FCF7E4

Accessibility & contrast

On white

1.43
#EFD77F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.70
#EFD77F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFD77F
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFD77F#FFFFFF#000000##000000
##EFD77F1.001.4314.7014.70
#FFFFFF1.431.0021.0021.00
#00000014.7021.001.001.00
##00000014.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D378
Deuteranopia (green-blind)
#EEDB82
Tritanopia (blue-blind)
#FECBC2
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #efd77f;
/* rgb */ color: rgb(239, 215, 127);
/* oklch */ color: oklch(88.0% 0.112 94.6);
Tailwind
colors: {
  custom: {
    50: '#f6e3a5',
    500: '#efd77f',
    950: '#000000',
  },
}
SCSS
$custom: #efd77f;
$custom-light: #f6e3a5;
$custom-dark: #000000;
JSON
{
  "hex": "#efd77f",
  "rgb": {
    "r": 239,
    "g": 215,
    "b": 127
  },
  "hsl": {
    "h": 47.143,
    "s": 77.778,
    "l": 71.765
  },
  "oklch": {
    "l": 0.88044,
    "c": 0.11154,
    "h": 94.6
  },
  "luminance": 0.68484
}

Semantic roles & 50–950 ramp

primary
#EFD77F
secondary
#4964C9
accent
#38DA0B
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#17150F
muted
#858480

Preview Lab

Preview with #EFD77F

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

Preview Lab → · Contrast checker → · Palette generator →

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