#EFDE98#EFDE98

#EFDE98 is a very light, moderate yellow. Relative luminance 0.729; OKLCH L 89.8% C 0.091 H 96.1°. Best body text is #000000 at 15.57:1 contrast (WCAG AA passes).

Color values

HEX#EFDE98
RGBrgb(239, 222, 152)
HSLhsl(48, 73%, 77%)
HSVhsv(48, 36%, 94%)
CMYKcmyk(0%, 7.1%, 36.4%, 6.3%)
CIE-LABlab(88.38, -4.08, 36.47)
CIE-LCHlch(88.38, 36.70, 96.38°)
OKLaboklab(89.85% -0.0097 0.0902)
OKLCHoklch(89.85% 0.091 96.1)
XYZxyz(67.3865, 72.8623, 40.2138)
Luminance0.7286 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFDE98 #98A9EF
analogous
#EFB398 #EFDE98 #D5EF98
triadic
#EFDE98 #98EFDE #DE98EF
tetradic
#EFDE98 #98EFB3 #98A9EF #EF98D5
square
#EFDE98 #98EFB3 #98A9EF #EF98D5
split-complementary
#EFDE98 #98D5EF #B398EF
monochromatic
#DFBC2E #E7CD63 #EFDE98 #F7EFCD #FBF7E5

Accessibility & contrast

On white

1.35
#EFDE98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.57
#EFDE98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFDE98
15.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFDE98#FFFFFF#000000##000000
##EFDE981.001.3515.5715.57
#FFFFFF1.351.0021.0021.00
#00000015.5721.001.001.00
##00000015.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECDA93
Deuteranopia (green-blind)
#F0E09A
Tritanopia (blue-blind)
#FCD4CC
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #efde98;
/* rgb */ color: rgb(239, 222, 152);
/* oklch */ color: oklch(89.8% 0.091 96.1);
Tailwind
colors: {
  custom: {
    50: '#f5e8b7',
    500: '#efde98',
    950: '#000000',
  },
}
SCSS
$custom: #efde98;
$custom-light: #f5e8b7;
$custom-dark: #000000;
JSON
{
  "hex": "#efde98",
  "rgb": {
    "r": 239,
    "g": 222,
    "b": 152
  },
  "hsl": {
    "h": 48.276,
    "s": 73.109,
    "l": 76.667
  },
  "oklch": {
    "l": 0.89846,
    "c": 0.09069,
    "h": 96.1
  },
  "luminance": 0.7286
}

Semantic roles & 50–950 ramp

primary
#EFDE98
secondary
#6075CC
accent
#37D510
background
#FFFEFD
surface
#FFFCF8
border
#D7D5D1
text
#171611
muted
#858481

Preview Lab

Preview with #EFDE98

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

Preview Lab → · Contrast checker → · Palette generator →

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