#EFE78D#EFE78D

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

Color values

HEX#EFE78D
RGBrgb(239, 231, 141)
HSLhsl(55, 75%, 75%)
HSVhsv(55, 41%, 94%)
CMYKcmyk(0%, 3.3%, 41%, 6.3%)
CIE-LABlab(90.52, -9.80, 44.71)
CIE-LCHlch(90.52, 45.77, 102.36°)
OKLaboklab(91.48% -0.027 0.1086)
OKLCHoklch(91.48% 0.112 104)
XYZxyz(68.9815, 77.4274, 36.5054)
Luminance0.7743 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFE78D #8D95EF
analogous
#EFB68D #EFE78D #C6EF8D
triadic
#EFE78D #8DEFE7 #E78DEF
tetradic
#EFE78D #8DEFB6 #8D95EF #EF8DC6
square
#EFE78D #8DEFB6 #8D95EF #EF8DC6
split-complementary
#EFE78D #8DC6EF #B68DEF
monochromatic
#E0D022 #E7DC57 #EFE78D #F7F2C3 #FBF9E4

Accessibility & contrast

On white

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

On black

16.49
#EFE78D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFE78D
16.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFE78D#FFFFFF#000000##000000
##EFE78D1.001.2716.4916.49
#FFFFFF1.271.0021.0021.00
#00000016.4921.001.001.00
##00000016.4921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #efe78d;
/* rgb */ color: rgb(239, 231, 141);
/* oklch */ color: oklch(91.5% 0.112 104.0);
Tailwind
colors: {
  custom: {
    50: '#f6eeaf',
    500: '#efe78d',
    950: '#000000',
  },
}
SCSS
$custom: #efe78d;
$custom-light: #f6eeaf;
$custom-dark: #000000;
JSON
{
  "hex": "#efe78d",
  "rgb": {
    "r": 239,
    "g": 231,
    "b": 141
  },
  "hsl": {
    "h": 55.102,
    "s": 75.385,
    "l": 74.51
  },
  "oklch": {
    "l": 0.91484,
    "c": 0.11189,
    "h": 104
  },
  "luminance": 0.77426
}

Semantic roles & 50–950 ramp

primary
#EFE78D
secondary
#565FCB
accent
#1ED80E
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#171610
muted
#858581

Preview Lab

Preview with #EFE78D

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

Preview Lab → · Contrast checker → · Palette generator →

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