#EFD87A#EFD87A

#EFD87A is a very light, moderate yellow. Relative luminance 0.689; OKLCH L 88.2% C 0.117 H 96.0°. Best body text is #000000 at 14.77:1 contrast (WCAG AA passes).

Color values

HEX#EFD87A
RGBrgb(239, 216, 122)
HSLhsl(48, 79%, 71%)
HSVhsv(48, 49%, 94%)
CMYKcmyk(0%, 9.6%, 49%, 6.3%)
CIE-LABlab(86.44, -4.07, 48.91)
CIE-LCHlch(86.44, 49.08, 94.75°)
OKLaboklab(88.17% -0.0122 0.1168)
OKLCHoklch(88.17% 0.117 96)
XYZxyz(63.6673, 68.8701, 28.3482)
Luminance0.6887 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFD87A #7A91EF
analogous
#EF9D7A #EFD87A #CBEF7A
triadic
#EFD87A #7AEFD8 #D87AEF
tetradic
#EFD87A #7AEF9D #7A91EF #EF7ACB
square
#EFD87A #7AEF9D #7A91EF #EF7ACB
split-complementary
#EFD87A #7ACBEF #9D7AEF
monochromatic
#D5B01A #E8C843 #EFD87A #F6E8B1 #FCF7E4

Accessibility & contrast

On white

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

On black

14.77
#EFD87A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFD87A
14.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFD87A#FFFFFF#000000##000000
##EFD87A1.001.4214.7714.77
#FFFFFF1.421.0021.0021.00
#00000014.7721.001.001.00
##00000014.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D472
Deuteranopia (green-blind)
#EFDC7E
Tritanopia (blue-blind)
#FFCBC2
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #efd87a;
/* rgb */ color: rgb(239, 216, 122);
/* oklch */ color: oklch(88.2% 0.117 96.0);
Tailwind
colors: {
  custom: {
    50: '#f6e3a2',
    500: '#efd87a',
    950: '#000000',
  },
}
SCSS
$custom: #efd87a;
$custom-light: #f6e3a2;
$custom-dark: #000000;
JSON
{
  "hex": "#efd87a",
  "rgb": {
    "r": 239,
    "g": 216,
    "b": 122
  },
  "hsl": {
    "h": 48.205,
    "s": 78.523,
    "l": 70.784
  },
  "oklch": {
    "l": 0.88174,
    "c": 0.1174,
    "h": 96
  },
  "luminance": 0.68868
}

Semantic roles & 50–950 ramp

primary
#EFD87A
secondary
#445EC9
accent
#34DB0B
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #EFD87A

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

Preview Lab → · Contrast checker → · Palette generator →

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