#EFD98F#EFD98F

#EFD98F is a very light, moderate yellow. Relative luminance 0.700; OKLCH L 88.7% C 0.096 H 93.5°. Best body text is #000000 at 14.99:1 contrast (WCAG AA passes).

Color values

HEX#EFD98F
RGBrgb(239, 217, 143)
HSLhsl(46, 75%, 75%)
HSVhsv(46, 40%, 94%)
CMYKcmyk(0%, 9.2%, 40.2%, 6.3%)
CIE-LABlab(86.98, -2.52, 39.20)
CIE-LCHlch(86.98, 39.28, 93.68°)
OKLaboklab(88.69% -0.0058 0.0961)
OKLCHoklch(88.69% 0.096 93.5)
XYZxyz(65.3689, 69.9619, 36.0419)
Luminance0.6996 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFD98F #8FA5EF
analogous
#EFA98F #EFD98F #D5EF8F
triadic
#EFD98F #8FEFD9 #D98FEF
tetradic
#EFD98F #8FEFA9 #8FA5EF #EF8FD5
square
#EFD98F #8FEFA9 #8FA5EF #EF8FD5
split-complementary
#EFD98F #8FD5EF #A98FEF
monochromatic
#E0B524 #E7C759 #EFD98F #F7EBC5 #FBF6E4

Accessibility & contrast

On white

1.40
#EFD98F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.99
#EFD98F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFD98F
14.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFD98F#FFFFFF#000000##000000
##EFD98F1.001.4014.9914.99
#FFFFFF1.401.0021.0021.00
#00000014.9921.001.001.00
##00000014.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D68A
Deuteranopia (green-blind)
#EEDD92
Tritanopia (blue-blind)
#FDCEC6
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #efd98f;
/* rgb */ color: rgb(239, 217, 143);
/* oklch */ color: oklch(88.7% 0.096 93.5);
Tailwind
colors: {
  custom: {
    50: '#f6e4b0',
    500: '#efd98f',
    950: '#000000',
  },
}
SCSS
$custom: #efd98f;
$custom-light: #f6e4b0;
$custom-dark: #000000;
JSON
{
  "hex": "#efd98f",
  "rgb": {
    "r": 239,
    "g": 217,
    "b": 143
  },
  "hsl": {
    "h": 46.25,
    "s": 75,
    "l": 74.902
  },
  "oklch": {
    "l": 0.88692,
    "c": 0.0963,
    "h": 93.5
  },
  "luminance": 0.6996
}

Semantic roles & 50–950 ramp

primary
#EFD98F
secondary
#5772CB
accent
#3CD70E
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#171510
muted
#858481

Preview Lab

Preview with #EFD98F

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

Preview Lab → · Contrast checker → · Palette generator →

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