#EFE7A2#EFE7A2

#EFE7A2 is a very light, moderate yellow. Relative luminance 0.781; OKLCH L 91.8% C 0.088 H 102.4°. Best body text is #000000 at 16.62:1 contrast (WCAG AA passes).

Color values

HEX#EFE7A2
RGBrgb(239, 231, 162)
HSLhsl(54, 71%, 79%)
HSVhsv(54, 32%, 94%)
CMYKcmyk(0%, 3.3%, 32.2%, 6.3%)
CIE-LABlab(90.83, -7.46, 34.64)
CIE-LCHlch(90.83, 35.43, 102.15°)
OKLaboklab(91.84% -0.0189 0.0862)
OKLCHoklch(91.84% 0.088 102.4)
XYZxyz(70.6948, 78.1128, 45.5286)
Luminance0.7811 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFE7A2 #A2AAEF
analogous
#EFC0A2 #EFE7A2 #D0EFA2
triadic
#EFE7A2 #A2EFE7 #E7A2EF
tetradic
#EFE7A2 #A2EFC0 #A2AAEF #EFA2D0
square
#EFE7A2 #A2EFC0 #A2AAEF #EFA2D0
split-complementary
#EFE7A2 #A2D0EF #C0A2EF
monochromatic
#DDCC3A #E6DA6E #EFE7A2 #F8F4D6 #FBF8E5

Accessibility & contrast

On white

1.26
#EFE7A2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.62
#EFE7A2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFE7A2
16.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFE7A2#FFFFFF#000000##000000
##EFE7A21.001.2616.6216.62
#FFFFFF1.261.0021.0021.00
#00000016.6221.001.001.00
##00000016.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3E29D
Deuteranopia (green-blind)
#F6E7A5
Tritanopia (blue-blind)
#FADED5
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #efe7a2;
/* rgb */ color: rgb(239, 231, 162);
/* oklch */ color: oklch(91.8% 0.088 102.4);
Tailwind
colors: {
  custom: {
    50: '#f5eebe',
    500: '#efe7a2',
    950: '#000000',
  },
}
SCSS
$custom: #efe7a2;
$custom-light: #f5eebe;
$custom-dark: #000000;
JSON
{
  "hex": "#efe7a2",
  "rgb": {
    "r": 239,
    "g": 231,
    "b": 162
  },
  "hsl": {
    "h": 53.766,
    "s": 70.642,
    "l": 78.627
  },
  "oklch": {
    "l": 0.91835,
    "c": 0.08822,
    "h": 102.4
  },
  "luminance": 0.78111
}

Semantic roles & 50–950 ramp

primary
#EFE7A2
secondary
#6973CC
accent
#27D313
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#171612
muted
#858582

Preview Lab

Preview with #EFE7A2

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

Preview Lab → · Contrast checker → · Palette generator →

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