#EFE296#EFE296

#EFE296 is a very light, moderate yellow. Relative luminance 0.749; OKLCH L 90.6% C 0.097 H 99.7°. Best body text is #000000 at 15.99:1 contrast (WCAG AA passes).

Color values

HEX#EFE296
RGBrgb(239, 226, 150)
HSLhsl(51, 74%, 76%)
HSVhsv(51, 37%, 94%)
CMYKcmyk(0%, 5.4%, 37.2%, 6.3%)
CIE-LABlab(89.37, -6.33, 38.77)
CIE-LCHlch(89.37, 39.28, 99.27°)
OKLaboklab(90.62% -0.0163 0.0954)
OKLCHoklch(90.62% 0.097 99.7)
XYZxyz(68.2991, 74.9473, 39.7167)
Luminance0.7494 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFE296 #96A3EF
analogous
#EFB696 #EFE296 #D0EF96
triadic
#EFE296 #96EFE2 #E296EF
tetradic
#EFE296 #96EFB6 #96A3EF #EF96D0
square
#EFE296 #96EFB6 #96A3EF #EF96D0
split-complementary
#EFE296 #96D0EF #B696EF
monochromatic
#DFC52C #E7D361 #EFE296 #F7F1CB #FBF8E4

Accessibility & contrast

On white

1.31
#EFE296 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.99
#EFE296 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFE296
15.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFE296#FFFFFF#000000##000000
##EFE2961.001.3115.9915.99
#FFFFFF1.311.0021.0021.00
#00000015.9921.001.001.00
##00000015.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0DE90
Deuteranopia (green-blind)
#F4E399
Tritanopia (blue-blind)
#FCD8CF
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #efe296;
/* rgb */ color: rgb(239, 226, 150);
/* oklch */ color: oklch(90.6% 0.097 99.7);
Tailwind
colors: {
  custom: {
    50: '#f5ebb5',
    500: '#efe296',
    950: '#000000',
  },
}
SCSS
$custom: #efe296;
$custom-light: #f5ebb5;
$custom-dark: #000000;
JSON
{
  "hex": "#efe296",
  "rgb": {
    "r": 239,
    "g": 226,
    "b": 150
  },
  "hsl": {
    "h": 51.236,
    "s": 73.554,
    "l": 76.275
  },
  "oklch": {
    "l": 0.90616,
    "c": 0.09681,
    "h": 99.7
  },
  "luminance": 0.74945
}

Semantic roles & 50–950 ramp

primary
#EFE296
secondary
#5E6ECB
accent
#2DD610
background
#FFFEFD
surface
#FFFDF8
border
#D7D5D1
text
#171611
muted
#858481

Preview Lab

Preview with #EFE296

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

Preview Lab → · Contrast checker → · Palette generator →

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