#EFE298#EFE298

#EFE298 is a very light, moderate yellow. Relative luminance 0.750; OKLCH L 90.6% C 0.095 H 99.5°. Best body text is #000000 at 16.00:1 contrast (WCAG AA passes).

Color values

HEX#EFE298
RGBrgb(239, 226, 152)
HSLhsl(51, 73%, 77%)
HSVhsv(51, 36%, 94%)
CMYKcmyk(0%, 5.4%, 36.4%, 6.3%)
CIE-LABlab(89.40, -6.10, 37.80)
CIE-LCHlch(89.40, 38.29, 99.17°)
OKLaboklab(90.65% -0.0155 0.0933)
OKLCHoklch(90.65% 0.095 99.5)
XYZxyz(68.4615, 75.0123, 40.5721)
Luminance0.7501 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFE298 #98A5EF
analogous
#EFB798 #EFE298 #D1EF98
triadic
#EFE298 #98EFE2 #E298EF
tetradic
#EFE298 #98EFB7 #98A5EF #EF98D1
square
#EFE298 #98EFB7 #98A5EF #EF98D1
split-complementary
#EFE298 #98D1EF #B798EF
monochromatic
#DFC42E #E7D363 #EFE298 #F7F1CD #FBF8E5

Accessibility & contrast

On white

1.31
#EFE298 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.00
#EFE298 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFE298
16.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFE298#FFFFFF#000000##000000
##EFE2981.001.3116.0016.00
#FFFFFF1.311.0021.0021.00
#00000016.0021.001.001.00
##00000016.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0DE93
Deuteranopia (green-blind)
#F3E39B
Tritanopia (blue-blind)
#FCD8CF
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #efe298;
/* rgb */ color: rgb(239, 226, 152);
/* oklch */ color: oklch(90.6% 0.095 99.5);
Tailwind
colors: {
  custom: {
    50: '#f5ebb7',
    500: '#efe298',
    950: '#000000',
  },
}
SCSS
$custom: #efe298;
$custom-light: #f5ebb7;
$custom-dark: #000000;
JSON
{
  "hex": "#efe298",
  "rgb": {
    "r": 239,
    "g": 226,
    "b": 152
  },
  "hsl": {
    "h": 51.034,
    "s": 73.109,
    "l": 76.667
  },
  "oklch": {
    "l": 0.9065,
    "c": 0.09455,
    "h": 99.5
  },
  "luminance": 0.7501
}

Semantic roles & 50–950 ramp

primary
#EFE298
secondary
#6070CC
accent
#2ED510
background
#FFFEFD
surface
#FFFDF8
border
#D7D5D1
text
#171611
muted
#858481

Preview Lab

Preview with #EFE298

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

Preview Lab → · Contrast checker → · Palette generator →

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