#EFDC98#EFDC98

#EFDC98 is a very light, moderate yellow. Relative luminance 0.718; OKLCH L 89.4% C 0.089 H 94.4°. Best body text is #000000 at 15.36:1 contrast (WCAG AA passes).

Color values

HEX#EFDC98
RGBrgb(239, 220, 152)
HSLhsl(47, 73%, 77%)
HSVhsv(47, 36%, 94%)
CMYKcmyk(0%, 7.9%, 36.4%, 6.3%)
CIE-LABlab(87.88, -3.06, 35.81)
CIE-LCHlch(87.88, 35.94, 94.89°)
OKLaboklab(89.45% -0.0067 0.0886)
OKLCHoklch(89.45% 0.089 94.4)
XYZxyz(66.8585, 71.8062, 40.0378)
Luminance0.7180 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFDC98 #98ABEF
analogous
#EFB198 #EFDC98 #D6EF98
triadic
#EFDC98 #98EFDC #DC98EF
tetradic
#EFDC98 #98EFB1 #98ABEF #EF98D6
square
#EFDC98 #98EFB1 #98ABEF #EF98D6
split-complementary
#EFDC98 #98D6EF #B198EF
monochromatic
#DFB82E #E7CA63 #EFDC98 #F7EECD #FBF6E5

Accessibility & contrast

On white

1.37
#EFDC98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.36
#EFDC98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFDC98
15.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFDC98#FFFFFF#000000##000000
##EFDC981.001.3715.3615.36
#FFFFFF1.371.0021.0021.00
#00000015.3621.001.001.00
##00000015.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD993
Deuteranopia (green-blind)
#EFDF9A
Tritanopia (blue-blind)
#FCD2CB
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #efdc98;
/* rgb */ color: rgb(239, 220, 152);
/* oklch */ color: oklch(89.4% 0.089 94.4);
Tailwind
colors: {
  custom: {
    50: '#f5e6b7',
    500: '#efdc98',
    950: '#000000',
  },
}
SCSS
$custom: #efdc98;
$custom-light: #f5e6b7;
$custom-dark: #000000;
JSON
{
  "hex": "#efdc98",
  "rgb": {
    "r": 239,
    "g": 220,
    "b": 152
  },
  "hsl": {
    "h": 46.897,
    "s": 73.109,
    "l": 76.667
  },
  "oklch": {
    "l": 0.89445,
    "c": 0.08888,
    "h": 94.4
  },
  "luminance": 0.71804
}

Semantic roles & 50–950 ramp

primary
#EFDC98
secondary
#6077CC
accent
#3BD510
background
#FFFEFD
surface
#FFFCF8
border
#D7D5D1
text
#171511
muted
#858481

Preview Lab

Preview with #EFDC98

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

Preview Lab → · Contrast checker → · Palette generator →

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