#EFD87C#EFD87C

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

Color values

HEX#EFD87C
RGBrgb(239, 216, 124)
HSLhsl(48, 78%, 71%)
HSVhsv(48, 48%, 94%)
CMYKcmyk(0%, 9.6%, 48.1%, 6.3%)
CIE-LABlab(86.46, -3.89, 47.97)
CIE-LCHlch(86.46, 48.13, 94.63°)
OKLaboklab(88.2% -0.0115 0.1148)
OKLCHoklch(88.2% 0.115 95.7)
XYZxyz(63.7925, 68.9202, 29.0075)
Luminance0.6892 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFD87C #7C93EF
analogous
#EF9E7C #EFD87C #CCEF7C
triadic
#EFD87C #7CEFD8 #D87CEF
tetradic
#EFD87C #7CEF9E #7C93EF #EF7CCC
square
#EFD87C #7CEF9E #7C93EF #EF7CCC
split-complementary
#EFD87C #7CCCEF #9E7CEF
monochromatic
#D6B11A #E8C845 #EFD87C #F6E8B3 #FCF7E4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EFD87C#FFFFFF#000000##000000
##EFD87C1.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)
#E9D474
Deuteranopia (green-blind)
#EFDC80
Tritanopia (blue-blind)
#FECCC2
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #efd87c;
/* rgb */ color: rgb(239, 216, 124);
/* oklch */ color: oklch(88.2% 0.115 95.7);
Tailwind
colors: {
  custom: {
    50: '#f6e3a3',
    500: '#efd87c',
    950: '#000000',
  },
}
SCSS
$custom: #efd87c;
$custom-light: #f6e3a3;
$custom-dark: #000000;
JSON
{
  "hex": "#efd87c",
  "rgb": {
    "r": 239,
    "g": 216,
    "b": 124
  },
  "hsl": {
    "h": 48,
    "s": 78.231,
    "l": 71.176
  },
  "oklch": {
    "l": 0.88202,
    "c": 0.1154,
    "h": 95.7
  },
  "luminance": 0.68918
}

Semantic roles & 50–950 ramp

primary
#EFD87C
secondary
#4660C9
accent
#35DA0B
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#17150F
muted
#858480

Preview Lab

Preview with #EFD87C

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

Preview Lab → · Contrast checker → · Palette generator →

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