#EFE397#EFE397

#EFE397 is a very light, moderate yellow. Relative luminance 0.755; OKLCH L 90.8% C 0.097 H 100.4°. Best body text is #000000 at 16.10:1 contrast (WCAG AA passes).

Color values

HEX#EFE397
RGBrgb(239, 227, 151)
HSLhsl(52, 73%, 76%)
HSVhsv(52, 37%, 94%)
CMYKcmyk(0%, 5%, 36.8%, 6.3%)
CIE-LABlab(89.64, -6.72, 38.62)
CIE-LCHlch(89.64, 39.20, 99.87°)
OKLaboklab(90.83% -0.0174 0.0951)
OKLCHoklch(90.83% 0.097 100.4)
XYZxyz(68.6527, 75.5251, 40.2335)
Luminance0.7552 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFE397 #97A3EF
analogous
#EFB797 #EFE397 #CFEF97
triadic
#EFE397 #97EFE3 #E397EF
tetradic
#EFE397 #97EFB7 #97A3EF #EF97CF
square
#EFE397 #97EFB7 #97A3EF #EF97CF
split-complementary
#EFE397 #97CFEF #B797EF
monochromatic
#DFC62D #E7D562 #EFE397 #F7F1CC #FBF8E4

Accessibility & contrast

On white

1.30
#EFE397 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.10
#EFE397 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFE397
16.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFE397#FFFFFF#000000##000000
##EFE3971.001.3016.1016.10
#FFFFFF1.301.0021.0021.00
#00000016.1021.001.001.00
##00000016.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1DE91
Deuteranopia (green-blind)
#F4E49A
Tritanopia (blue-blind)
#FCD9D0
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #efe397;
/* rgb */ color: rgb(239, 227, 151);
/* oklch */ color: oklch(90.8% 0.097 100.4);
Tailwind
colors: {
  custom: {
    50: '#f5ebb6',
    500: '#efe397',
    950: '#000000',
  },
}
SCSS
$custom: #efe397;
$custom-light: #f5ebb6;
$custom-dark: #000000;
JSON
{
  "hex": "#efe397",
  "rgb": {
    "r": 239,
    "g": 227,
    "b": 151
  },
  "hsl": {
    "h": 51.818,
    "s": 73.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.90834,
    "c": 0.09668,
    "h": 100.4
  },
  "luminance": 0.75523
}

Semantic roles & 50–950 ramp

primary
#EFE397
secondary
#5F6ECB
accent
#2BD510
background
#FFFEFD
surface
#FFFDF8
border
#D7D5D1
text
#171611
muted
#858481

Preview Lab

Preview with #EFE397

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

Preview Lab → · Contrast checker → · Palette generator →

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