#EFE971#EFE971

#EFE971 is a very light, vivid yellow. Relative luminance 0.778; OKLCH L 91.5% C 0.142 H 106.3°. Best body text is #000000 at 16.56:1 contrast (WCAG AA passes).

Color values

HEX#EFE971
RGBrgb(239, 233, 113)
HSLhsl(57, 80%, 69%)
HSVhsv(57, 53%, 94%)
CMYKcmyk(0%, 2.5%, 52.7%, 6.3%)
CIE-LABlab(90.70, -13.34, 58.20)
CIE-LCHlch(90.70, 59.71, 102.91°)
OKLaboklab(91.52% -0.0398 0.1363)
OKLCHoklch(91.52% 0.142 106.3)
XYZxyz(67.7180, 77.8228, 27.0737)
Luminance0.7782 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFE971 #7177EF
analogous
#EFAA71 #EFE971 #B6EF71
triadic
#EFE971 #71EFE9 #E971EF
tetradic
#EFE971 #71EFAA #7177EF #EF71B6
square
#EFE971 #71EFAA #7177EF #EF71B6
split-complementary
#EFE971 #71B6EF #AA71EF
monochromatic
#CEC617 #E9E03A #EFE971 #F5F2A8 #FBFADF

Accessibility & contrast

On white

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

On black

16.56
#EFE971 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFE971
16.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFE971#FFFFFF#000000##000000
##EFE9711.001.2716.5616.56
#FFFFFF1.271.0021.0021.00
#00000016.5621.001.001.00
##00000016.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE165
Deuteranopia (green-blind)
#FDE777
Tritanopia (blue-blind)
#FEDCCE
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #efe971;
/* rgb */ color: rgb(239, 233, 113);
/* oklch */ color: oklch(91.5% 0.142 106.3);
Tailwind
colors: {
  custom: {
    50: '#f7ef9d',
    500: '#efe971',
    950: '#000000',
  },
}
SCSS
$custom: #efe971;
$custom-light: #f7ef9d;
$custom-dark: #000000;
JSON
{
  "hex": "#efe971",
  "rgb": {
    "r": 239,
    "g": 233,
    "b": 113
  },
  "hsl": {
    "h": 57.143,
    "s": 79.747,
    "l": 69.02
  },
  "oklch": {
    "l": 0.9152,
    "c": 0.14195,
    "h": 106.3
  },
  "luminance": 0.77821
}

Semantic roles & 50–950 ramp

primary
#EFE971
secondary
#3C43C8
accent
#13DC09
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17160E
muted
#85857F

Preview Lab

Preview with #EFE971

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

Preview Lab → · Contrast checker → · Palette generator →

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