#EFE2A8#EFE2A8

#EFE2A8 is a very light, moderate yellow. Relative luminance 0.756; OKLCH L 90.9% C 0.076 H 97.0°. Best body text is #000000 at 16.11:1 contrast (WCAG AA passes).

Color values

HEX#EFE2A8
RGBrgb(239, 226, 168)
HSLhsl(49, 69%, 80%)
HSVhsv(49, 30%, 94%)
CMYKcmyk(0%, 5.4%, 29.7%, 6.3%)
CIE-LABlab(89.66, -4.20, 30.02)
CIE-LCHlch(89.66, 30.31, 97.96°)
OKLaboklab(90.94% -0.0092 0.0754)
OKLCHoklch(90.94% 0.076 97)
XYZxyz(69.8614, 75.5723, 47.9450)
Luminance0.7557 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFE2A8 #A8B5EF
analogous
#EFBFA8 #EFE2A8 #D9EFA8
triadic
#EFE2A8 #A8EFE2 #E2A8EF
tetradic
#EFE2A8 #A8EFBF #A8B5EF #EFA8D9
square
#EFE2A8 #A8EFBF #A8B5EF #EFA8D9
split-complementary
#EFE2A8 #A8D9EF #BFA8EF
monochromatic
#DCC041 #E5D174 #EFE2A8 #F9F3DC #FAF6E5

Accessibility & contrast

On white

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

On black

16.11
#EFE2A8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFE2A8
16.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFE2A8#FFFFFF#000000##000000
##EFE2A81.001.3016.1116.11
#FFFFFF1.301.0021.0021.00
#00000016.1121.001.001.00
##00000016.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EEDFA4
Deuteranopia (green-blind)
#F1E3AA
Tritanopia (blue-blind)
#FADAD3
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #efe2a8;
/* rgb */ color: rgb(239, 226, 168);
/* oklch */ color: oklch(90.9% 0.076 97.0);
Tailwind
colors: {
  custom: {
    50: '#f5ebc2',
    500: '#efe2a8',
    950: '#000000',
  },
}
SCSS
$custom: #efe2a8;
$custom-light: #f5ebc2;
$custom-dark: #000000;
JSON
{
  "hex": "#efe2a8",
  "rgb": {
    "r": 239,
    "g": 226,
    "b": 168
  },
  "hsl": {
    "h": 49.014,
    "s": 68.932,
    "l": 79.804
  },
  "oklch": {
    "l": 0.90942,
    "c": 0.07594,
    "h": 97
  },
  "luminance": 0.75571
}

Semantic roles & 50–950 ramp

primary
#EFE2A8
secondary
#6F80CD
accent
#37D115
background
#FFFEFD
surface
#FEFDF9
border
#D6D5D2
text
#171612
muted
#858482

Preview Lab

Preview with #EFE2A8

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

Preview Lab → · Contrast checker → · Palette generator →

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