#EFE871#EFE871

#EFE871 is a very light, vivid yellow. Relative luminance 0.773; OKLCH L 91.3% C 0.141 H 105.8°. Best body text is #000000 at 16.45:1 contrast (WCAG AA passes).

Color values

HEX#EFE871
RGBrgb(239, 232, 113)
HSLhsl(57, 80%, 69%)
HSVhsv(57, 53%, 94%)
CMYKcmyk(0%, 2.9%, 52.7%, 6.3%)
CIE-LABlab(90.44, -12.84, 57.90)
CIE-LCHlch(90.44, 59.31, 102.51°)
OKLaboklab(91.31% -0.0384 0.1356)
OKLCHoklch(91.31% 0.141 105.8)
XYZxyz(67.4358, 77.2582, 26.9796)
Luminance0.7726 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFE871 #7178EF
analogous
#EFA971 #EFE871 #B7EF71
triadic
#EFE871 #71EFE8 #E871EF
tetradic
#EFE871 #71EFA9 #7178EF #EF71B7
square
#EFE871 #71EFA9 #7178EF #EF71B7
split-complementary
#EFE871 #71B7EF #A971EF
monochromatic
#CEC417 #E9DF3A #EFE871 #F5F1A8 #FBFADF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EFE871#FFFFFF#000000##000000
##EFE8711.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)
#F9E166
Deuteranopia (green-blind)
#FCE677
Tritanopia (blue-blind)
#FEDBCD
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #efe871;
/* rgb */ color: rgb(239, 232, 113);
/* oklch */ color: oklch(91.3% 0.141 105.8);
Tailwind
colors: {
  custom: {
    50: '#f7ef9d',
    500: '#efe871',
    950: '#000000',
  },
}
SCSS
$custom: #efe871;
$custom-light: #f7ef9d;
$custom-dark: #000000;
JSON
{
  "hex": "#efe871",
  "rgb": {
    "r": 239,
    "g": 232,
    "b": 113
  },
  "hsl": {
    "h": 56.667,
    "s": 79.747,
    "l": 69.02
  },
  "oklch": {
    "l": 0.91314,
    "c": 0.14094,
    "h": 105.8
  },
  "luminance": 0.77256
}

Semantic roles & 50–950 ramp

primary
#EFE871
secondary
#3C44C8
accent
#15DC09
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17160E
muted
#85857F

Preview Lab

Preview with #EFE871

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

Preview Lab → · Contrast checker → · Palette generator →

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