#EFEA97#EFEA97

#EFEA97 is a very light, moderate yellow. Relative luminance 0.794; OKLCH L 92.3% C 0.104 H 105.3°. Best body text is #000000 at 16.89:1 contrast (WCAG AA passes).

Color values

HEX#EFEA97
RGBrgb(239, 234, 151)
HSLhsl(57, 73%, 76%)
HSVhsv(57, 37%, 94%)
CMYKcmyk(0%, 2.1%, 36.8%, 6.3%)
CIE-LABlab(91.43, -10.23, 40.94)
CIE-LCHlch(91.43, 42.19, 104.02°)
OKLaboklab(92.25% -0.0275 0.1005)
OKLCHoklch(92.25% 0.104 105.3)
XYZxyz(70.6063, 79.4323, 40.8847)
Luminance0.7943 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFEA97 #979CEF
analogous
#EFBE97 #EFEA97 #C8EF97
triadic
#EFEA97 #97EFEA #EA97EF
tetradic
#EFEA97 #97EFBE #979CEF #EF97C8
square
#EFEA97 #97EFBE #979CEF #EF97C8
split-complementary
#EFEA97 #97C8EF #BE97EF
monochromatic
#DFD52D #E7DF62 #EFEA97 #F7F5CC #FBFAE4

Accessibility & contrast

On white

1.24
#EFEA97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.89
#EFEA97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFEA97
16.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFEA97#FFFFFF#000000##000000
##EFEA971.001.2416.8916.89
#FFFFFF1.241.0021.0021.00
#00000016.8921.001.001.00
##00000016.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7E491
Deuteranopia (green-blind)
#FAE89A
Tritanopia (blue-blind)
#FBE0D5
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #efea97;
/* rgb */ color: rgb(239, 234, 151);
/* oklch */ color: oklch(92.3% 0.104 105.3);
Tailwind
colors: {
  custom: {
    50: '#f5f0b6',
    500: '#efea97',
    950: '#000000',
  },
}
SCSS
$custom: #efea97;
$custom-light: #f5f0b6;
$custom-dark: #000000;
JSON
{
  "hex": "#efea97",
  "rgb": {
    "r": 239,
    "g": 234,
    "b": 151
  },
  "hsl": {
    "h": 56.591,
    "s": 73.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.92254,
    "c": 0.10414,
    "h": 105.3
  },
  "luminance": 0.79431
}

Semantic roles & 50–950 ramp

primary
#EFEA97
secondary
#5F65CB
accent
#1BD510
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171611
muted
#858581

Preview Lab

Preview with #EFEA97

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

Preview Lab → · Contrast checker → · Palette generator →

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