#EFDA98#EFDA98

#EFDA98 is a very light, moderate yellow. Relative luminance 0.708; OKLCH L 89.0% C 0.087 H 92.5°. Best body text is #000000 at 15.15:1 contrast (WCAG AA passes).

Color values

HEX#EFDA98
RGBrgb(239, 218, 152)
HSLhsl(46, 73%, 77%)
HSVhsv(46, 36%, 94%)
CMYKcmyk(0%, 8.8%, 36.4%, 6.3%)
CIE-LABlab(87.37, -2.04, 35.15)
CIE-LCHlch(87.37, 35.21, 93.33°)
OKLaboklab(89.05% -0.0038 0.0871)
OKLCHoklch(89.05% 0.087 92.5)
XYZxyz(66.3367, 70.7627, 39.8639)
Luminance0.7076 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFDA98 #98ADEF
analogous
#EFAF98 #EFDA98 #D9EF98
triadic
#EFDA98 #98EFDA #DA98EF
tetradic
#EFDA98 #98EFAF #98ADEF #EF98D9
square
#EFDA98 #98EFAF #98ADEF #EF98D9
split-complementary
#EFDA98 #98D9EF #AF98EF
monochromatic
#DFB42E #E7C763 #EFDA98 #F7EDCD #FBF5E5

Accessibility & contrast

On white

1.39
#EFDA98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.15
#EFDA98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFDA98
15.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFDA98#FFFFFF#000000##000000
##EFDA981.001.3915.1515.15
#FFFFFF1.391.0021.0021.00
#00000015.1521.001.001.00
##00000015.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D793
Deuteranopia (green-blind)
#EDDE9A
Tritanopia (blue-blind)
#FCD0C9
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #efda98;
/* rgb */ color: rgb(239, 218, 152);
/* oklch */ color: oklch(89.0% 0.087 92.5);
Tailwind
colors: {
  custom: {
    50: '#f5e5b7',
    500: '#efda98',
    950: '#000000',
  },
}
SCSS
$custom: #efda98;
$custom-light: #f5e5b7;
$custom-dark: #000000;
JSON
{
  "hex": "#efda98",
  "rgb": {
    "r": 239,
    "g": 218,
    "b": 152
  },
  "hsl": {
    "h": 45.517,
    "s": 73.109,
    "l": 76.667
  },
  "oklch": {
    "l": 0.89046,
    "c": 0.08716,
    "h": 92.5
  },
  "luminance": 0.70761
}

Semantic roles & 50–950 ramp

primary
#EFDA98
secondary
#607ACC
accent
#40D510
background
#FFFEFD
surface
#FFFCF8
border
#D7D5D1
text
#171511
muted
#858481

Preview Lab

Preview with #EFDA98

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

Preview Lab → · Contrast checker → · Palette generator →

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