#EFDB98#EFDB98

#EFDB98 is a very light, moderate yellow. Relative luminance 0.713; OKLCH L 89.2% C 0.088 H 93.4°. Best body text is #000000 at 15.26:1 contrast (WCAG AA passes).

Color values

HEX#EFDB98
RGBrgb(239, 219, 152)
HSLhsl(46, 73%, 77%)
HSVhsv(46, 36%, 94%)
CMYKcmyk(0%, 8.4%, 36.4%, 6.3%)
CIE-LABlab(87.62, -2.55, 35.48)
CIE-LCHlch(87.62, 35.57, 94.12°)
OKLaboklab(89.25% -0.0053 0.0879)
OKLCHoklch(89.25% 0.088 93.4)
XYZxyz(66.5968, 71.2829, 39.9506)
Luminance0.7128 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFDB98 #98ACEF
analogous
#EFB098 #EFDB98 #D8EF98
triadic
#EFDB98 #98EFDB #DB98EF
tetradic
#EFDB98 #98EFB0 #98ACEF #EF98D8
square
#EFDB98 #98EFB0 #98ACEF #EF98D8
split-complementary
#EFDB98 #98D8EF #B098EF
monochromatic
#DFB62E #E7C863 #EFDB98 #F7EECD #FBF6E5

Accessibility & contrast

On white

1.38
#EFDB98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.26
#EFDB98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFDB98
15.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFDB98#FFFFFF#000000##000000
##EFDB981.001.3815.2615.26
#FFFFFF1.381.0021.0021.00
#00000015.2621.001.001.00
##00000015.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D893
Deuteranopia (green-blind)
#EEDE9A
Tritanopia (blue-blind)
#FCD1CA
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #efdb98;
/* rgb */ color: rgb(239, 219, 152);
/* oklch */ color: oklch(89.2% 0.088 93.4);
Tailwind
colors: {
  custom: {
    50: '#f5e6b7',
    500: '#efdb98',
    950: '#000000',
  },
}
SCSS
$custom: #efdb98;
$custom-light: #f5e6b7;
$custom-dark: #000000;
JSON
{
  "hex": "#efdb98",
  "rgb": {
    "r": 239,
    "g": 219,
    "b": 152
  },
  "hsl": {
    "h": 46.207,
    "s": 73.109,
    "l": 76.667
  },
  "oklch": {
    "l": 0.89246,
    "c": 0.08801,
    "h": 93.4
  },
  "luminance": 0.71281
}

Semantic roles & 50–950 ramp

primary
#EFDB98
secondary
#6078CC
accent
#3ED510
background
#FFFEFD
surface
#FFFCF8
border
#D7D5D1
text
#171511
muted
#858481

Preview Lab

Preview with #EFDB98

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

Preview Lab → · Contrast checker → · Palette generator →

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