#EFE787#EFE787

#EFE787 is a very light, moderate yellow. Relative luminance 0.773; OKLCH L 91.4% C 0.118 H 104.3°. Best body text is #000000 at 16.45:1 contrast (WCAG AA passes).

Color values

HEX#EFE787
RGBrgb(239, 231, 135)
HSLhsl(55, 76%, 73%)
HSVhsv(55, 44%, 94%)
CMYKcmyk(0%, 3.3%, 43.5%, 6.3%)
CIE-LABlab(90.44, -10.40, 47.54)
CIE-LCHlch(90.44, 48.66, 102.34°)
OKLaboklab(91.4% -0.0292 0.1146)
OKLCHoklch(91.4% 0.118 104.3)
XYZxyz(68.5471, 77.2537, 34.2176)
Luminance0.7725 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFE787 #878FEF
analogous
#EFB387 #EFE787 #C3EF87
triadic
#EFE787 #87EFE7 #E787EF
tetradic
#EFE787 #87EFB3 #878FEF #EF87C3
square
#EFE787 #87EFB3 #878FEF #EF87C3
split-complementary
#EFE787 #87C3EF #B387EF
monochromatic
#DECF1E #E8DC51 #EFE787 #F6F2BD #FBFAE4

Accessibility & contrast

On white

1.28
#EFE787 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.45
#EFE787 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFE787
16.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFE787#FFFFFF#000000##000000
##EFE7871.001.2816.4516.45
#FFFFFF1.281.0021.0021.00
#00000016.4521.001.001.00
##00000016.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6E17F
Deuteranopia (green-blind)
#F9E68B
Tritanopia (blue-blind)
#FDDBD0
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #efe787;
/* rgb */ color: rgb(239, 231, 135);
/* oklch */ color: oklch(91.4% 0.118 104.3);
Tailwind
colors: {
  custom: {
    50: '#f6eeab',
    500: '#efe787',
    950: '#000000',
  },
}
SCSS
$custom: #efe787;
$custom-light: #f6eeab;
$custom-dark: #000000;
JSON
{
  "hex": "#efe787",
  "rgb": {
    "r": 239,
    "g": 231,
    "b": 135
  },
  "hsl": {
    "h": 55.385,
    "s": 76.471,
    "l": 73.333
  },
  "oklch": {
    "l": 0.91395,
    "c": 0.11827,
    "h": 104.3
  },
  "luminance": 0.77252
}

Semantic roles & 50–950 ramp

primary
#EFE787
secondary
#505ACA
accent
#1DD90D
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#171610
muted
#858581

Preview Lab

Preview with #EFE787

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

Preview Lab → · Contrast checker → · Palette generator →

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