#EFEF8F#EFEF8F

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

Color values

HEX#EFEF8F
RGBrgb(239, 239, 143)
HSLhsl(60, 75%, 75%)
HSVhsv(60, 40%, 94%)
CMYKcmyk(0%, 0%, 40.2%, 6.3%)
CIE-LABlab(92.61, -13.55, 46.37)
CIE-LCHlch(92.61, 48.31, 106.30°)
OKLaboklab(93.15% -0.0376 0.1124)
OKLCHoklch(93.15% 0.119 108.5)
XYZxyz(71.4221, 82.0684, 38.0597)
Luminance0.8207 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFEF8F #8F8FEF
analogous
#EFBF8F #EFEF8F #BFEF8F
triadic
#EFEF8F #8FEFEF #EF8FEF
tetradic
#EFEF8F #8FEFBF #8F8FEF #EF8FBF
square
#EFEF8F #8FEFBF #8F8FEF #EF8FBF
split-complementary
#EFEF8F #8FBFEF #BF8FEF
monochromatic
#E0E024 #E7E759 #EFEF8F #F7F7C5 #FBFBE4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EFEF8F#FFFFFF#000000##000000
##EFEF8F1.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)
#FDE887
Deuteranopia (green-blind)
#FFEC93
Tritanopia (blue-blind)
#FBE4D8
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #efef8f;
/* rgb */ color: rgb(239, 239, 143);
/* oklch */ color: oklch(93.2% 0.119 108.5);
Tailwind
colors: {
  custom: {
    50: '#f6f4b1',
    500: '#efef8f',
    950: '#000000',
  },
}
SCSS
$custom: #efef8f;
$custom-light: #f6f4b1;
$custom-dark: #000000;
JSON
{
  "hex": "#efef8f",
  "rgb": {
    "r": 239,
    "g": 239,
    "b": 143
  },
  "hsl": {
    "h": 60,
    "s": 75,
    "l": 74.902
  },
  "oklch": {
    "l": 0.93151,
    "c": 0.11855,
    "h": 108.5
  },
  "luminance": 0.82067
}

Semantic roles & 50–950 ramp

primary
#EFEF8F
secondary
#5757CB
accent
#0ED70E
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171711
muted
#858581

Preview Lab

Preview with #EFEF8F

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

Preview Lab → · Contrast checker → · Palette generator →

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