#EFE98E#EFE98E

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

Color values

HEX#EFE98E
RGBrgb(239, 233, 142)
HSLhsl(56, 75%, 75%)
HSVhsv(56, 41%, 94%)
CMYKcmyk(0%, 2.5%, 40.6%, 6.3%)
CIE-LABlab(91.05, -10.69, 44.89)
CIE-LCHlch(91.05, 46.14, 103.40°)
OKLaboklab(91.91% -0.0295 0.109)
OKLCHoklch(91.91% 0.113 105.1)
XYZxyz(69.6192, 78.5833, 37.0867)
Luminance0.7858 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFE98E #8E94EF
analogous
#EFB98E #EFE98E #C4EF8E
triadic
#EFE98E #8EEFE9 #E98EEF
tetradic
#EFE98E #8EEFB9 #8E94EF #EF8EC4
square
#EFE98E #8EEFB9 #8E94EF #EF8EC4
split-complementary
#EFE98E #8EC4EF #B98EEF
monochromatic
#E0D423 #E7DF58 #EFE98E #F7F3C4 #FBFAE4

Accessibility & contrast

On white

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

On black

16.72
#EFE98E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFE98E
16.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFE98E#FFFFFF#000000##000000
##EFE98E1.001.2616.7216.72
#FFFFFF1.261.0021.0021.00
#00000016.7221.001.001.00
##00000016.7221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #efe98e;
/* rgb */ color: rgb(239, 233, 142);
/* oklch */ color: oklch(91.9% 0.113 105.1);
Tailwind
colors: {
  custom: {
    50: '#f6efb0',
    500: '#efe98e',
    950: '#000000',
  },
}
SCSS
$custom: #efe98e;
$custom-light: #f6efb0;
$custom-dark: #000000;
JSON
{
  "hex": "#efe98e",
  "rgb": {
    "r": 239,
    "g": 233,
    "b": 142
  },
  "hsl": {
    "h": 56.289,
    "s": 75.194,
    "l": 74.706
  },
  "oklch": {
    "l": 0.91907,
    "c": 0.11295,
    "h": 105.1
  },
  "luminance": 0.78582
}

Semantic roles & 50–950 ramp

primary
#EFE98E
secondary
#565ECB
accent
#1BD70E
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#171611
muted
#858581

Preview Lab

Preview with #EFE98E

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

Preview Lab → · Contrast checker → · Palette generator →

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