#EFE28F#EFE28F

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

Color values

HEX#EFE28F
RGBrgb(239, 226, 143)
HSLhsl(52, 75%, 75%)
HSVhsv(52, 40%, 94%)
CMYKcmyk(0%, 5.4%, 40.2%, 6.3%)
CIE-LABlab(89.27, -7.08, 42.13)
CIE-LCHlch(89.27, 42.72, 99.54°)
OKLaboklab(90.5% -0.019 0.1028)
OKLCHoklch(90.5% 0.105 100.5)
XYZxyz(67.7522, 74.7286, 36.8364)
Luminance0.7473 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFE28F #8F9CEF
analogous
#EFB28F #EFE28F #CCEF8F
triadic
#EFE28F #8FEFE2 #E28FEF
tetradic
#EFE28F #8FEFB2 #8F9CEF #EF8FCC
square
#EFE28F #8FEFB2 #8F9CEF #EF8FCC
split-complementary
#EFE28F #8FCCEF #B28FEF
monochromatic
#E0C624 #E7D459 #EFE28F #F7F0C5 #FBF8E4

Accessibility & contrast

On white

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

On black

15.95
#EFE28F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFE28F
15.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFE28F#FFFFFF#000000##000000
##EFE28F1.001.3215.9515.95
#FFFFFF1.321.0021.0021.00
#00000015.9521.001.001.00
##00000015.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #efe28f;
/* rgb */ color: rgb(239, 226, 143);
/* oklch */ color: oklch(90.5% 0.105 100.5);
Tailwind
colors: {
  custom: {
    50: '#f6ebb1',
    500: '#efe28f',
    950: '#000000',
  },
}
SCSS
$custom: #efe28f;
$custom-light: #f6ebb1;
$custom-dark: #000000;
JSON
{
  "hex": "#efe28f",
  "rgb": {
    "r": 239,
    "g": 226,
    "b": 143
  },
  "hsl": {
    "h": 51.875,
    "s": 75,
    "l": 74.902
  },
  "oklch": {
    "l": 0.90501,
    "c": 0.10457,
    "h": 100.5
  },
  "luminance": 0.74727
}

Semantic roles & 50–950 ramp

primary
#EFE28F
secondary
#5767CB
accent
#2AD70E
background
#FFFEFD
surface
#FFFDF7
border
#D7D5D0
text
#171611
muted
#858481

Preview Lab

Preview with #EFE28F

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

Preview Lab → · Contrast checker → · Palette generator →

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