#EFE987#EFE987

#EFE987 is a very light, vivid yellow. Relative luminance 0.784; OKLCH L 91.8% C 0.120 H 105.5°. Best body text is #000000 at 16.68:1 contrast (WCAG AA passes).

Color values

HEX#EFE987
RGBrgb(239, 233, 135)
HSLhsl(57, 76%, 73%)
HSVhsv(57, 44%, 94%)
CMYKcmyk(0%, 2.5%, 43.5%, 6.3%)
CIE-LABlab(90.95, -11.39, 48.18)
CIE-LCHlch(90.95, 49.51, 103.30°)
OKLaboklab(91.8% -0.0321 0.116)
OKLCHoklch(91.8% 0.12 105.5)
XYZxyz(69.1101, 78.3796, 34.4052)
Luminance0.7838 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFE987 #878DEF
analogous
#EFB587 #EFE987 #C1EF87
triadic
#EFE987 #87EFE9 #E987EF
tetradic
#EFE987 #87EFB5 #878DEF #EF87C1
square
#EFE987 #87EFB5 #878DEF #EF87C1
split-complementary
#EFE987 #87C1EF #B587EF
monochromatic
#DED31E #E8DF51 #EFE987 #F6F3BD #FBFAE4

Accessibility & contrast

On white

1.26
#EFE987 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.68
#EFE987 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFE987
16.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFE987#FFFFFF#000000##000000
##EFE9871.001.2616.6816.68
#FFFFFF1.261.0021.0021.00
#00000016.6821.001.001.00
##00000016.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E27F
Deuteranopia (green-blind)
#FBE78B
Tritanopia (blue-blind)
#FDDDD2
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #efe987;
/* rgb */ color: rgb(239, 233, 135);
/* oklch */ color: oklch(91.8% 0.120 105.5);
Tailwind
colors: {
  custom: {
    50: '#f6efab',
    500: '#efe987',
    950: '#000000',
  },
}
SCSS
$custom: #efe987;
$custom-light: #f6efab;
$custom-dark: #000000;
JSON
{
  "hex": "#efe987",
  "rgb": {
    "r": 239,
    "g": 233,
    "b": 135
  },
  "hsl": {
    "h": 56.538,
    "s": 76.471,
    "l": 73.333
  },
  "oklch": {
    "l": 0.91804,
    "c": 0.12038,
    "h": 105.5
  },
  "luminance": 0.78378
}

Semantic roles & 50–950 ramp

primary
#EFE987
secondary
#5057CA
accent
#19D90D
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#171610
muted
#858581

Preview Lab

Preview with #EFE987

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

Preview Lab → · Contrast checker → · Palette generator →

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