#EFEF98#EFEF98

#EFEF98 is a very light, moderate yellow. Relative luminance 0.824; OKLCH L 93.3% C 0.109 H 108.3°. Best body text is #000000 at 17.47:1 contrast (WCAG AA passes).

Color values

HEX#EFEF98
RGBrgb(239, 239, 152)
HSLhsl(60, 73%, 77%)
HSVhsv(60, 36%, 94%)
CMYKcmyk(0%, 0%, 36.4%, 6.3%)
CIE-LABlab(92.73, -12.59, 42.11)
CIE-LCHlch(92.73, 43.96, 106.65°)
OKLaboklab(93.29% -0.0342 0.1032)
OKLCHoklch(93.29% 0.109 108.3)
XYZxyz(72.1314, 82.3521, 41.7954)
Luminance0.8235 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFEF98 #9898EF
analogous
#EFC498 #EFEF98 #C4EF98
triadic
#EFEF98 #98EFEF #EF98EF
tetradic
#EFEF98 #98EFC4 #9898EF #EF98C4
square
#EFEF98 #98EFC4 #9898EF #EF98C4
split-complementary
#EFEF98 #98C4EF #C498EF
monochromatic
#DFDF2E #E7E763 #EFEF98 #F7F7CD #FBFBE5

Accessibility & contrast

On white

1.20
#EFEF98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.47
#EFEF98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFEF98
17.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFEF98#FFFFFF#000000##000000
##EFEF981.001.2017.4717.47
#FFFFFF1.201.0021.0021.00
#00000017.4721.001.001.00
##00000017.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE892
Deuteranopia (green-blind)
#FEEC9C
Tritanopia (blue-blind)
#FBE5D9
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #efef98;
/* rgb */ color: rgb(239, 239, 152);
/* oklch */ color: oklch(93.3% 0.109 108.3);
Tailwind
colors: {
  custom: {
    50: '#f5f4b7',
    500: '#efef98',
    950: '#000000',
  },
}
SCSS
$custom: #efef98;
$custom-light: #f5f4b7;
$custom-dark: #000000;
JSON
{
  "hex": "#efef98",
  "rgb": {
    "r": 239,
    "g": 239,
    "b": 152
  },
  "hsl": {
    "h": 60,
    "s": 73.109,
    "l": 76.667
  },
  "oklch": {
    "l": 0.93291,
    "c": 0.10872,
    "h": 108.3
  },
  "luminance": 0.82351
}

Semantic roles & 50–950 ramp

primary
#EFEF98
secondary
#6060CC
accent
#10D510
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171711
muted
#858581

Preview Lab

Preview with #EFEF98

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

Preview Lab → · Contrast checker → · Palette generator →

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