#EFE28C#EFE28C

#EFE28C is a very light, moderate yellow. Relative luminance 0.746; OKLCH L 90.5% C 0.108 H 100.8°. Best body text is #000000 at 15.93:1 contrast (WCAG AA passes).

Color values

HEX#EFE28C
RGBrgb(239, 226, 140)
HSLhsl(52, 76%, 74%)
HSVhsv(52, 41%, 94%)
CMYKcmyk(0%, 5.4%, 41.4%, 6.3%)
CIE-LABlab(89.22, -7.40, 43.57)
CIE-LCHlch(89.22, 44.19, 99.63°)
OKLaboklab(90.45% -0.0201 0.1059)
OKLCHoklch(90.45% 0.108 100.8)
XYZxyz(67.5280, 74.6389, 35.6555)
Luminance0.7464 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFE28C #8C99EF
analogous
#EFB18C #EFE28C #CBEF8C
triadic
#EFE28C #8CEFE2 #E28CEF
tetradic
#EFE28C #8CEFB1 #8C99EF #EF8CCB
square
#EFE28C #8CEFB1 #8C99EF #EF8CCB
split-complementary
#EFE28C #8CCBEF #B18CEF
monochromatic
#E0C721 #E8D456 #EFE28C #F6F0C2 #FBF8E4

Accessibility & contrast

On white

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

On black

15.93
#EFE28C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFE28C
15.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFE28C#FFFFFF#000000##000000
##EFE28C1.001.3215.9315.93
#FFFFFF1.321.0021.0021.00
#00000015.9321.001.001.00
##00000015.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1DD85
Deuteranopia (green-blind)
#F5E38F
Tritanopia (blue-blind)
#FDD7CD
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #efe28c;
/* rgb */ color: rgb(239, 226, 140);
/* oklch */ color: oklch(90.5% 0.108 100.8);
Tailwind
colors: {
  custom: {
    50: '#f6eaaf',
    500: '#efe28c',
    950: '#000000',
  },
}
SCSS
$custom: #efe28c;
$custom-light: #f6eaaf;
$custom-dark: #000000;
JSON
{
  "hex": "#efe28c",
  "rgb": {
    "r": 239,
    "g": 226,
    "b": 140
  },
  "hsl": {
    "h": 52.121,
    "s": 75.573,
    "l": 74.314
  },
  "oklch": {
    "l": 0.90454,
    "c": 0.10784,
    "h": 100.8
  },
  "luminance": 0.74637
}

Semantic roles & 50–950 ramp

primary
#EFE28C
secondary
#5564CB
accent
#28D80E
background
#FFFEFD
surface
#FFFDF7
border
#D7D5D0
text
#171610
muted
#858481

Preview Lab

Preview with #EFE28C

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

Preview Lab → · Contrast checker → · Palette generator →

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