#EFE28E#EFE28E

#EFE28E is a very light, moderate yellow. Relative luminance 0.747; OKLCH L 90.5% C 0.106 H 100.6°. Best body text is #000000 at 15.94:1 contrast (WCAG AA passes).

Color values

HEX#EFE28E
RGBrgb(239, 226, 142)
HSLhsl(52, 75%, 75%)
HSVhsv(52, 41%, 94%)
CMYKcmyk(0%, 5.4%, 40.6%, 6.3%)
CIE-LABlab(89.25, -7.19, 42.61)
CIE-LCHlch(89.25, 43.21, 99.58°)
OKLaboklab(90.49% -0.0194 0.1039)
OKLCHoklch(90.49% 0.106 100.6)
XYZxyz(67.6768, 74.6984, 36.4392)
Luminance0.7470 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFE28E #8E9BEF
analogous
#EFB28E #EFE28E #CBEF8E
triadic
#EFE28E #8EEFE2 #E28EEF
tetradic
#EFE28E #8EEFB2 #8E9BEF #EF8ECB
square
#EFE28E #8EEFB2 #8E9BEF #EF8ECB
split-complementary
#EFE28E #8ECBEF #B28EEF
monochromatic
#E0C623 #E7D458 #EFE28E #F7F0C4 #FBF8E4

Accessibility & contrast

On white

1.32
#EFE28E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.94
#EFE28E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFE28E
15.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFE28E#FFFFFF#000000##000000
##EFE28E1.001.3215.9415.94
#FFFFFF1.321.0021.0021.00
#00000015.9421.001.001.00
##00000015.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1DD88
Deuteranopia (green-blind)
#F5E391
Tritanopia (blue-blind)
#FCD7CD
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #efe28e;
/* rgb */ color: rgb(239, 226, 142);
/* oklch */ color: oklch(90.5% 0.106 100.6);
Tailwind
colors: {
  custom: {
    50: '#f6ebb0',
    500: '#efe28e',
    950: '#000000',
  },
}
SCSS
$custom: #efe28e;
$custom-light: #f6ebb0;
$custom-dark: #000000;
JSON
{
  "hex": "#efe28e",
  "rgb": {
    "r": 239,
    "g": 226,
    "b": 142
  },
  "hsl": {
    "h": 51.959,
    "s": 75.194,
    "l": 74.706
  },
  "oklch": {
    "l": 0.90485,
    "c": 0.10566,
    "h": 100.6
  },
  "luminance": 0.74696
}

Semantic roles & 50–950 ramp

primary
#EFE28E
secondary
#5666CB
accent
#29D70E
background
#FFFEFD
surface
#FFFDF7
border
#D7D5D0
text
#171610
muted
#858481

Preview Lab

Preview with #EFE28E

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

Preview Lab → · Contrast checker → · Palette generator →

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