#EFE797#EFE797

#EFE797 is a very light, moderate yellow. Relative luminance 0.777; OKLCH L 91.6% C 0.101 H 103.3°. Best body text is #000000 at 16.55:1 contrast (WCAG AA passes).

Color values

HEX#EFE797
RGBrgb(239, 231, 151)
HSLhsl(55, 73%, 76%)
HSVhsv(55, 37%, 94%)
CMYKcmyk(0%, 3.3%, 36.8%, 6.3%)
CIE-LABlab(90.66, -8.73, 39.94)
CIE-LCHlch(90.66, 40.88, 102.33°)
OKLaboklab(91.64% -0.0232 0.0982)
OKLCHoklch(91.64% 0.101 103.3)
XYZxyz(69.7595, 77.7386, 40.6024)
Luminance0.7774 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFE797 #979FEF
analogous
#EFBB97 #EFE797 #CBEF97
triadic
#EFE797 #97EFE7 #E797EF
tetradic
#EFE797 #97EFBB #979FEF #EF97CB
square
#EFE797 #97EFBB #979FEF #EF97CB
split-complementary
#EFE797 #97CBEF #BB97EF
monochromatic
#DFCF2D #E7DB62 #EFE797 #F7F3CC #FBF9E4

Accessibility & contrast

On white

1.27
#EFE797 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.55
#EFE797 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFE797
16.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFE797#FFFFFF#000000##000000
##EFE7971.001.2716.5516.55
#FFFFFF1.271.0021.0021.00
#00000016.5521.001.001.00
##00000016.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5E291
Deuteranopia (green-blind)
#F7E69A
Tritanopia (blue-blind)
#FBDDD3
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #efe797;
/* rgb */ color: rgb(239, 231, 151);
/* oklch */ color: oklch(91.6% 0.101 103.3);
Tailwind
colors: {
  custom: {
    50: '#f5eeb6',
    500: '#efe797',
    950: '#000000',
  },
}
SCSS
$custom: #efe797;
$custom-light: #f5eeb6;
$custom-dark: #000000;
JSON
{
  "hex": "#efe797",
  "rgb": {
    "r": 239,
    "g": 231,
    "b": 151
  },
  "hsl": {
    "h": 54.545,
    "s": 73.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.91644,
    "c": 0.10086,
    "h": 103.3
  },
  "luminance": 0.77737
}

Semantic roles & 50–950 ramp

primary
#EFE797
secondary
#5F69CB
accent
#22D510
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171611
muted
#858581

Preview Lab

Preview with #EFE797

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

Preview Lab → · Contrast checker → · Palette generator →

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