#E7E272#E7E272

#E7E272 is a very light, vivid yellow. Relative luminance 0.726; OKLCH L 89.4% C 0.135 H 106.5°. Best body text is #000000 at 15.52:1 contrast (WCAG AA passes).

Color values

HEX#E7E272
RGBrgb(231, 226, 114)
HSLhsl(57, 71%, 68%)
HSVhsv(57, 51%, 91%)
CMYKcmyk(0%, 2.2%, 50.6%, 9.4%)
CIE-LABlab(88.26, -12.99, 54.72)
CIE-LCHlch(88.26, 56.24, 103.35°)
OKLaboklab(89.43% -0.0382 0.129)
OKLCHoklch(89.43% 0.135 106.5)
XYZxyz(63.1903, 72.5983, 26.6005)
Luminance0.7260 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7E272 #7277E7
analogous
#E7A872 #E7E272 #B1E772
triadic
#E7E272 #72E7E2 #E272E7
tetradic
#E7E272 #72E7A8 #7277E7 #E772B1
square
#E7E272 #72E7A8 #7277E7 #E772B1
split-complementary
#E7E272 #72B1E7 #A872E7
monochromatic
#BEB720 #DED73E #E7E272 #F0EDA6 #F9F8DB

Accessibility & contrast

On white

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

On black

15.52
#E7E272 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7E272
15.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7E272#FFFFFF#000000##000000
##E7E2721.001.3515.5215.52
#FFFFFF1.351.0021.0021.00
#00000015.5221.001.001.00
##00000015.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DB68
Deuteranopia (green-blind)
#F5E078
Tritanopia (blue-blind)
#F5D6C8
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #e7e272;
/* rgb */ color: rgb(231, 226, 114);
/* oklch */ color: oklch(89.4% 0.135 106.5);
Tailwind
colors: {
  custom: {
    50: '#f1ea9d',
    500: '#e7e272',
    950: '#000000',
  },
}
SCSS
$custom: #e7e272;
$custom-light: #f1ea9d;
$custom-dark: #000000;
JSON
{
  "hex": "#e7e272",
  "rgb": {
    "r": 231,
    "g": 226,
    "b": 114
  },
  "hsl": {
    "h": 57.436,
    "s": 70.909,
    "l": 67.647
  },
  "oklch": {
    "l": 0.89425,
    "c": 0.13451,
    "h": 106.5
  },
  "luminance": 0.72597
}

Semantic roles & 50–950 ramp

primary
#E7E272
secondary
#4045BD
accent
#1BD313
background
#FFFEFC
surface
#FEFDF5
border
#D6D5CF
text
#17160E
muted
#85847F

Preview Lab

Preview with #E7E272

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

Preview Lab → · Contrast checker → · Palette generator →

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