#EFE88C#EFE88C

#EFE88C is a very light, moderate yellow. Relative luminance 0.780; OKLCH L 91.7% C 0.114 H 104.6°. Best body text is #000000 at 16.59:1 contrast (WCAG AA passes).

Color values

HEX#EFE88C
RGBrgb(239, 232, 140)
HSLhsl(56, 76%, 74%)
HSVhsv(56, 41%, 94%)
CMYKcmyk(0%, 2.9%, 41.4%, 6.3%)
CIE-LABlab(90.76, -10.40, 45.51)
CIE-LCHlch(90.76, 46.68, 102.87°)
OKLaboklab(91.67% -0.0288 0.1103)
OKLCHoklch(91.67% 0.114 104.6)
XYZxyz(69.1881, 77.9592, 36.2088)
Luminance0.7796 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFE88C #8C93EF
analogous
#EFB78C #EFE88C #C4EF8C
triadic
#EFE88C #8CEFE8 #E88CEF
tetradic
#EFE88C #8CEFB7 #8C93EF #EF8CC4
square
#EFE88C #8CEFB7 #8C93EF #EF8CC4
split-complementary
#EFE88C #8CC4EF #B78CEF
monochromatic
#E0D321 #E8DD56 #EFE88C #F6F3C2 #FBFAE4

Accessibility & contrast

On white

1.27
#EFE88C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.59
#EFE88C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFE88C
16.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFE88C#FFFFFF#000000##000000
##EFE88C1.001.2716.5916.59
#FFFFFF1.271.0021.0021.00
#00000016.5921.001.001.00
##00000016.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7E285
Deuteranopia (green-blind)
#FAE790
Tritanopia (blue-blind)
#FCDDD2
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #efe88c;
/* rgb */ color: rgb(239, 232, 140);
/* oklch */ color: oklch(91.7% 0.114 104.6);
Tailwind
colors: {
  custom: {
    50: '#f6efaf',
    500: '#efe88c',
    950: '#000000',
  },
}
SCSS
$custom: #efe88c;
$custom-light: #f6efaf;
$custom-dark: #000000;
JSON
{
  "hex": "#efe88c",
  "rgb": {
    "r": 239,
    "g": 232,
    "b": 140
  },
  "hsl": {
    "h": 55.758,
    "s": 75.573,
    "l": 74.314
  },
  "oklch": {
    "l": 0.91673,
    "c": 0.11402,
    "h": 104.6
  },
  "luminance": 0.77957
}

Semantic roles & 50–950 ramp

primary
#EFE88C
secondary
#555DCB
accent
#1CD80E
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#171610
muted
#858581

Preview Lab

Preview with #EFE88C

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

Preview Lab → · Contrast checker → · Palette generator →

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