#EFE254#EFE254

#EFE254 is a very light, vivid yellow. Relative luminance 0.734; OKLCH L 89.8% C 0.159 H 104.1°. Best body text is #000000 at 15.68:1 contrast (WCAG AA passes).

Color values

HEX#EFE254
RGBrgb(239, 226, 84)
HSLhsl(55, 83%, 63%)
HSVhsv(55, 65%, 94%)
CMYKcmyk(0%, 5.4%, 64.9%, 6.3%)
CIE-LABlab(88.63, -11.85, 68.33)
CIE-LCHlch(88.63, 69.35, 99.84°)
OKLaboklab(89.79% -0.0387 0.1542)
OKLCHoklch(89.79% 0.159 104.1)
XYZxyz(64.3957, 73.3860, 19.1586)
Luminance0.7338 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFE254 #5461EF
analogous
#EF9454 #EFE254 #AEEF54
triadic
#EFE254 #54EFE2 #E254EF
tetradic
#EFE254 #54EF94 #5461EF #EF54AE
square
#EFE254 #54EF94 #5461EF #EF54AE
split-complementary
#EFE254 #54AEEF #9454EF
monochromatic
#B7A911 #EAD91C #EFE254 #F4EB8C #F9F5C4

Accessibility & contrast

On white

1.34
#EFE254 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.68
#EFE254 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFE254
15.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFE254#FFFFFF#000000##000000
##EFE2541.001.3415.6815.68
#FFFFFF1.341.0021.0021.00
#00000015.6821.001.001.00
##00000015.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DB41
Deuteranopia (green-blind)
#F9E25D
Tritanopia (blue-blind)
#FFD3C5
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #efe254;
/* rgb */ color: rgb(239, 226, 84);
/* oklch */ color: oklch(89.8% 0.159 104.1);
Tailwind
colors: {
  custom: {
    50: '#f8ea8b',
    500: '#efe254',
    950: '#000000',
  },
}
SCSS
$custom: #efe254;
$custom-light: #f8ea8b;
$custom-dark: #000000;
JSON
{
  "hex": "#efe254",
  "rgb": {
    "r": 239,
    "g": 226,
    "b": 84
  },
  "hsl": {
    "h": 54.968,
    "s": 82.888,
    "l": 63.333
  },
  "oklch": {
    "l": 0.89793,
    "c": 0.15896,
    "h": 104.1
  },
  "luminance": 0.73384
}

Semantic roles & 50–950 ramp

primary
#EFE254
secondary
#313CB7
accent
#18DF06
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#18160C
muted
#86847F

Preview Lab

Preview with #EFE254

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

Preview Lab → · Contrast checker → · Palette generator →

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