#EFDC8A#EFDC8A

#EFDC8A is a very light, moderate yellow. Relative luminance 0.714; OKLCH L 89.2% C 0.104 H 96.7°. Best body text is #000000 at 15.27:1 contrast (WCAG AA passes).

Color values

HEX#EFDC8A
RGBrgb(239, 220, 138)
HSLhsl(49, 76%, 74%)
HSVhsv(49, 42%, 94%)
CMYKcmyk(0%, 7.9%, 42.3%, 6.3%)
CIE-LABlab(87.67, -4.57, 42.58)
CIE-LCHlch(87.67, 42.83, 96.13°)
OKLaboklab(89.21% -0.0122 0.1036)
OKLCHoklch(89.21% 0.104 96.7)
XYZxyz(65.7788, 71.3743, 34.3515)
Luminance0.7137 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFDC8A #8A9DEF
analogous
#EFAA8A #EFDC8A #D0EF8A
triadic
#EFDC8A #8AEFDC #DC8AEF
tetradic
#EFDC8A #8AEFAA #8A9DEF #EF8AD0
square
#EFDC8A #8AEFAA #8A9DEF #EF8AD0
split-complementary
#EFDC8A #8AD0EF #AA8AEF
monochromatic
#E0BC1F #E8CC54 #EFDC8A #F6ECC0 #FBF7E4

Accessibility & contrast

On white

1.37
#EFDC8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.27
#EFDC8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFDC8A
15.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFDC8A#FFFFFF#000000##000000
##EFDC8A1.001.3715.2715.27
#FFFFFF1.371.0021.0021.00
#00000015.2721.001.001.00
##00000015.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD884
Deuteranopia (green-blind)
#F0DF8D
Tritanopia (blue-blind)
#FDD1C8
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #efdc8a;
/* rgb */ color: rgb(239, 220, 138);
/* oklch */ color: oklch(89.2% 0.104 96.7);
Tailwind
colors: {
  custom: {
    50: '#f6e6ad',
    500: '#efdc8a',
    950: '#000000',
  },
}
SCSS
$custom: #efdc8a;
$custom-light: #f6e6ad;
$custom-dark: #000000;
JSON
{
  "hex": "#efdc8a",
  "rgb": {
    "r": 239,
    "g": 220,
    "b": 138
  },
  "hsl": {
    "h": 48.713,
    "s": 75.94,
    "l": 73.922
  },
  "oklch": {
    "l": 0.89212,
    "c": 0.10431,
    "h": 96.7
  },
  "luminance": 0.71372
}

Semantic roles & 50–950 ramp

primary
#EFDC8A
secondary
#5369CA
accent
#34D80D
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#171510
muted
#858481

Preview Lab

Preview with #EFDC8A

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

Preview Lab → · Contrast checker → · Palette generator →

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