#EFE87A#EFE87A

#EFE87A is a very light, vivid yellow. Relative luminance 0.775; OKLCH L 91.4% C 0.132 H 105.5°. Best body text is #000000 at 16.49:1 contrast (WCAG AA passes).

Color values

HEX#EFE87A
RGBrgb(239, 232, 122)
HSLhsl(56, 79%, 71%)
HSVhsv(56, 49%, 94%)
CMYKcmyk(0%, 2.9%, 49%, 6.3%)
CIE-LABlab(90.54, -12.09, 53.86)
CIE-LCHlch(90.54, 55.20, 102.66°)
OKLaboklab(91.42% -0.0353 0.1277)
OKLCHoklch(91.42% 0.132 105.5)
XYZxyz(67.9678, 77.4710, 29.7817)
Luminance0.7747 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFE87A #7A81EF
analogous
#EFAD7A #EFE87A #BBEF7A
triadic
#EFE87A #7AEFE8 #E87AEF
tetradic
#EFE87A #7AEFAD #7A81EF #EF7ABB
square
#EFE87A #7AEFAD #7A81EF #EF7ABB
split-complementary
#EFE87A #7ABBEF #AD7AEF
monochromatic
#D5CA1A #E8DF43 #EFE87A #F6F1B1 #FCFAE4

Accessibility & contrast

On white

1.27
#EFE87A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.49
#EFE87A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFE87A
16.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFE87A#FFFFFF#000000##000000
##EFE87A1.001.2716.4916.49
#FFFFFF1.271.0021.0021.00
#00000016.4921.001.001.00
##00000016.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E170
Deuteranopia (green-blind)
#FBE67F
Tritanopia (blue-blind)
#FEDCCF
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #efe87a;
/* rgb */ color: rgb(239, 232, 122);
/* oklch */ color: oklch(91.4% 0.132 105.5);
Tailwind
colors: {
  custom: {
    50: '#f6efa3',
    500: '#efe87a',
    950: '#000000',
  },
}
SCSS
$custom: #efe87a;
$custom-light: #f6efa3;
$custom-dark: #000000;
JSON
{
  "hex": "#efe87a",
  "rgb": {
    "r": 239,
    "g": 232,
    "b": 122
  },
  "hsl": {
    "h": 56.41,
    "s": 78.523,
    "l": 70.784
  },
  "oklch": {
    "l": 0.91423,
    "c": 0.13245,
    "h": 105.5
  },
  "luminance": 0.77469
}

Semantic roles & 50–950 ramp

primary
#EFE87A
secondary
#444CC9
accent
#17DB0B
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#17160F
muted
#858580

Preview Lab

Preview with #EFE87A

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

Preview Lab → · Contrast checker → · Palette generator →

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