#EFEF8E#EFEF8E

#EFEF8E is a very light, moderate yellow. Relative luminance 0.820; OKLCH L 93.1% C 0.120 H 108.5°. Best body text is #000000 at 17.41:1 contrast (WCAG AA passes).

Color values

HEX#EFEF8E
RGBrgb(239, 239, 142)
HSLhsl(60, 75%, 75%)
HSVhsv(60, 41%, 94%)
CMYKcmyk(0%, 0%, 40.6%, 6.3%)
CIE-LABlab(92.59, -13.66, 46.83)
CIE-LCHlch(92.59, 48.78, 106.26°)
OKLaboklab(93.14% -0.038 0.1134)
OKLCHoklch(93.14% 0.12 108.5)
XYZxyz(71.3467, 82.0382, 37.6625)
Luminance0.8204 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFEF8E #8E8EEF
analogous
#EFBF8E #EFEF8E #BFEF8E
triadic
#EFEF8E #8EEFEF #EF8EEF
tetradic
#EFEF8E #8EEFBF #8E8EEF #EF8EBF
square
#EFEF8E #8EEFBF #8E8EEF #EF8EBF
split-complementary
#EFEF8E #8EBFEF #BF8EEF
monochromatic
#E0E023 #E7E758 #EFEF8E #F7F7C4 #FBFBE4

Accessibility & contrast

On white

1.21
#EFEF8E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.41
#EFEF8E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFEF8E
17.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFEF8E#FFFFFF#000000##000000
##EFEF8E1.001.2117.4117.41
#FFFFFF1.211.0021.0021.00
#00000017.4121.001.001.00
##00000017.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE886
Deuteranopia (green-blind)
#FFEC92
Tritanopia (blue-blind)
#FCE4D7
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #efef8e;
/* rgb */ color: rgb(239, 239, 142);
/* oklch */ color: oklch(93.1% 0.120 108.5);
Tailwind
colors: {
  custom: {
    50: '#f6f4b0',
    500: '#efef8e',
    950: '#000000',
  },
}
SCSS
$custom: #efef8e;
$custom-light: #f6f4b0;
$custom-dark: #000000;
JSON
{
  "hex": "#efef8e",
  "rgb": {
    "r": 239,
    "g": 239,
    "b": 142
  },
  "hsl": {
    "h": 60,
    "s": 75.194,
    "l": 74.706
  },
  "oklch": {
    "l": 0.93136,
    "c": 0.11962,
    "h": 108.5
  },
  "luminance": 0.82037
}

Semantic roles & 50–950 ramp

primary
#EFEF8E
secondary
#5656CB
accent
#0ED70E
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#171711
muted
#858581

Preview Lab

Preview with #EFEF8E

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

Preview Lab → · Contrast checker → · Palette generator →

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