#EFE78C#EFE78C

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

Color values

HEX#EFE78C
RGBrgb(239, 231, 140)
HSLhsl(55, 76%, 74%)
HSVhsv(55, 41%, 94%)
CMYKcmyk(0%, 3.3%, 41.4%, 6.3%)
CIE-LABlab(90.50, -9.90, 45.18)
CIE-LCHlch(90.50, 46.26, 102.36°)
OKLaboklab(91.47% -0.0274 0.1096)
OKLCHoklch(91.47% 0.113 104)
XYZxyz(68.9075, 77.3978, 36.1153)
Luminance0.7740 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFE78C #8C94EF
analogous
#EFB68C #EFE78C #C5EF8C
triadic
#EFE78C #8CEFE7 #E78CEF
tetradic
#EFE78C #8CEFB6 #8C94EF #EF8CC5
square
#EFE78C #8CEFB6 #8C94EF #EF8CC5
split-complementary
#EFE78C #8CC5EF #B68CEF
monochromatic
#E0D121 #E8DC56 #EFE78C #F6F2C2 #FBF9E4

Accessibility & contrast

On white

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

On black

16.48
#EFE78C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFE78C
16.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFE78C#FFFFFF#000000##000000
##EFE78C1.001.2716.4816.48
#FFFFFF1.271.0021.0021.00
#00000016.4821.001.001.00
##00000016.4821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #efe78c;
/* rgb */ color: rgb(239, 231, 140);
/* oklch */ color: oklch(91.5% 0.113 104.0);
Tailwind
colors: {
  custom: {
    50: '#f6eeaf',
    500: '#efe78c',
    950: '#000000',
  },
}
SCSS
$custom: #efe78c;
$custom-light: #f6eeaf;
$custom-dark: #000000;
JSON
{
  "hex": "#efe78c",
  "rgb": {
    "r": 239,
    "g": 231,
    "b": 140
  },
  "hsl": {
    "h": 55.152,
    "s": 75.573,
    "l": 74.314
  },
  "oklch": {
    "l": 0.91469,
    "c": 0.11296,
    "h": 104
  },
  "luminance": 0.77396
}

Semantic roles & 50–950 ramp

primary
#EFE78C
secondary
#555ECB
accent
#1ED80E
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#171610
muted
#858581

Preview Lab

Preview with #EFE78C

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

Preview Lab → · Contrast checker → · Palette generator →

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