#EFE28A#EFE28A

#EFE28A is a very light, moderate yellow. Relative luminance 0.746; OKLCH L 90.4% C 0.110 H 101.0°. Best body text is #000000 at 15.92:1 contrast (WCAG AA passes).

Color values

HEX#EFE28A
RGBrgb(239, 226, 138)
HSLhsl(52, 76%, 74%)
HSVhsv(52, 42%, 94%)
CMYKcmyk(0%, 5.4%, 42.3%, 6.3%)
CIE-LABlab(89.20, -7.60, 44.52)
CIE-LCHlch(89.20, 45.16, 99.69°)
OKLaboklab(90.42% -0.0209 0.108)
OKLCHoklch(90.42% 0.11 101)
XYZxyz(67.3819, 74.5804, 34.8858)
Luminance0.7458 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFE28A #8A97EF
analogous
#EFB08A #EFE28A #CAEF8A
triadic
#EFE28A #8AEFE2 #E28AEF
tetradic
#EFE28A #8AEFB0 #8A97EF #EF8ACA
square
#EFE28A #8AEFB0 #8A97EF #EF8ACA
split-complementary
#EFE28A #8ACAEF #B08AEF
monochromatic
#E0C71F #E8D554 #EFE28A #F6EFC0 #FBF8E4

Accessibility & contrast

On white

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

On black

15.92
#EFE28A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFE28A
15.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFE28A#FFFFFF#000000##000000
##EFE28A1.001.3215.9215.92
#FFFFFF1.321.0021.0021.00
#00000015.9221.001.001.00
##00000015.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1DD83
Deuteranopia (green-blind)
#F5E38E
Tritanopia (blue-blind)
#FDD7CC
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #efe28a;
/* rgb */ color: rgb(239, 226, 138);
/* oklch */ color: oklch(90.4% 0.110 101.0);
Tailwind
colors: {
  custom: {
    50: '#f6eaad',
    500: '#efe28a',
    950: '#000000',
  },
}
SCSS
$custom: #efe28a;
$custom-light: #f6eaad;
$custom-dark: #000000;
JSON
{
  "hex": "#efe28a",
  "rgb": {
    "r": 239,
    "g": 226,
    "b": 138
  },
  "hsl": {
    "h": 52.277,
    "s": 75.94,
    "l": 73.922
  },
  "oklch": {
    "l": 0.90423,
    "c": 0.11,
    "h": 101
  },
  "luminance": 0.74578
}

Semantic roles & 50–950 ramp

primary
#EFE28A
secondary
#5362CA
accent
#27D80D
background
#FFFEFD
surface
#FFFDF7
border
#D7D5D0
text
#171610
muted
#858481

Preview Lab

Preview with #EFE28A

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

Preview Lab → · Contrast checker → · Palette generator →

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