#E7EA7C#E7EA7C

#E7EA7C is a very light, vivid yellow. Relative luminance 0.773; OKLCH L 91.2% C 0.134 H 110.2°. Best body text is #000000 at 16.46:1 contrast (WCAG AA passes).

Color values

HEX#E7EA7C
RGBrgb(231, 234, 124)
HSLhsl(62, 72%, 70%)
HSVhsv(62, 47%, 92%)
CMYKcmyk(1.3%, 0%, 47%, 8.2%)
CIE-LABlab(90.46, -16.06, 52.67)
CIE-LCHlch(90.46, 55.07, 106.95°)
OKLaboklab(91.21% -0.046 0.1253)
OKLCHoklch(91.21% 0.134 110.2)
XYZxyz(66.0172, 77.2912, 30.5059)
Luminance0.7729 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7EA7C #7F7CEA
analogous
#EAB67C #E7EA7C #B0EA7C
triadic
#E7EA7C #7CE7EA #EA7CE7
tetradic
#E7EA7C #7CEAB6 #7F7CEA #EA7CB0
square
#E7EA7C #7CEAB6 #7F7CEA #EA7CB0
split-complementary
#E7EA7C #7CB0EA #B67CEA
monochromatic
#C6CB21 #DDE247 #E7EA7C #F1F2B1 #FAFBE5

Accessibility & contrast

On white

1.28
#E7EA7C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.46
#E7EA7C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7EA7C
16.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7EA7C#FFFFFF#000000##000000
##E7EA7C1.001.2816.4616.46
#FFFFFF1.281.0021.0021.00
#00000016.4621.001.001.00
##00000016.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E272
Deuteranopia (green-blind)
#FAE581
Tritanopia (blue-blind)
#F4DED0
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #e7ea7c;
/* rgb */ color: rgb(231, 234, 124);
/* oklch */ color: oklch(91.2% 0.134 110.2);
Tailwind
colors: {
  custom: {
    50: '#f0f0a4',
    500: '#e7ea7c',
    950: '#000000',
  },
}
SCSS
$custom: #e7ea7c;
$custom-light: #f0f0a4;
$custom-dark: #000000;
JSON
{
  "hex": "#e7ea7c",
  "rgb": {
    "r": 231,
    "g": 234,
    "b": 124
  },
  "hsl": {
    "h": 61.636,
    "s": 72.368,
    "l": 70.196
  },
  "oklch": {
    "l": 0.91213,
    "c": 0.1335,
    "h": 110.2
  },
  "luminance": 0.7729
}

Semantic roles & 50–950 ramp

primary
#E7EA7C
secondary
#4B47C3
accent
#11D416
background
#FFFFFC
surface
#FEFEF6
border
#D6D6D0
text
#17160F
muted
#858580

Preview Lab

Preview with #E7EA7C

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

Preview Lab → · Contrast checker → · Palette generator →

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