#E7E281#E7E281

#E7E281 is a very light, moderate yellow. Relative luminance 0.730; OKLCH L 89.6% C 0.120 H 106.0°. Best body text is #000000 at 15.59:1 contrast (WCAG AA passes).

Color values

HEX#E7E281
RGBrgb(231, 226, 129)
HSLhsl(57, 68%, 71%)
HSVhsv(57, 44%, 91%)
CMYKcmyk(0%, 2.2%, 44.2%, 9.4%)
CIE-LABlab(88.43, -11.63, 47.82)
CIE-LCHlch(88.43, 49.21, 103.67°)
OKLaboklab(89.62% -0.0329 0.1149)
OKLCHoklch(89.62% 0.12 106)
XYZxyz(64.1151, 72.9683, 31.4715)
Luminance0.7297 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7E281 #8186E7
analogous
#E7AF81 #E7E281 #B9E781
triadic
#E7E281 #81E7E2 #E281E7
tetradic
#E7E281 #81E7AF #8186E7 #E781B9
square
#E7E281 #81E7AF #8186E7 #E781B9
split-complementary
#E7E281 #81B9E7 #AF81E7
monochromatic
#C8C026 #DDD64E #E7E281 #F1EEB4 #FAF9E5

Accessibility & contrast

On white

1.35
#E7E281 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.59
#E7E281 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7E281
15.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7E281#FFFFFF#000000##000000
##E7E2811.001.3515.5915.59
#FFFFFF1.351.0021.0021.00
#00000015.5921.001.001.00
##00000015.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1DB79
Deuteranopia (green-blind)
#F3E085
Tritanopia (blue-blind)
#F4D7CB
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #e7e281;
/* rgb */ color: rgb(231, 226, 129);
/* oklch */ color: oklch(89.6% 0.120 106.0);
Tailwind
colors: {
  custom: {
    50: '#f0eba7',
    500: '#e7e281',
    950: '#000000',
  },
}
SCSS
$custom: #e7e281;
$custom-light: #f0eba7;
$custom-dark: #000000;
JSON
{
  "hex": "#e7e281",
  "rgb": {
    "r": 231,
    "g": 226,
    "b": 129
  },
  "hsl": {
    "h": 57.059,
    "s": 68,
    "l": 70.588
  },
  "oklch": {
    "l": 0.89623,
    "c": 0.11956,
    "h": 106
  },
  "luminance": 0.72967
}

Semantic roles & 50–950 ramp

primary
#E7E281
secondary
#4D52C0
accent
#1FD016
background
#FFFEFC
surface
#FEFDF6
border
#D6D5D0
text
#171610
muted
#858480

Preview Lab

Preview with #E7E281

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

Preview Lab → · Contrast checker → · Palette generator →

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