#EFE798#EFE798

#EFE798 is a very light, moderate yellow. Relative luminance 0.778; OKLCH L 91.7% C 0.100 H 103.2°. Best body text is #000000 at 16.55:1 contrast (WCAG AA passes).

Color values

HEX#EFE798
RGBrgb(239, 231, 152)
HSLhsl(54, 73%, 77%)
HSVhsv(54, 36%, 94%)
CMYKcmyk(0%, 3.3%, 36.4%, 6.3%)
CIE-LABlab(90.68, -8.62, 39.46)
CIE-LCHlch(90.68, 40.39, 102.32°)
OKLaboklab(91.66% -0.0228 0.0971)
OKLCHoklch(91.66% 0.1 103.2)
XYZxyz(69.8410, 77.7712, 41.0320)
Luminance0.7777 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFE798 #98A0EF
analogous
#EFBC98 #EFE798 #CCEF98
triadic
#EFE798 #98EFE7 #E798EF
tetradic
#EFE798 #98EFBC #98A0EF #EF98CC
square
#EFE798 #98EFBC #98A0EF #EF98CC
split-complementary
#EFE798 #98CCEF #BC98EF
monochromatic
#DFCE2E #E7DB63 #EFE798 #F7F3CD #FBF9E5

Accessibility & contrast

On white

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

On black

16.55
#EFE798 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFE798
16.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFE798#FFFFFF#000000##000000
##EFE7981.001.2716.5516.55
#FFFFFF1.271.0021.0021.00
#00000016.5521.001.001.00
##00000016.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4E292
Deuteranopia (green-blind)
#F7E69B
Tritanopia (blue-blind)
#FBDDD3
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #efe798;
/* rgb */ color: rgb(239, 231, 152);
/* oklch */ color: oklch(91.7% 0.100 103.2);
Tailwind
colors: {
  custom: {
    50: '#f5eeb7',
    500: '#efe798',
    950: '#000000',
  },
}
SCSS
$custom: #efe798;
$custom-light: #f5eeb7;
$custom-dark: #000000;
JSON
{
  "hex": "#efe798",
  "rgb": {
    "r": 239,
    "g": 231,
    "b": 152
  },
  "hsl": {
    "h": 54.483,
    "s": 73.109,
    "l": 76.667
  },
  "oklch": {
    "l": 0.91661,
    "c": 0.09973,
    "h": 103.2
  },
  "luminance": 0.7777
}

Semantic roles & 50–950 ramp

primary
#EFE798
secondary
#606ACC
accent
#22D510
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171611
muted
#858581

Preview Lab

Preview with #EFE798

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

Preview Lab → · Contrast checker → · Palette generator →

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