#EFD789#EFD789

#EFD789 is a very light, moderate yellow. Relative luminance 0.688; OKLCH L 88.2% C 0.101 H 92.9°. Best body text is #000000 at 14.75:1 contrast (WCAG AA passes).

Color values

HEX#EFD789
RGBrgb(239, 215, 137)
HSLhsl(46, 76%, 74%)
HSVhsv(46, 43%, 94%)
CMYKcmyk(0%, 10%, 42.7%, 6.3%)
CIE-LABlab(86.39, -2.13, 41.45)
CIE-LCHlch(86.39, 41.51, 92.94°)
OKLaboklab(88.2% -0.0052 0.101)
OKLCHoklch(88.2% 0.101 92.9)
XYZxyz(64.4141, 68.7602, 33.5411)
Luminance0.6876 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFD789 #89A1EF
analogous
#EFA489 #EFD789 #D4EF89
triadic
#EFD789 #89EFD7 #D789EF
tetradic
#EFD789 #89EFA4 #89A1EF #EF89D4
square
#EFD789 #89EFA4 #89A1EF #EF89D4
split-complementary
#EFD789 #89D4EF #A489EF
monochromatic
#DFB21E #E8C553 #EFD789 #F6E9BF #FBF6E4

Accessibility & contrast

On white

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

On black

14.75
#EFD789 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFD789
14.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFD789#FFFFFF#000000##000000
##EFD7891.001.4214.7514.75
#FFFFFF1.421.0021.0021.00
#00000014.7521.001.001.00
##00000014.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D483
Deuteranopia (green-blind)
#EDDB8C
Tritanopia (blue-blind)
#FECCC4
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #efd789;
/* rgb */ color: rgb(239, 215, 137);
/* oklch */ color: oklch(88.2% 0.101 92.9);
Tailwind
colors: {
  custom: {
    50: '#f6e3ac',
    500: '#efd789',
    950: '#000000',
  },
}
SCSS
$custom: #efd789;
$custom-light: #f6e3ac;
$custom-dark: #000000;
JSON
{
  "hex": "#efd789",
  "rgb": {
    "r": 239,
    "g": 215,
    "b": 137
  },
  "hsl": {
    "h": 45.882,
    "s": 76.119,
    "l": 73.725
  },
  "oklch": {
    "l": 0.88195,
    "c": 0.10111,
    "h": 92.9
  },
  "luminance": 0.68758
}

Semantic roles & 50–950 ramp

primary
#EFD789
secondary
#526ECA
accent
#3DD80D
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#171510
muted
#858481

Preview Lab

Preview with #EFD789

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

Preview Lab → · Contrast checker → · Palette generator →

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