#EFE781#EFE781

#EFE781 is a very light, vivid yellow. Relative luminance 0.771; OKLCH L 91.3% C 0.124 H 104.6°. Best body text is #000000 at 16.42:1 contrast (WCAG AA passes).

Color values

HEX#EFE781
RGBrgb(239, 231, 129)
HSLhsl(56, 77%, 72%)
HSVhsv(56, 46%, 94%)
CMYKcmyk(0%, 3.3%, 46%, 6.3%)
CIE-LABlab(90.36, -10.97, 50.34)
CIE-LCHlch(90.36, 51.52, 102.29°)
OKLaboklab(91.31% -0.0314 0.1204)
OKLCHoklch(91.31% 0.124 104.6)
XYZxyz(68.1366, 77.0895, 32.0551)
Luminance0.7709 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFE781 #8189EF
analogous
#EFB081 #EFE781 #C0EF81
triadic
#EFE781 #81EFE7 #E781EF
tetradic
#EFE781 #81EFB0 #8189EF #EF81C0
square
#EFE781 #81EFB0 #8189EF #EF81C0
split-complementary
#EFE781 #81C0EF #B081EF
monochromatic
#DACC1C #E8DD4B #EFE781 #F6F1B7 #FCFAE4

Accessibility & contrast

On white

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

On black

16.42
#EFE781 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFE781
16.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFE781#FFFFFF#000000##000000
##EFE7811.001.2816.4216.42
#FFFFFF1.281.0021.0021.00
#00000016.4221.001.001.00
##00000016.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7E078
Deuteranopia (green-blind)
#FAE686
Tritanopia (blue-blind)
#FDDBCF
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #efe781;
/* rgb */ color: rgb(239, 231, 129);
/* oklch */ color: oklch(91.3% 0.124 104.6);
Tailwind
colors: {
  custom: {
    50: '#f6eea7',
    500: '#efe781',
    950: '#000000',
  },
}
SCSS
$custom: #efe781;
$custom-light: #f6eea7;
$custom-dark: #000000;
JSON
{
  "hex": "#efe781",
  "rgb": {
    "r": 239,
    "g": 231,
    "b": 129
  },
  "hsl": {
    "h": 55.636,
    "s": 77.465,
    "l": 72.157
  },
  "oklch": {
    "l": 0.91311,
    "c": 0.12446,
    "h": 104.6
  },
  "luminance": 0.77088
}

Semantic roles & 50–950 ramp

primary
#EFE781
secondary
#4B54C9
accent
#1BDA0C
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#171610
muted
#858580

Preview Lab

Preview with #EFE781

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

Preview Lab → · Contrast checker → · Palette generator →

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