#EFE398#EFE398

#EFE398 is a very light, moderate yellow. Relative luminance 0.756; OKLCH L 90.9% C 0.096 H 100.2°. Best body text is #000000 at 16.11:1 contrast (WCAG AA passes).

Color values

HEX#EFE398
RGBrgb(239, 227, 152)
HSLhsl(52, 73%, 77%)
HSVhsv(52, 36%, 94%)
CMYKcmyk(0%, 5%, 36.4%, 6.3%)
CIE-LABlab(89.65, -6.61, 38.13)
CIE-LCHlch(89.65, 38.70, 99.83°)
OKLaboklab(90.85% -0.017 0.094)
OKLCHoklch(90.85% 0.096 100.2)
XYZxyz(68.7343, 75.5577, 40.6630)
Luminance0.7556 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFE398 #98A4EF
analogous
#EFB898 #EFE398 #D0EF98
triadic
#EFE398 #98EFE3 #E398EF
tetradic
#EFE398 #98EFB8 #98A4EF #EF98D0
square
#EFE398 #98EFB8 #98A4EF #EF98D0
split-complementary
#EFE398 #98D0EF #B898EF
monochromatic
#DFC62E #E7D563 #EFE398 #F7F1CD #FBF8E5

Accessibility & contrast

On white

1.30
#EFE398 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.11
#EFE398 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFE398
16.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFE398#FFFFFF#000000##000000
##EFE3981.001.3016.1116.11
#FFFFFF1.301.0021.0021.00
#00000016.1121.001.001.00
##00000016.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1DE93
Deuteranopia (green-blind)
#F4E49B
Tritanopia (blue-blind)
#FBD9D0
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #efe398;
/* rgb */ color: rgb(239, 227, 152);
/* oklch */ color: oklch(90.9% 0.096 100.2);
Tailwind
colors: {
  custom: {
    50: '#f5ebb7',
    500: '#efe398',
    950: '#000000',
  },
}
SCSS
$custom: #efe398;
$custom-light: #f5ebb7;
$custom-dark: #000000;
JSON
{
  "hex": "#efe398",
  "rgb": {
    "r": 239,
    "g": 227,
    "b": 152
  },
  "hsl": {
    "h": 51.724,
    "s": 73.109,
    "l": 76.667
  },
  "oklch": {
    "l": 0.90851,
    "c": 0.09554,
    "h": 100.2
  },
  "luminance": 0.75556
}

Semantic roles & 50–950 ramp

primary
#EFE398
secondary
#606FCC
accent
#2BD510
background
#FFFEFD
surface
#FFFDF8
border
#D7D5D1
text
#171611
muted
#858481

Preview Lab

Preview with #EFE398

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

Preview Lab → · Contrast checker → · Palette generator →

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