#EFE3A2#EFE3A2

#EFE3A2 is a very light, moderate yellow. Relative luminance 0.759; OKLCH L 91.0% C 0.084 H 98.9°. Best body text is #000000 at 16.18:1 contrast (WCAG AA passes).

Color values

HEX#EFE3A2
RGBrgb(239, 227, 162)
HSLhsl(51, 71%, 79%)
HSVhsv(51, 32%, 94%)
CMYKcmyk(0%, 5%, 32.2%, 6.3%)
CIE-LABlab(89.81, -5.44, 33.28)
CIE-LCHlch(89.81, 33.73, 99.29°)
OKLaboklab(91.03% -0.0131 0.083)
OKLCHoklch(91.03% 0.084 98.9)
XYZxyz(69.5881, 75.8992, 45.1597)
Luminance0.7590 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFE3A2 #A2AEEF
analogous
#EFBCA2 #EFE3A2 #D4EFA2
triadic
#EFE3A2 #A2EFE3 #E3A2EF
tetradic
#EFE3A2 #A2EFBC #A2AEEF #EFA2D4
square
#EFE3A2 #A2EFBC #A2AEEF #EFA2D4
split-complementary
#EFE3A2 #A2D4EF #BCA2EF
monochromatic
#DDC43A #E6D36E #EFE3A2 #F8F3D6 #FBF7E5

Accessibility & contrast

On white

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

On black

16.18
#EFE3A2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFE3A2
16.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFE3A2#FFFFFF#000000##000000
##EFE3A21.001.3016.1816.18
#FFFFFF1.301.0021.0021.00
#00000016.1821.001.001.00
##00000016.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFDF9E
Deuteranopia (green-blind)
#F3E4A4
Tritanopia (blue-blind)
#FADAD2
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #efe3a2;
/* rgb */ color: rgb(239, 227, 162);
/* oklch */ color: oklch(91.0% 0.084 98.9);
Tailwind
colors: {
  custom: {
    50: '#f5ebbe',
    500: '#efe3a2',
    950: '#000000',
  },
}
SCSS
$custom: #efe3a2;
$custom-light: #f5ebbe;
$custom-dark: #000000;
JSON
{
  "hex": "#efe3a2",
  "rgb": {
    "r": 239,
    "g": 227,
    "b": 162
  },
  "hsl": {
    "h": 50.649,
    "s": 70.642,
    "l": 78.627
  },
  "oklch": {
    "l": 0.91029,
    "c": 0.08402,
    "h": 98.9
  },
  "luminance": 0.75898
}

Semantic roles & 50–950 ramp

primary
#EFE3A2
secondary
#6978CC
accent
#31D313
background
#FFFEFD
surface
#FEFDF8
border
#D6D5D1
text
#171612
muted
#858482

Preview Lab

Preview with #EFE3A2

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

Preview Lab → · Contrast checker → · Palette generator →

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