#EFE771#EFE771

#EFE771 is a very light, vivid yellow. Relative luminance 0.767; OKLCH L 91.1% C 0.140 H 105.3°. Best body text is #000000 at 16.34:1 contrast (WCAG AA passes).

Color values

HEX#EFE771
RGBrgb(239, 231, 113)
HSLhsl(56, 80%, 69%)
HSVhsv(56, 53%, 94%)
CMYKcmyk(0%, 3.3%, 52.7%, 6.3%)
CIE-LABlab(90.18, -12.35, 57.60)
CIE-LCHlch(90.18, 58.91, 102.10°)
OKLaboklab(91.11% -0.037 0.135)
OKLCHoklch(91.11% 0.14 105.3)
XYZxyz(67.1551, 76.6969, 26.8861)
Luminance0.7670 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFE771 #7179EF
analogous
#EFA871 #EFE771 #B8EF71
triadic
#EFE771 #71EFE7 #E771EF
tetradic
#EFE771 #71EFA8 #7179EF #EF71B8
square
#EFE771 #71EFA8 #7179EF #EF71B8
split-complementary
#EFE771 #71B8EF #A871EF
monochromatic
#CEC317 #E9DE3A #EFE771 #F5F0A8 #FBFADF

Accessibility & contrast

On white

1.29
#EFE771 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.34
#EFE771 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFE771
16.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFE771#FFFFFF#000000##000000
##EFE7711.001.2916.3416.34
#FFFFFF1.291.0021.0021.00
#00000016.3421.001.001.00
##00000016.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E066
Deuteranopia (green-blind)
#FBE577
Tritanopia (blue-blind)
#FEDACC
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #efe771;
/* rgb */ color: rgb(239, 231, 113);
/* oklch */ color: oklch(91.1% 0.140 105.3);
Tailwind
colors: {
  custom: {
    50: '#f7ee9d',
    500: '#efe771',
    950: '#000000',
  },
}
SCSS
$custom: #efe771;
$custom-light: #f7ee9d;
$custom-dark: #000000;
JSON
{
  "hex": "#efe771",
  "rgb": {
    "r": 239,
    "g": 231,
    "b": 113
  },
  "hsl": {
    "h": 56.19,
    "s": 79.747,
    "l": 69.02
  },
  "oklch": {
    "l": 0.91109,
    "c": 0.13993,
    "h": 105.3
  },
  "luminance": 0.76695
}

Semantic roles & 50–950 ramp

primary
#EFE771
secondary
#3C45C8
accent
#17DC09
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#17160E
muted
#85847F

Preview Lab

Preview with #EFE771

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

Preview Lab → · Contrast checker → · Palette generator →

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