#EFE78B#EFE78B

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

Color values

HEX#EFE78B
RGBrgb(239, 231, 139)
HSLhsl(55, 76%, 74%)
HSVhsv(55, 42%, 94%)
CMYKcmyk(0%, 3.3%, 41.8%, 6.3%)
CIE-LABlab(90.49, -10.00, 45.66)
CIE-LCHlch(90.49, 46.74, 102.35°)
OKLaboklab(91.45% -0.0277 0.1106)
OKLCHoklch(91.45% 0.114 104.1)
XYZxyz(68.8341, 77.3685, 35.7287)
Luminance0.7737 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFE78B #8B93EF
analogous
#EFB58B #EFE78B #C5EF8B
triadic
#EFE78B #8BEFE7 #E78BEF
tetradic
#EFE78B #8BEFB5 #8B93EF #EF8BC5
square
#EFE78B #8BEFB5 #8B93EF #EF8BC5
split-complementary
#EFE78B #8BC5EF #B58BEF
monochromatic
#E0D11F #E8DC55 #EFE78B #F6F2C1 #FBF9E4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EFE78B#FFFFFF#000000##000000
##EFE78B1.001.2716.4716.47
#FFFFFF1.271.0021.0021.00
#00000016.4721.001.001.00
##00000016.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6E184
Deuteranopia (green-blind)
#F9E68F
Tritanopia (blue-blind)
#FCDCD1
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #efe78b;
/* rgb */ color: rgb(239, 231, 139);
/* oklch */ color: oklch(91.5% 0.114 104.1);
Tailwind
colors: {
  custom: {
    50: '#f6eeae',
    500: '#efe78b',
    950: '#000000',
  },
}
SCSS
$custom: #efe78b;
$custom-light: #f6eeae;
$custom-dark: #000000;
JSON
{
  "hex": "#efe78b",
  "rgb": {
    "r": 239,
    "g": 231,
    "b": 139
  },
  "hsl": {
    "h": 55.2,
    "s": 75.758,
    "l": 74.118
  },
  "oklch": {
    "l": 0.91454,
    "c": 0.11404,
    "h": 104.1
  },
  "luminance": 0.77367
}

Semantic roles & 50–950 ramp

primary
#EFE78B
secondary
#545DCA
accent
#1ED80E
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#171610
muted
#858581

Preview Lab

Preview with #EFE78B

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

Preview Lab → · Contrast checker → · Palette generator →

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