#EFE7A5#EFE7A5

#EFE7A5 is a very light, moderate yellow. Relative luminance 0.782; OKLCH L 91.9% C 0.085 H 102.0°. Best body text is #000000 at 16.64:1 contrast (WCAG AA passes).

Color values

HEX#EFE7A5
RGBrgb(239, 231, 165)
HSLhsl(54, 70%, 79%)
HSVhsv(54, 31%, 94%)
CMYKcmyk(0%, 3.3%, 31%, 6.3%)
CIE-LABlab(90.88, -7.09, 33.18)
CIE-LCHlch(90.88, 33.93, 102.07°)
OKLaboklab(91.89% -0.0177 0.0828)
OKLCHoklch(91.89% 0.085 102)
XYZxyz(70.9647, 78.2207, 46.9498)
Luminance0.7822 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFE7A5 #A5ADEF
analogous
#EFC2A5 #EFE7A5 #D2EFA5
triadic
#EFE7A5 #A5EFE7 #E7A5EF
tetradic
#EFE7A5 #A5EFC2 #A5ADEF #EFA5D2
square
#EFE7A5 #A5EFC2 #A5ADEF #EFA5D2
split-complementary
#EFE7A5 #A5D2EF #C2A5EF
monochromatic
#DDCB3D #E6D971 #EFE7A5 #F8F5D9 #FAF8E5

Accessibility & contrast

On white

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

On black

16.64
#EFE7A5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFE7A5
16.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFE7A5#FFFFFF#000000##000000
##EFE7A51.001.2616.6416.64
#FFFFFF1.261.0021.0021.00
#00000016.6421.001.001.00
##00000016.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3E3A1
Deuteranopia (green-blind)
#F6E7A7
Tritanopia (blue-blind)
#FADED6
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #efe7a5;
/* rgb */ color: rgb(239, 231, 165);
/* oklch */ color: oklch(91.9% 0.085 102.0);
Tailwind
colors: {
  custom: {
    50: '#f5eec0',
    500: '#efe7a5',
    950: '#000000',
  },
}
SCSS
$custom: #efe7a5;
$custom-light: #f5eec0;
$custom-dark: #000000;
JSON
{
  "hex": "#efe7a5",
  "rgb": {
    "r": 239,
    "g": 231,
    "b": 165
  },
  "hsl": {
    "h": 53.514,
    "s": 69.811,
    "l": 79.216
  },
  "oklch": {
    "l": 0.9189,
    "c": 0.0847,
    "h": 102
  },
  "luminance": 0.78219
}

Semantic roles & 50–950 ramp

primary
#EFE7A5
secondary
#6C76CC
accent
#28D214
background
#FFFFFD
surface
#FEFEF9
border
#D6D6D2
text
#171612
muted
#858582

Preview Lab

Preview with #EFE7A5

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

Preview Lab → · Contrast checker → · Palette generator →

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