#E7E27A#E7E27A

#E7E27A is a very light, vivid yellow. Relative luminance 0.728; OKLCH L 89.5% C 0.127 H 106.2°. Best body text is #000000 at 15.56:1 contrast (WCAG AA passes).

Color values

HEX#E7E27A
RGBrgb(231, 226, 122)
HSLhsl(57, 69%, 69%)
HSVhsv(57, 47%, 91%)
CMYKcmyk(0%, 2.2%, 47.2%, 9.4%)
CIE-LABlab(88.35, -12.29, 51.07)
CIE-LCHlch(88.35, 52.53, 103.53°)
OKLaboklab(89.53% -0.0354 0.1217)
OKLCHoklch(89.53% 0.127 106.2)
XYZxyz(63.6657, 72.7885, 29.1044)
Luminance0.7279 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7E27A #7A7FE7
analogous
#E7AC7A #E7E27A #B6E77A
triadic
#E7E27A #7AE7E2 #E27AE7
tetradic
#E7E27A #7AE7AC #7A7FE7 #E77AB6
square
#E7E27A #7AE7AC #7A7FE7 #E77AB6
split-complementary
#E7E27A #7AB6E7 #AC7AE7
monochromatic
#C3BC23 #DED746 #E7E27A #F0EDAE #FAF9E2

Accessibility & contrast

On white

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

On black

15.56
#E7E27A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7E27A
15.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7E27A#FFFFFF#000000##000000
##E7E27A1.001.3515.5615.56
#FFFFFF1.351.0021.0021.00
#00000015.5621.001.001.00
##00000015.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1DB71
Deuteranopia (green-blind)
#F4E07F
Tritanopia (blue-blind)
#F5D6CA
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #e7e27a;
/* rgb */ color: rgb(231, 226, 122);
/* oklch */ color: oklch(89.5% 0.127 106.2);
Tailwind
colors: {
  custom: {
    50: '#f0eaa2',
    500: '#e7e27a',
    950: '#000000',
  },
}
SCSS
$custom: #e7e27a;
$custom-light: #f0eaa2;
$custom-dark: #000000;
JSON
{
  "hex": "#e7e27a",
  "rgb": {
    "r": 231,
    "g": 226,
    "b": 122
  },
  "hsl": {
    "h": 57.248,
    "s": 69.427,
    "l": 69.216
  },
  "oklch": {
    "l": 0.89527,
    "c": 0.12671,
    "h": 106.2
  },
  "luminance": 0.72787
}

Semantic roles & 50–950 ramp

primary
#E7E27A
secondary
#464CBF
accent
#1DD114
background
#FFFEFC
surface
#FEFDF6
border
#D6D5D0
text
#17160F
muted
#858480

Preview Lab

Preview with #E7E27A

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

Preview Lab → · Contrast checker → · Palette generator →

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