#EFE396#EFE396

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

Color values

HEX#EFE396
RGBrgb(239, 227, 150)
HSLhsl(52, 74%, 76%)
HSVhsv(52, 37%, 94%)
CMYKcmyk(0%, 5%, 37.2%, 6.3%)
CIE-LABlab(89.62, -6.83, 39.10)
CIE-LCHlch(89.62, 39.69, 99.91°)
OKLaboklab(90.82% -0.0178 0.0962)
OKLCHoklch(90.82% 0.098 100.5)
XYZxyz(68.5718, 75.4928, 39.8076)
Luminance0.7549 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFE396 #96A2EF
analogous
#EFB796 #EFE396 #CFEF96
triadic
#EFE396 #96EFE3 #E396EF
tetradic
#EFE396 #96EFB7 #96A2EF #EF96CF
square
#EFE396 #96EFB7 #96A2EF #EF96CF
split-complementary
#EFE396 #96CFEF #B796EF
monochromatic
#DFC72C #E7D561 #EFE396 #F7F1CB #FBF8E4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EFE396#FFFFFF#000000##000000
##EFE3961.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)
#F1DE90
Deuteranopia (green-blind)
#F4E499
Tritanopia (blue-blind)
#FCD9D0
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #efe396;
/* rgb */ color: rgb(239, 227, 150);
/* oklch */ color: oklch(90.8% 0.098 100.5);
Tailwind
colors: {
  custom: {
    50: '#f5ebb5',
    500: '#efe396',
    950: '#000000',
  },
}
SCSS
$custom: #efe396;
$custom-light: #f5ebb5;
$custom-dark: #000000;
JSON
{
  "hex": "#efe396",
  "rgb": {
    "r": 239,
    "g": 227,
    "b": 150
  },
  "hsl": {
    "h": 51.91,
    "s": 73.554,
    "l": 76.275
  },
  "oklch": {
    "l": 0.90817,
    "c": 0.09781,
    "h": 100.5
  },
  "luminance": 0.75491
}

Semantic roles & 50–950 ramp

primary
#EFE396
secondary
#5E6DCB
accent
#2BD610
background
#FFFEFD
surface
#FFFDF8
border
#D7D5D1
text
#171611
muted
#858481

Preview Lab

Preview with #EFE396

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

Preview Lab → · Contrast checker → · Palette generator →

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