#E7E27F#E7E27F

#E7E27F is a very light, vivid yellow. Relative luminance 0.729; OKLCH L 89.6% C 0.122 H 106.1°. Best body text is #000000 at 15.58:1 contrast (WCAG AA passes).

Color values

HEX#E7E27F
RGBrgb(231, 226, 127)
HSLhsl(57, 68%, 70%)
HSVhsv(57, 45%, 91%)
CMYKcmyk(0%, 2.2%, 45%, 9.4%)
CIE-LABlab(88.41, -11.82, 48.76)
CIE-LCHlch(88.41, 50.17, 103.63°)
OKLaboklab(89.6% -0.0336 0.1169)
OKLCHoklch(89.6% 0.122 106.1)
XYZxyz(63.9835, 72.9156, 30.7782)
Luminance0.7291 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7E27F #7F84E7
analogous
#E7AE7F #E7E27F #B8E77F
triadic
#E7E27F #7FE7E2 #E27FE7
tetradic
#E7E27F #7FE7AE #7F84E7 #E77FB8
square
#E7E27F #7FE7AE #7F84E7 #E77FB8
split-complementary
#E7E27F #7FB8E7 #AE7FE7
monochromatic
#C6BF25 #DDD64B #E7E27F #F1EEB3 #FAF9E5

Accessibility & contrast

On white

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

On black

15.58
#E7E27F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7E27F
15.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7E27F#FFFFFF#000000##000000
##E7E27F1.001.3515.5815.58
#FFFFFF1.351.0021.0021.00
#00000015.5821.001.001.00
##00000015.5821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e7e27f;
/* rgb */ color: rgb(231, 226, 127);
/* oklch */ color: oklch(89.6% 0.122 106.1);
Tailwind
colors: {
  custom: {
    50: '#f0eaa6',
    500: '#e7e27f',
    950: '#000000',
  },
}
SCSS
$custom: #e7e27f;
$custom-light: #f0eaa6;
$custom-dark: #000000;
JSON
{
  "hex": "#e7e27f",
  "rgb": {
    "r": 231,
    "g": 226,
    "b": 127
  },
  "hsl": {
    "h": 57.115,
    "s": 68.421,
    "l": 70.196
  },
  "oklch": {
    "l": 0.89595,
    "c": 0.12162,
    "h": 106.1
  },
  "luminance": 0.72914
}

Semantic roles & 50–950 ramp

primary
#E7E27F
secondary
#4B50BF
accent
#1ED015
background
#FFFEFC
surface
#FEFDF6
border
#D6D5D0
text
#17160F
muted
#858480

Preview Lab

Preview with #E7E27F

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

Preview Lab → · Contrast checker → · Palette generator →

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