#EFD87F#EFD87F

#EFD87F is a very light, moderate yellow. Relative luminance 0.690; OKLCH L 88.2% C 0.112 H 95.3°. Best body text is #000000 at 14.80:1 contrast (WCAG AA passes).

Color values

HEX#EFD87F
RGBrgb(239, 216, 127)
HSLhsl(48, 78%, 72%)
HSVhsv(48, 47%, 94%)
CMYKcmyk(0%, 9.6%, 46.9%, 6.3%)
CIE-LABlab(86.50, -3.61, 46.56)
CIE-LCHlch(86.50, 46.70, 94.43°)
OKLaboklab(88.24% -0.0104 0.1119)
OKLCHoklch(88.24% 0.112 95.3)
XYZxyz(63.9851, 68.9972, 30.0219)
Luminance0.6899 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFD87F #7F96EF
analogous
#EFA07F #EFD87F #CEEF7F
triadic
#EFD87F #7FEFD8 #D87FEF
tetradic
#EFD87F #7FEFA0 #7F96EF #EF7FCE
square
#EFD87F #7FEFA0 #7F96EF #EF7FCE
split-complementary
#EFD87F #7FCEEF #A07FEF
monochromatic
#D9B21B #E8C749 #EFD87F #F6E9B5 #FCF7E4

Accessibility & contrast

On white

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

On black

14.80
#EFD87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFD87F
14.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFD87F#FFFFFF#000000##000000
##EFD87F1.001.4214.8014.80
#FFFFFF1.421.0021.0021.00
#00000014.8021.001.001.00
##00000014.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D478
Deuteranopia (green-blind)
#EFDC82
Tritanopia (blue-blind)
#FECCC3
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #efd87f;
/* rgb */ color: rgb(239, 216, 127);
/* oklch */ color: oklch(88.2% 0.112 95.3);
Tailwind
colors: {
  custom: {
    50: '#f6e3a6',
    500: '#efd87f',
    950: '#000000',
  },
}
SCSS
$custom: #efd87f;
$custom-light: #f6e3a6;
$custom-dark: #000000;
JSON
{
  "hex": "#efd87f",
  "rgb": {
    "r": 239,
    "g": 216,
    "b": 127
  },
  "hsl": {
    "h": 47.679,
    "s": 77.778,
    "l": 71.765
  },
  "oklch": {
    "l": 0.88244,
    "c": 0.11237,
    "h": 95.3
  },
  "luminance": 0.68995
}

Semantic roles & 50–950 ramp

primary
#EFD87F
secondary
#4963C9
accent
#36DA0B
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#17150F
muted
#858480

Preview Lab

Preview with #EFD87F

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

Preview Lab → · Contrast checker → · Palette generator →

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