#EFE78A#EFE78A

#EFE78A is a very light, moderate yellow. Relative luminance 0.773; OKLCH L 91.4% C 0.115 H 104.1°. Best body text is #000000 at 16.47:1 contrast (WCAG AA passes).

Color values

HEX#EFE78A
RGBrgb(239, 231, 138)
HSLhsl(55, 76%, 74%)
HSVhsv(55, 42%, 94%)
CMYKcmyk(0%, 3.3%, 42.3%, 6.3%)
CIE-LABlab(90.48, -10.10, 46.13)
CIE-LCHlch(90.48, 47.22, 102.35°)
OKLaboklab(91.44% -0.0281 0.1116)
OKLCHoklch(91.44% 0.115 104.1)
XYZxyz(68.7613, 77.3394, 35.3457)
Luminance0.7734 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFE78A #8A92EF
analogous
#EFB58A #EFE78A #C5EF8A
triadic
#EFE78A #8AEFE7 #E78AEF
tetradic
#EFE78A #8AEFB5 #8A92EF #EF8AC5
square
#EFE78A #8AEFB5 #8A92EF #EF8AC5
split-complementary
#EFE78A #8AC5EF #B58AEF
monochromatic
#E0D11F #E8DC54 #EFE78A #F6F2C0 #FBF9E4

Accessibility & contrast

On white

1.28
#EFE78A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.47
#EFE78A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFE78A
16.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFE78A#FFFFFF#000000##000000
##EFE78A1.001.2816.4716.47
#FFFFFF1.281.0021.0021.00
#00000016.4721.001.001.00
##00000016.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6E183
Deuteranopia (green-blind)
#F9E68E
Tritanopia (blue-blind)
#FCDCD0
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #efe78a;
/* rgb */ color: rgb(239, 231, 138);
/* oklch */ color: oklch(91.4% 0.115 104.1);
Tailwind
colors: {
  custom: {
    50: '#f6eead',
    500: '#efe78a',
    950: '#000000',
  },
}
SCSS
$custom: #efe78a;
$custom-light: #f6eead;
$custom-dark: #000000;
JSON
{
  "hex": "#efe78a",
  "rgb": {
    "r": 239,
    "g": 231,
    "b": 138
  },
  "hsl": {
    "h": 55.248,
    "s": 75.94,
    "l": 73.922
  },
  "oklch": {
    "l": 0.91439,
    "c": 0.11511,
    "h": 104.1
  },
  "luminance": 0.77338
}

Semantic roles & 50–950 ramp

primary
#EFE78A
secondary
#535CCA
accent
#1DD80D
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#171610
muted
#858581

Preview Lab

Preview with #EFE78A

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

Preview Lab → · Contrast checker → · Palette generator →

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