#EFE178#EFE178

#EFE178 is a very light, vivid yellow. Relative luminance 0.736; OKLCH L 90.0% C 0.127 H 101.8°. Best body text is #000000 at 15.71:1 contrast (WCAG AA passes).

Color values

HEX#EFE178
RGBrgb(239, 225, 120)
HSLhsl(53, 79%, 70%)
HSVhsv(53, 50%, 94%)
CMYKcmyk(0%, 5.9%, 49.8%, 6.3%)
CIE-LABlab(88.71, -8.78, 52.62)
CIE-LCHlch(88.71, 53.35, 99.48°)
OKLaboklab(89.97% -0.026 0.1248)
OKLCHoklch(89.97% 0.127 101.8)
XYZxyz(65.9139, 73.5594, 28.4920)
Luminance0.7356 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFE178 #7886EF
analogous
#EFA578 #EFE178 #C2EF78
triadic
#EFE178 #78EFE1 #E178EF
tetradic
#EFE178 #78EFA5 #7886EF #EF78C2
square
#EFE178 #78EFA5 #7886EF #EF78C2
split-complementary
#EFE178 #78C2EF #A578EF
monochromatic
#D4BE19 #E9D541 #EFE178 #F5EDAF #FCF9E4

Accessibility & contrast

On white

1.34
#EFE178 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.71
#EFE178 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFE178
15.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFE178#FFFFFF#000000##000000
##EFE1781.001.3415.7115.71
#FFFFFF1.341.0021.0021.00
#00000015.7121.001.001.00
##00000015.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DB6F
Deuteranopia (green-blind)
#F6E27D
Tritanopia (blue-blind)
#FED4C9
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #efe178;
/* rgb */ color: rgb(239, 225, 120);
/* oklch */ color: oklch(90.0% 0.127 101.8);
Tailwind
colors: {
  custom: {
    50: '#f6eaa1',
    500: '#efe178',
    950: '#000000',
  },
}
SCSS
$custom: #efe178;
$custom-light: #f6eaa1;
$custom-dark: #000000;
JSON
{
  "hex": "#efe178",
  "rgb": {
    "r": 239,
    "g": 225,
    "b": 120
  },
  "hsl": {
    "h": 52.941,
    "s": 78.808,
    "l": 70.392
  },
  "oklch": {
    "l": 0.89967,
    "c": 0.12744,
    "h": 101.8
  },
  "luminance": 0.73557
}

Semantic roles & 50–950 ramp

primary
#EFE178
secondary
#4352C9
accent
#23DB0A
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17160F
muted
#858480

Preview Lab

Preview with #EFE178

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

Preview Lab → · Contrast checker → · Palette generator →

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