#EFD989#EFD989

#EFD989 is a very light, moderate yellow. Relative luminance 0.698; OKLCH L 88.6% C 0.103 H 94.5°. Best body text is #000000 at 14.96:1 contrast (WCAG AA passes).

Color values

HEX#EFD989
RGBrgb(239, 217, 137)
HSLhsl(47, 76%, 74%)
HSVhsv(47, 43%, 94%)
CMYKcmyk(0%, 9.2%, 42.7%, 6.3%)
CIE-LABlab(86.89, -3.15, 42.10)
CIE-LCHlch(86.89, 42.21, 94.28°)
OKLaboklab(88.6% -0.0081 0.1025)
OKLCHoklch(88.6% 0.103 94.5)
XYZxyz(64.9265, 69.7849, 33.7119)
Luminance0.6978 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFD989 #899FEF
analogous
#EFA689 #EFD989 #D2EF89
triadic
#EFD989 #89EFD9 #D989EF
tetradic
#EFD989 #89EFA6 #899FEF #EF89D2
square
#EFD989 #89EFA6 #899FEF #EF89D2
split-complementary
#EFD989 #89D2EF #A689EF
monochromatic
#DFB61E #E8C853 #EFD989 #F6EABF #FBF6E4

Accessibility & contrast

On white

1.40
#EFD989 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.96
#EFD989 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFD989
14.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFD989#FFFFFF#000000##000000
##EFD9891.001.4014.9614.96
#FFFFFF1.401.0021.0021.00
#00000014.9621.001.001.00
##00000014.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D683
Deuteranopia (green-blind)
#EEDD8C
Tritanopia (blue-blind)
#FDCEC5
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #efd989;
/* rgb */ color: rgb(239, 217, 137);
/* oklch */ color: oklch(88.6% 0.103 94.5);
Tailwind
colors: {
  custom: {
    50: '#f6e4ac',
    500: '#efd989',
    950: '#000000',
  },
}
SCSS
$custom: #efd989;
$custom-light: #f6e4ac;
$custom-dark: #000000;
JSON
{
  "hex": "#efd989",
  "rgb": {
    "r": 239,
    "g": 217,
    "b": 137
  },
  "hsl": {
    "h": 47.059,
    "s": 76.119,
    "l": 73.725
  },
  "oklch": {
    "l": 0.88595,
    "c": 0.10277,
    "h": 94.5
  },
  "luminance": 0.69783
}

Semantic roles & 50–950 ramp

primary
#EFD989
secondary
#526CCA
accent
#39D80D
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#171510
muted
#858481

Preview Lab

Preview with #EFD989

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

Preview Lab → · Contrast checker → · Palette generator →

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