#EFE381#EFE381

#EFE381 is a very light, vivid yellow. Relative luminance 0.749; OKLCH L 90.5% C 0.120 H 102.3°. Best body text is #000000 at 15.97:1 contrast (WCAG AA passes).

Color values

HEX#EFE381
RGBrgb(239, 227, 129)
HSLhsl(53, 77%, 72%)
HSVhsv(53, 46%, 94%)
CMYKcmyk(0%, 5%, 46%, 6.3%)
CIE-LABlab(89.33, -8.97, 49.08)
CIE-LCHlch(89.33, 49.89, 100.36°)
OKLaboklab(90.5% -0.0257 0.1176)
OKLCHoklch(90.5% 0.12 102.3)
XYZxyz(67.0298, 74.8759, 31.6862)
Luminance0.7487 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFE381 #818DEF
analogous
#EFAC81 #EFE381 #C4EF81
triadic
#EFE381 #81EFE3 #E381EF
tetradic
#EFE381 #81EFAC #818DEF #EF81C4
square
#EFE381 #81EFAC #818DEF #EF81C4
split-complementary
#EFE381 #81C4EF #AC81EF
monochromatic
#DAC51C #E8D74B #EFE381 #F6EFB7 #FCF9E4

Accessibility & contrast

On white

1.31
#EFE381 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.97
#EFE381 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFE381
15.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFE381#FFFFFF#000000##000000
##EFE3811.001.3115.9715.97
#FFFFFF1.311.0021.0021.00
#00000015.9721.001.001.00
##00000015.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DD79
Deuteranopia (green-blind)
#F7E385
Tritanopia (blue-blind)
#FDD7CC
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #efe381;
/* rgb */ color: rgb(239, 227, 129);
/* oklch */ color: oklch(90.5% 0.120 102.3);
Tailwind
colors: {
  custom: {
    50: '#f6eba7',
    500: '#efe381',
    950: '#000000',
  },
}
SCSS
$custom: #efe381;
$custom-light: #f6eba7;
$custom-dark: #000000;
JSON
{
  "hex": "#efe381",
  "rgb": {
    "r": 239,
    "g": 227,
    "b": 129
  },
  "hsl": {
    "h": 53.455,
    "s": 77.465,
    "l": 72.157
  },
  "oklch": {
    "l": 0.90495,
    "c": 0.12041,
    "h": 102.3
  },
  "luminance": 0.74874
}

Semantic roles & 50–950 ramp

primary
#EFE381
secondary
#4B59C9
accent
#22DA0C
background
#FFFEFC
surface
#FFFDF6
border
#D7D5D0
text
#171610
muted
#858480

Preview Lab

Preview with #EFE381

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

Preview Lab → · Contrast checker → · Palette generator →

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