#E4D27E#E4D27E

#E4D27E is a very light, moderate yellow. Relative luminance 0.641; OKLCH L 86.0% C 0.107 H 97.6°. Best body text is #000000 at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#E4D27E
RGBrgb(228, 210, 126)
HSLhsl(49, 65%, 69%)
HSVhsv(49, 45%, 89%)
CMYKcmyk(0%, 7.9%, 44.7%, 10.6%)
CIE-LABlab(84.02, -5.04, 43.75)
CIE-LCHlch(84.02, 44.04, 96.57°)
OKLaboklab(86.05% -0.014 0.1057)
OKLCHoklch(86.05% 0.107 97.6)
XYZxyz(58.8089, 64.0956, 29.0085)
Luminance0.6409 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4D27E #7E90E4
analogous
#E49F7E #E4D27E #C3E47E
triadic
#E4D27E #7EE4D2 #D27EE4
tetradic
#E4D27E #7EE49F #7E90E4 #E47EC3
square
#E4D27E #7EE49F #7E90E4 #E47EC3
split-complementary
#E4D27E #7EC3E4 #9F7EE4
monochromatic
#C0A528 #D9C04B #E4D27E #EFE4B1 #F9F5E3

Accessibility & contrast

On white

1.52
#E4D27E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.82
#E4D27E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4D27E
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4D27E#FFFFFF#000000##000000
##E4D27E1.001.5213.8213.82
#FFFFFF1.521.0021.0021.00
#00000013.8221.001.001.00
##00000013.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CE77
Deuteranopia (green-blind)
#E6D481
Tritanopia (blue-blind)
#F2C7BE
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #e4d27e;
/* rgb */ color: rgb(228, 210, 126);
/* oklch */ color: oklch(86.0% 0.107 97.6);
Tailwind
colors: {
  custom: {
    50: '#eedfa5',
    500: '#e4d27e',
    950: '#000000',
  },
}
SCSS
$custom: #e4d27e;
$custom-light: #eedfa5;
$custom-dark: #000000;
JSON
{
  "hex": "#e4d27e",
  "rgb": {
    "r": 228,
    "g": 210,
    "b": 126
  },
  "hsl": {
    "h": 49.412,
    "s": 65.385,
    "l": 69.412
  },
  "oklch": {
    "l": 0.86048,
    "c": 0.1066,
    "h": 97.6
  },
  "luminance": 0.64094
}

Semantic roles & 50–950 ramp

primary
#E4D27E
secondary
#4A5EBC
accent
#38CD18
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#17150F
muted
#858480

Preview Lab

Preview with #E4D27E

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

Preview Lab → · Contrast checker → · Palette generator →

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