#EFE998#EFE998

#EFE998 is a very light, moderate yellow. Relative luminance 0.789; OKLCH L 92.1% C 0.102 H 104.6°. Best body text is #000000 at 16.78:1 contrast (WCAG AA passes).

Color values

HEX#EFE998
RGBrgb(239, 233, 152)
HSLhsl(56, 73%, 77%)
HSVhsv(56, 36%, 94%)
CMYKcmyk(0%, 2.5%, 36.4%, 6.3%)
CIE-LABlab(91.19, -9.62, 40.13)
CIE-LCHlch(91.19, 41.26, 103.48°)
OKLaboklab(92.07% -0.0256 0.0986)
OKLCHoklch(92.07% 0.102 104.6)
XYZxyz(70.4040, 78.8972, 41.2196)
Luminance0.7890 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFE998 #989EEF
analogous
#EFBE98 #EFE998 #CAEF98
triadic
#EFE998 #98EFE9 #E998EF
tetradic
#EFE998 #98EFBE #989EEF #EF98CA
square
#EFE998 #98EFBE #989EEF #EF98CA
split-complementary
#EFE998 #98CAEF #BE98EF
monochromatic
#DFD22E #E7DE63 #EFE998 #F7F4CD #FBF9E5

Accessibility & contrast

On white

1.25
#EFE998 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.78
#EFE998 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFE998
16.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFE998#FFFFFF#000000##000000
##EFE9981.001.2516.7816.78
#FFFFFF1.251.0021.0021.00
#00000016.7821.001.001.00
##00000016.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6E392
Deuteranopia (green-blind)
#F9E89B
Tritanopia (blue-blind)
#FBDFD5
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #efe998;
/* rgb */ color: rgb(239, 233, 152);
/* oklch */ color: oklch(92.1% 0.102 104.6);
Tailwind
colors: {
  custom: {
    50: '#f5efb7',
    500: '#efe998',
    950: '#000000',
  },
}
SCSS
$custom: #efe998;
$custom-light: #f5efb7;
$custom-dark: #000000;
JSON
{
  "hex": "#efe998",
  "rgb": {
    "r": 239,
    "g": 233,
    "b": 152
  },
  "hsl": {
    "h": 55.862,
    "s": 73.109,
    "l": 76.667
  },
  "oklch": {
    "l": 0.92067,
    "c": 0.1019,
    "h": 104.6
  },
  "luminance": 0.78896
}

Semantic roles & 50–950 ramp

primary
#EFE998
secondary
#6067CC
accent
#1ED510
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171611
muted
#858581

Preview Lab

Preview with #EFE998

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

Preview Lab → · Contrast checker → · Palette generator →

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