#E4E672#E4E672

#E4E672 is a very light, vivid yellow. Relative luminance 0.743; OKLCH L 90.0% C 0.139 H 109.8°. Best body text is #000000 at 15.86:1 contrast (WCAG AA passes).

Color values

HEX#E4E672
RGBrgb(228, 230, 114)
HSLhsl(61, 70%, 67%)
HSVhsv(61, 50%, 90%)
CMYKcmyk(0.9%, 0%, 50.4%, 9.8%)
CIE-LABlab(89.07, -16.16, 55.62)
CIE-LCHlch(89.07, 57.92, 106.20°)
OKLaboklab(90.01% -0.0471 0.131)
OKLCHoklch(90.01% 0.139 109.8)
XYZxyz(63.3304, 74.3040, 26.9223)
Luminance0.7430 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4E672 #7472E6
analogous
#E6AE72 #E4E672 #AAE672
triadic
#E4E672 #72E4E6 #E672E4
tetradic
#E4E672 #72E6AE #7472E6 #E672AA
square
#E4E672 #72E6AE #7472E6 #E672AA
split-complementary
#E4E672 #72AAE6 #AE72E6
monochromatic
#BABC21 #DADD3E #E4E672 #EEEFA6 #F8F8DA

Accessibility & contrast

On white

1.32
#E4E672 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.86
#E4E672 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4E672
15.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4E672#FFFFFF#000000##000000
##E4E6721.001.3215.8615.86
#FFFFFF1.321.0021.0021.00
#00000015.8621.001.001.00
##00000015.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DE67
Deuteranopia (green-blind)
#F7E278
Tritanopia (blue-blind)
#F1DACC
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #e4e672;
/* rgb */ color: rgb(228, 230, 114);
/* oklch */ color: oklch(90.0% 0.139 109.8);
Tailwind
colors: {
  custom: {
    50: '#efed9d',
    500: '#e4e672',
    950: '#000000',
  },
}
SCSS
$custom: #e4e672;
$custom-light: #efed9d;
$custom-dark: #000000;
JSON
{
  "hex": "#e4e672",
  "rgb": {
    "r": 228,
    "g": 230,
    "b": 114
  },
  "hsl": {
    "h": 61.034,
    "s": 69.88,
    "l": 67.451
  },
  "oklch": {
    "l": 0.90013,
    "c": 0.13917,
    "h": 109.8
  },
  "luminance": 0.74303
}

Semantic roles & 50–950 ramp

primary
#E4E672
secondary
#4340BC
accent
#14D217
background
#FFFEFC
surface
#FEFDF5
border
#D6D5CF
text
#17160E
muted
#85847F

Preview Lab

Preview with #E4E672

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

Preview Lab → · Contrast checker → · Palette generator →

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