#EFE158#EFE158

#EFE158 is a very light, vivid yellow. Relative luminance 0.729; OKLCH L 89.6% C 0.155 H 103.5°. Best body text is #000000 at 15.58:1 contrast (WCAG AA passes).

Color values

HEX#EFE158
RGBrgb(239, 225, 88)
HSLhsl(54, 83%, 64%)
HSVhsv(54, 63%, 94%)
CMYKcmyk(0%, 5.9%, 63.2%, 6.3%)
CIE-LABlab(88.40, -11.12, 66.47)
CIE-LCHlch(88.40, 67.40, 99.50°)
OKLaboklab(89.62% -0.0362 0.1509)
OKLCHoklch(89.62% 0.155 103.5)
XYZxyz(64.2857, 72.9082, 19.9171)
Luminance0.7291 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFE158 #5866EF
analogous
#EF9658 #EFE158 #B2EF58
triadic
#EFE158 #58EFE1 #E158EF
tetradic
#EFE158 #58EF96 #5866EF #EF58B2
square
#EFE158 #58EF96 #5866EF #EF58B2
split-complementary
#EFE158 #58B2EF #9658EF
monochromatic
#BBAB12 #EAD720 #EFE158 #F4EB90 #FAF5C8

Accessibility & contrast

On white

1.35
#EFE158 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.58
#EFE158 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFE158
15.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFE158#FFFFFF#000000##000000
##EFE1581.001.3515.5815.58
#FFFFFF1.351.0021.0021.00
#00000015.5821.001.001.00
##00000015.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DA47
Deuteranopia (green-blind)
#F8E160
Tritanopia (blue-blind)
#FFD2C4
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #efe158;
/* rgb */ color: rgb(239, 225, 88);
/* oklch */ color: oklch(89.6% 0.155 103.5);
Tailwind
colors: {
  custom: {
    50: '#f8ea8d',
    500: '#efe158',
    950: '#000000',
  },
}
SCSS
$custom: #efe158;
$custom-light: #f8ea8d;
$custom-dark: #000000;
JSON
{
  "hex": "#efe158",
  "rgb": {
    "r": 239,
    "g": 225,
    "b": 88
  },
  "hsl": {
    "h": 54.437,
    "s": 82.514,
    "l": 64.118
  },
  "oklch": {
    "l": 0.89621,
    "c": 0.15514,
    "h": 103.5
  },
  "luminance": 0.72906
}

Semantic roles & 50–950 ramp

primary
#EFE158
secondary
#323EBA
accent
#1BDF07
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #EFE158

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

Preview Lab → · Contrast checker → · Palette generator →

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