#EFE2A1#EFE2A1

#EFE2A1 is a very light, moderate yellow. Relative luminance 0.753; OKLCH L 90.8% C 0.084 H 98.2°. Best body text is #000000 at 16.06:1 contrast (WCAG AA passes).

Color values

HEX#EFE2A1
RGBrgb(239, 226, 161)
HSLhsl(50, 71%, 78%)
HSVhsv(50, 33%, 94%)
CMYKcmyk(0%, 5.4%, 32.6%, 6.3%)
CIE-LABlab(89.54, -5.06, 33.43)
CIE-LCHlch(89.54, 33.81, 98.60°)
OKLaboklab(90.81% -0.012 0.0833)
OKLCHoklch(90.81% 0.084 98.2)
XYZxyz(69.2268, 75.3184, 44.6025)
Luminance0.7532 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFE2A1 #A1AEEF
analogous
#EFBBA1 #EFE2A1 #D5EFA1
triadic
#EFE2A1 #A1EFE2 #E2A1EF
tetradic
#EFE2A1 #A1EFBB #A1AEEF #EFA1D5
square
#EFE2A1 #A1EFBB #A1AEEF #EFA1D5
split-complementary
#EFE2A1 #A1D5EF #BBA1EF
monochromatic
#DDC238 #E6D26D #EFE2A1 #F8F2D5 #FBF7E5

Accessibility & contrast

On white

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

On black

16.06
#EFE2A1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFE2A1
16.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFE2A1#FFFFFF#000000##000000
##EFE2A11.001.3116.0616.06
#FFFFFF1.311.0021.0021.00
#00000016.0621.001.001.00
##00000016.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EEDE9D
Deuteranopia (green-blind)
#F2E3A3
Tritanopia (blue-blind)
#FBD9D1
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #efe2a1;
/* rgb */ color: rgb(239, 226, 161);
/* oklch */ color: oklch(90.8% 0.084 98.2);
Tailwind
colors: {
  custom: {
    50: '#f5ebbd',
    500: '#efe2a1',
    950: '#000000',
  },
}
SCSS
$custom: #efe2a1;
$custom-light: #f5ebbd;
$custom-dark: #000000;
JSON
{
  "hex": "#efe2a1",
  "rgb": {
    "r": 239,
    "g": 226,
    "b": 161
  },
  "hsl": {
    "h": 50,
    "s": 70.909,
    "l": 78.431
  },
  "oklch": {
    "l": 0.9081,
    "c": 0.08419,
    "h": 98.2
  },
  "luminance": 0.75317
}

Semantic roles & 50–950 ramp

primary
#EFE2A1
secondary
#6879CC
accent
#33D313
background
#FFFEFD
surface
#FEFDF8
border
#D6D5D1
text
#171612
muted
#858482

Preview Lab

Preview with #EFE2A1

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

Preview Lab → · Contrast checker → · Palette generator →

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