#EFE4A2#EFE4A2

#EFE4A2 is a very light, moderate yellow. Relative luminance 0.764; OKLCH L 91.2% C 0.085 H 99.8°. Best body text is #000000 at 16.29:1 contrast (WCAG AA passes).

Color values

HEX#EFE4A2
RGBrgb(239, 228, 162)
HSLhsl(51, 71%, 79%)
HSVhsv(51, 32%, 94%)
CMYKcmyk(0%, 4.6%, 32.2%, 6.3%)
CIE-LABlab(90.07, -5.95, 33.62)
CIE-LCHlch(90.07, 34.14, 100.03°)
OKLaboklab(91.23% -0.0145 0.0838)
OKLCHoklch(91.23% 0.085 99.8)
XYZxyz(69.8623, 76.4478, 45.2511)
Luminance0.7645 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFE4A2 #A2ADEF
analogous
#EFBDA2 #EFE4A2 #D3EFA2
triadic
#EFE4A2 #A2EFE4 #E4A2EF
tetradic
#EFE4A2 #A2EFBD #A2ADEF #EFA2D3
square
#EFE4A2 #A2EFBD #A2ADEF #EFA2D3
split-complementary
#EFE4A2 #A2D3EF #BDA2EF
monochromatic
#DDC63A #E6D56E #EFE4A2 #F8F3D6 #FBF7E5

Accessibility & contrast

On white

1.29
#EFE4A2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.29
#EFE4A2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFE4A2
16.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFE4A2#FFFFFF#000000##000000
##EFE4A21.001.2916.2916.29
#FFFFFF1.291.0021.0021.00
#00000016.2921.001.001.00
##00000016.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0E09D
Deuteranopia (green-blind)
#F4E5A4
Tritanopia (blue-blind)
#FADBD3
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #efe4a2;
/* rgb */ color: rgb(239, 228, 162);
/* oklch */ color: oklch(91.2% 0.085 99.8);
Tailwind
colors: {
  custom: {
    50: '#f5ecbe',
    500: '#efe4a2',
    950: '#000000',
  },
}
SCSS
$custom: #efe4a2;
$custom-light: #f5ecbe;
$custom-dark: #000000;
JSON
{
  "hex": "#efe4a2",
  "rgb": {
    "r": 239,
    "g": 228,
    "b": 162
  },
  "hsl": {
    "h": 51.429,
    "s": 70.642,
    "l": 78.627
  },
  "oklch": {
    "l": 0.9123,
    "c": 0.08505,
    "h": 99.8
  },
  "luminance": 0.76446
}

Semantic roles & 50–950 ramp

primary
#EFE4A2
secondary
#6977CC
accent
#2ED313
background
#FFFEFD
surface
#FEFDF8
border
#D6D5D1
text
#171612
muted
#858482

Preview Lab

Preview with #EFE4A2

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

Preview Lab → · Contrast checker → · Palette generator →

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