#EFED97#EFED97

#EFED97 is a very light, moderate yellow. Relative luminance 0.812; OKLCH L 92.9% C 0.108 H 107.2°. Best body text is #000000 at 17.23:1 contrast (WCAG AA passes).

Color values

HEX#EFED97
RGBrgb(239, 237, 151)
HSLhsl(59, 73%, 76%)
HSVhsv(59, 37%, 94%)
CMYKcmyk(0%, 0.8%, 36.8%, 6.3%)
CIE-LABlab(92.20, -11.71, 41.93)
CIE-LCHlch(92.20, 43.53, 105.61°)
OKLaboklab(92.87% -0.0317 0.1027)
OKLCHoklch(92.87% 0.108 107.2)
XYZxyz(71.4676, 81.1549, 41.1718)
Luminance0.8115 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFED97 #9799EF
analogous
#EFC197 #EFED97 #C5EF97
triadic
#EFED97 #97EFED #ED97EF
tetradic
#EFED97 #97EFC1 #9799EF #EF97C5
square
#EFED97 #97EFC1 #9799EF #EF97C5
split-complementary
#EFED97 #97C5EF #C197EF
monochromatic
#DFDB2D #E7E462 #EFED97 #F7F6CC #FBFAE4

Accessibility & contrast

On white

1.22
#EFED97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.23
#EFED97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFED97
17.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFED97#FFFFFF#000000##000000
##EFED971.001.2217.2317.23
#FFFFFF1.221.0021.0021.00
#00000017.2321.001.001.00
##00000017.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE791
Deuteranopia (green-blind)
#FCEA9B
Tritanopia (blue-blind)
#FBE3D8
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #efed97;
/* rgb */ color: rgb(239, 237, 151);
/* oklch */ color: oklch(92.9% 0.108 107.2);
Tailwind
colors: {
  custom: {
    50: '#f5f2b6',
    500: '#efed97',
    950: '#000000',
  },
}
SCSS
$custom: #efed97;
$custom-light: #f5f2b6;
$custom-dark: #000000;
JSON
{
  "hex": "#efed97",
  "rgb": {
    "r": 239,
    "g": 237,
    "b": 151
  },
  "hsl": {
    "h": 58.636,
    "s": 73.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.92866,
    "c": 0.10752,
    "h": 107.2
  },
  "luminance": 0.81153
}

Semantic roles & 50–950 ramp

primary
#EFED97
secondary
#5F61CB
accent
#15D510
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171611
muted
#858581

Preview Lab

Preview with #EFED97

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

Preview Lab → · Contrast checker → · Palette generator →

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