#EFD87B#EFD87B

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

Color values

HEX#EFD87B
RGBrgb(239, 216, 123)
HSLhsl(48, 78%, 71%)
HSVhsv(48, 49%, 94%)
CMYKcmyk(0%, 9.6%, 48.5%, 6.3%)
CIE-LABlab(86.45, -3.98, 48.44)
CIE-LCHlch(86.45, 48.61, 94.69°)
OKLaboklab(88.19% -0.0118 0.1158)
OKLCHoklch(88.19% 0.116 95.8)
XYZxyz(63.7296, 68.8950, 28.6762)
Luminance0.6889 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFD87B #7B92EF
analogous
#EF9E7B #EFD87B #CCEF7B
triadic
#EFD87B #7BEFD8 #D87BEF
tetradic
#EFD87B #7BEF9E #7B92EF #EF7BCC
square
#EFD87B #7BEF9E #7B92EF #EF7BCC
split-complementary
#EFD87B #7BCCEF #9E7BEF
monochromatic
#D6B01A #E8C844 #EFD87B #F6E8B2 #FCF7E4

Accessibility & contrast

On white

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

On black

14.78
#EFD87B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFD87B
14.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFD87B#FFFFFF#000000##000000
##EFD87B1.001.4214.7814.78
#FFFFFF1.421.0021.0021.00
#00000014.7821.001.001.00
##00000014.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D473
Deuteranopia (green-blind)
#EFDC7F
Tritanopia (blue-blind)
#FFCCC2
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #efd87b;
/* rgb */ color: rgb(239, 216, 123);
/* oklch */ color: oklch(88.2% 0.116 95.8);
Tailwind
colors: {
  custom: {
    50: '#f6e3a3',
    500: '#efd87b',
    950: '#000000',
  },
}
SCSS
$custom: #efd87b;
$custom-light: #f6e3a3;
$custom-dark: #000000;
JSON
{
  "hex": "#efd87b",
  "rgb": {
    "r": 239,
    "g": 216,
    "b": 123
  },
  "hsl": {
    "h": 48.103,
    "s": 78.378,
    "l": 70.98
  },
  "oklch": {
    "l": 0.88188,
    "c": 0.1164,
    "h": 95.8
  },
  "luminance": 0.68893
}

Semantic roles & 50–950 ramp

primary
#EFD87B
secondary
#455FC9
accent
#34DB0B
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#17150F
muted
#858480

Preview Lab

Preview with #EFD87B

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

Preview Lab → · Contrast checker → · Palette generator →

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