#EFE478#EFE478

#EFE478 is a very light, vivid yellow. Relative luminance 0.752; OKLCH L 90.6% C 0.130 H 103.4°. Best body text is #000000 at 16.04:1 contrast (WCAG AA passes).

Color values

HEX#EFE478
RGBrgb(239, 228, 120)
HSLhsl(54, 79%, 70%)
HSVhsv(54, 50%, 94%)
CMYKcmyk(0%, 4.6%, 49.8%, 6.3%)
CIE-LABlab(89.48, -10.28, 53.54)
CIE-LCHlch(89.48, 54.52, 100.87°)
OKLaboklab(90.58% -0.0303 0.1268)
OKLCHoklch(90.58% 0.13 103.4)
XYZxyz(66.7320, 75.1957, 28.7647)
Luminance0.7519 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFE478 #7883EF
analogous
#EFA878 #EFE478 #BEEF78
triadic
#EFE478 #78EFE4 #E478EF
tetradic
#EFE478 #78EFA8 #7883EF #EF78BE
square
#EFE478 #78EFA8 #7883EF #EF78BE
split-complementary
#EFE478 #78BEEF #A878EF
monochromatic
#D4C219 #E9D941 #EFE478 #F5EFAF #FCFAE4

Accessibility & contrast

On white

1.31
#EFE478 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.04
#EFE478 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFE478
16.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFE478#FFFFFF#000000##000000
##EFE4781.001.3116.0416.04
#FFFFFF1.311.0021.0021.00
#00000016.0421.001.001.00
##00000016.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DE6E
Deuteranopia (green-blind)
#F8E47D
Tritanopia (blue-blind)
#FED7CB
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #efe478;
/* rgb */ color: rgb(239, 228, 120);
/* oklch */ color: oklch(90.6% 0.130 103.4);
Tailwind
colors: {
  custom: {
    50: '#f6eca1',
    500: '#efe478',
    950: '#000000',
  },
}
SCSS
$custom: #efe478;
$custom-light: #f6eca1;
$custom-dark: #000000;
JSON
{
  "hex": "#efe478",
  "rgb": {
    "r": 239,
    "g": 228,
    "b": 120
  },
  "hsl": {
    "h": 54.454,
    "s": 78.808,
    "l": 70.392
  },
  "oklch": {
    "l": 0.90579,
    "c": 0.13036,
    "h": 103.4
  },
  "luminance": 0.75194
}

Semantic roles & 50–950 ramp

primary
#EFE478
secondary
#434FC9
accent
#1EDB0A
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#17160F
muted
#858480

Preview Lab

Preview with #EFE478

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

Preview Lab → · Contrast checker → · Palette generator →

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