#E7E2AF#E7E2AF

#E7E2AF is a very light, moderate yellow. Relative luminance 0.745; OKLCH L 90.4% C 0.067 H 103.0°. Best body text is #000000 at 15.90:1 contrast (WCAG AA passes).

Color values

HEX#E7E2AF
RGBrgb(231, 226, 175)
HSLhsl(55, 54%, 80%)
HSVhsv(55, 24%, 91%)
CMYKcmyk(0%, 2.2%, 24.2%, 9.4%)
CIE-LABlab(89.15, -6.28, 25.61)
CIE-LCHlch(89.15, 26.37, 103.77°)
OKLaboklab(90.42% -0.0149 0.0649)
OKLCHoklch(90.42% 0.067 103)
XYZxyz(67.8892, 74.4779, 51.3485)
Luminance0.7448 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7E2AF #AFB4E7
analogous
#E7C6AF #E7E2AF #D0E7AF
triadic
#E7E2AF #AFE7E2 #E2AFE7
tetradic
#E7E2AF #AFE7C6 #AFB4E7 #E7AFD0
square
#E7E2AF #AFE7C6 #AFB4E7 #E7AFD0
split-complementary
#E7E2AF #AFD0E7 #C6AFE7
monochromatic
#CBC051 #D9D180 #E7E2AF #F5F3DE #F8F6E7

Accessibility & contrast

On white

1.32
#E7E2AF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.90
#E7E2AF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7E2AF
15.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7E2AF#FFFFFF#000000##000000
##E7E2AF1.001.3215.9015.90
#FFFFFF1.321.0021.0021.00
#00000015.9021.001.001.00
##00000015.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBDEAC
Deuteranopia (green-blind)
#EDE1B1
Tritanopia (blue-blind)
#F0DBD4
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #e7e2af;
/* rgb */ color: rgb(231, 226, 175);
/* oklch */ color: oklch(90.4% 0.067 103.0);
Tailwind
colors: {
  custom: {
    50: '#efebc7',
    500: '#e7e2af',
    950: '#000000',
  },
}
SCSS
$custom: #e7e2af;
$custom-light: #efebc7;
$custom-dark: #000000;
JSON
{
  "hex": "#e7e2af",
  "rgb": {
    "r": 231,
    "g": 226,
    "b": 175
  },
  "hsl": {
    "h": 54.643,
    "s": 53.846,
    "l": 79.608
  },
  "oklch": {
    "l": 0.90424,
    "c": 0.06661,
    "h": 103
  },
  "luminance": 0.74477
}

Semantic roles & 50–950 ramp

primary
#E7E2AF
secondary
#787FC2
accent
#32C124
background
#FFFEFD
surface
#FEFDF9
border
#D6D5D2
text
#161613
muted
#858482

Preview Lab

Preview with #E7E2AF

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

Preview Lab → · Contrast checker → · Palette generator →

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