#EFEC98#EFEC98

#EFEC98 is a very light, moderate yellow. Relative luminance 0.806; OKLCH L 92.7% C 0.105 H 106.5°. Best body text is #000000 at 17.12:1 contrast (WCAG AA passes).

Color values

HEX#EFEC98
RGBrgb(239, 236, 152)
HSLhsl(58, 73%, 77%)
HSVhsv(58, 36%, 94%)
CMYKcmyk(0%, 1.3%, 36.4%, 6.3%)
CIE-LABlab(91.96, -11.11, 41.12)
CIE-LCHlch(91.96, 42.59, 105.12°)
OKLaboklab(92.68% -0.0299 0.1009)
OKLCHoklch(92.68% 0.105 106.5)
XYZxyz(71.2605, 80.6101, 41.5051)
Luminance0.8061 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFEC98 #989BEF
analogous
#EFC198 #EFEC98 #C7EF98
triadic
#EFEC98 #98EFEC #EC98EF
tetradic
#EFEC98 #98EFC1 #989BEF #EF98C7
square
#EFEC98 #98EFC1 #989BEF #EF98C7
split-complementary
#EFEC98 #98C7EF #C198EF
monochromatic
#DFD82E #E7E263 #EFEC98 #F7F6CD #FBFAE5

Accessibility & contrast

On white

1.23
#EFEC98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.12
#EFEC98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFEC98
17.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFEC98#FFFFFF#000000##000000
##EFEC981.001.2317.1217.12
#FFFFFF1.231.0021.0021.00
#00000017.1221.001.001.00
##00000017.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E692
Deuteranopia (green-blind)
#FBEA9B
Tritanopia (blue-blind)
#FBE2D7
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #efec98;
/* rgb */ color: rgb(239, 236, 152);
/* oklch */ color: oklch(92.7% 0.105 106.5);
Tailwind
colors: {
  custom: {
    50: '#f5f2b7',
    500: '#efec98',
    950: '#000000',
  },
}
SCSS
$custom: #efec98;
$custom-light: #f5f2b7;
$custom-dark: #000000;
JSON
{
  "hex": "#efec98",
  "rgb": {
    "r": 239,
    "g": 236,
    "b": 152
  },
  "hsl": {
    "h": 57.931,
    "s": 73.109,
    "l": 76.667
  },
  "oklch": {
    "l": 0.92678,
    "c": 0.10526,
    "h": 106.5
  },
  "luminance": 0.80609
}

Semantic roles & 50–950 ramp

primary
#EFEC98
secondary
#6063CC
accent
#17D510
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171611
muted
#858581

Preview Lab

Preview with #EFEC98

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

Preview Lab → · Contrast checker → · Palette generator →

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