#EFE98D#EFE98D

#EFE98D is a very light, moderate yellow. Relative luminance 0.786; OKLCH L 91.9% C 0.114 H 105.2°. Best body text is #000000 at 16.71:1 contrast (WCAG AA passes).

Color values

HEX#EFE98D
RGBrgb(239, 233, 141)
HSLhsl(56, 75%, 75%)
HSVhsv(56, 41%, 94%)
CMYKcmyk(0%, 2.5%, 41%, 6.3%)
CIE-LABlab(91.03, -10.79, 45.36)
CIE-LCHlch(91.03, 46.63, 103.38°)
OKLaboklab(91.89% -0.0298 0.1101)
OKLCHoklch(91.89% 0.114 105.2)
XYZxyz(69.5445, 78.5534, 36.6930)
Luminance0.7855 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFE98D #8D93EF
analogous
#EFB88D #EFE98D #C4EF8D
triadic
#EFE98D #8DEFE9 #E98DEF
tetradic
#EFE98D #8DEFB8 #8D93EF #EF8DC4
square
#EFE98D #8DEFB8 #8D93EF #EF8DC4
split-complementary
#EFE98D #8DC4EF #B88DEF
monochromatic
#E0D422 #E7DF57 #EFE98D #F7F3C3 #FBFAE4

Accessibility & contrast

On white

1.26
#EFE98D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.71
#EFE98D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFE98D
16.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFE98D#FFFFFF#000000##000000
##EFE98D1.001.2616.7116.71
#FFFFFF1.261.0021.0021.00
#00000016.7121.001.001.00
##00000016.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E386
Deuteranopia (green-blind)
#FAE791
Tritanopia (blue-blind)
#FCDED3
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #efe98d;
/* rgb */ color: rgb(239, 233, 141);
/* oklch */ color: oklch(91.9% 0.114 105.2);
Tailwind
colors: {
  custom: {
    50: '#f6efaf',
    500: '#efe98d',
    950: '#000000',
  },
}
SCSS
$custom: #efe98d;
$custom-light: #f6efaf;
$custom-dark: #000000;
JSON
{
  "hex": "#efe98d",
  "rgb": {
    "r": 239,
    "g": 233,
    "b": 141
  },
  "hsl": {
    "h": 56.327,
    "s": 75.385,
    "l": 74.51
  },
  "oklch": {
    "l": 0.91892,
    "c": 0.11403,
    "h": 105.2
  },
  "luminance": 0.78552
}

Semantic roles & 50–950 ramp

primary
#EFE98D
secondary
#565DCB
accent
#1AD80E
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#171610
muted
#858581

Preview Lab

Preview with #EFE98D

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

Preview Lab → · Contrast checker → · Palette generator →

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