#EFE2AB#EFE2AB

#EFE2AB is a very light, moderate yellow. Relative luminance 0.757; OKLCH L 91.0% C 0.072 H 96.4°. Best body text is #000000 at 16.14:1 contrast (WCAG AA passes).

Color values

HEX#EFE2AB
RGBrgb(239, 226, 171)
HSLhsl(49, 68%, 80%)
HSVhsv(49, 28%, 94%)
CMYKcmyk(0%, 5.4%, 28.5%, 6.3%)
CIE-LABlab(89.71, -3.82, 28.55)
CIE-LCHlch(89.71, 28.80, 97.61°)
OKLaboklab(91% -0.008 0.0719)
OKLCHoklch(91% 0.072 96.4)
XYZxyz(70.1442, 75.6853, 49.4339)
Luminance0.7568 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFE2AB #ABB8EF
analogous
#EFC0AB #EFE2AB #DAEFAB
triadic
#EFE2AB #ABEFE2 #E2ABEF
tetradic
#EFE2AB #ABEFC0 #ABB8EF #EFABDA
square
#EFE2AB #ABEFC0 #ABB8EF #EFABDA
split-complementary
#EFE2AB #ABDAEF #C0ABEF
monochromatic
#DBBF44 #E5D078 #EFE2AB #F9F4DE #FAF6E5

Accessibility & contrast

On white

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

On black

16.14
#EFE2AB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFE2AB
16.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFE2AB#FFFFFF#000000##000000
##EFE2AB1.001.3016.1416.14
#FFFFFF1.301.0021.0021.00
#00000016.1421.001.001.00
##00000016.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDDFA7
Deuteranopia (green-blind)
#F1E4AD
Tritanopia (blue-blind)
#FADAD3
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #efe2ab;
/* rgb */ color: rgb(239, 226, 171);
/* oklch */ color: oklch(91.0% 0.072 96.4);
Tailwind
colors: {
  custom: {
    50: '#f5ebc4',
    500: '#efe2ab',
    950: '#000000',
  },
}
SCSS
$custom: #efe2ab;
$custom-light: #f5ebc4;
$custom-dark: #000000;
JSON
{
  "hex": "#efe2ab",
  "rgb": {
    "r": 239,
    "g": 226,
    "b": 171
  },
  "hsl": {
    "h": 48.529,
    "s": 68,
    "l": 80.392
  },
  "oklch": {
    "l": 0.91001,
    "c": 0.07237,
    "h": 96.4
  },
  "luminance": 0.75684
}

Semantic roles & 50–950 ramp

primary
#EFE2AB
secondary
#7183CD
accent
#39D016
background
#FFFEFD
surface
#FEFDF9
border
#D6D5D2
text
#171612
muted
#858482

Preview Lab

Preview with #EFE2AB

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

Preview Lab → · Contrast checker → · Palette generator →

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