#EFDF98#EFDF98

#EFDF98 is a very light, moderate yellow. Relative luminance 0.734; OKLCH L 90.0% C 0.092 H 97.0°. Best body text is #000000 at 15.68:1 contrast (WCAG AA passes).

Color values

HEX#EFDF98
RGBrgb(239, 223, 152)
HSLhsl(49, 73%, 77%)
HSVhsv(49, 36%, 94%)
CMYKcmyk(0%, 6.7%, 36.4%, 6.3%)
CIE-LABlab(88.64, -4.59, 36.81)
CIE-LCHlch(88.64, 37.09, 97.10°)
OKLaboklab(90.05% -0.0112 0.0909)
OKLCHoklch(90.05% 0.092 97)
XYZxyz(67.6529, 73.3951, 40.3026)
Luminance0.7339 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFDF98 #98A8EF
analogous
#EFB498 #EFDF98 #D3EF98
triadic
#EFDF98 #98EFDF #DF98EF
tetradic
#EFDF98 #98EFB4 #98A8EF #EF98D3
square
#EFDF98 #98EFB4 #98A8EF #EF98D3
split-complementary
#EFDF98 #98D3EF #B498EF
monochromatic
#DFBE2E #E7CF63 #EFDF98 #F7EFCD #FBF7E5

Accessibility & contrast

On white

1.34
#EFDF98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.68
#EFDF98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFDF98
15.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFDF98#FFFFFF#000000##000000
##EFDF981.001.3415.6815.68
#FFFFFF1.341.0021.0021.00
#00000015.6821.001.001.00
##00000015.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDDB93
Deuteranopia (green-blind)
#F1E19B
Tritanopia (blue-blind)
#FCD5CD
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #efdf98;
/* rgb */ color: rgb(239, 223, 152);
/* oklch */ color: oklch(90.0% 0.092 97.0);
Tailwind
colors: {
  custom: {
    50: '#f5e8b7',
    500: '#efdf98',
    950: '#000000',
  },
}
SCSS
$custom: #efdf98;
$custom-light: #f5e8b7;
$custom-dark: #000000;
JSON
{
  "hex": "#efdf98",
  "rgb": {
    "r": 239,
    "g": 223,
    "b": 152
  },
  "hsl": {
    "h": 48.966,
    "s": 73.109,
    "l": 76.667
  },
  "oklch": {
    "l": 0.90046,
    "c": 0.09162,
    "h": 97
  },
  "luminance": 0.73393
}

Semantic roles & 50–950 ramp

primary
#EFDF98
secondary
#6074CC
accent
#35D510
background
#FFFEFD
surface
#FFFCF8
border
#D7D5D1
text
#171611
muted
#858481

Preview Lab

Preview with #EFDF98

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

Preview Lab → · Contrast checker → · Palette generator →

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