#E4C770#E4C770

#E4C770 is a very light, moderate yellow. Relative luminance 0.585; OKLCH L 83.6% C 0.112 H 91.4°. Best body text is #000000 at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#E4C770
RGBrgb(228, 199, 112)
HSLhsl(45, 68%, 67%)
HSVhsv(45, 51%, 89%)
CMYKcmyk(0%, 12.7%, 50.9%, 10.6%)
CIE-LABlab(81.02, -0.68, 46.97)
CIE-LCHlch(81.02, 46.97, 90.83°)
OKLaboklab(83.63% -0.0028 0.1118)
OKLCHoklch(83.63% 0.112 91.4)
XYZxyz(55.3450, 58.5132, 23.7050)
Luminance0.5851 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4C770 #708DE4
analogous
#E48D70 #E4C770 #C7E470
triadic
#E4C770 #70E4C7 #C770E4
tetradic
#E4C770 #70E48D #708DE4 #E470C7
square
#E4C770 #70E48D #708DE4 #E470C7
split-complementary
#E4C770 #70C7E4 #8D70E4
monochromatic
#B79223 #DAB33D #E4C770 #EEDBA3 #F7EFD7

Accessibility & contrast

On white

1.65
#E4C770 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.70
#E4C770 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4C770
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4C770#FFFFFF#000000##000000
##E4C7701.001.6512.7012.70
#FFFFFF1.651.0021.0021.00
#00000012.7021.001.001.00
##00000012.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C469
Deuteranopia (green-blind)
#DFCD73
Tritanopia (blue-blind)
#F4BBB2
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #e4c770;
/* rgb */ color: rgb(228, 199, 112);
/* oklch */ color: oklch(83.6% 0.112 91.4);
Tailwind
colors: {
  custom: {
    50: '#efd79b',
    500: '#e4c770',
    950: '#000000',
  },
}
SCSS
$custom: #e4c770;
$custom-light: #efd79b;
$custom-dark: #000000;
JSON
{
  "hex": "#e4c770",
  "rgb": {
    "r": 228,
    "g": 199,
    "b": 112
  },
  "hsl": {
    "h": 45,
    "s": 68.235,
    "l": 66.667
  },
  "oklch": {
    "l": 0.83625,
    "c": 0.11187,
    "h": 91.4
  },
  "luminance": 0.58511
}

Semantic roles & 50–950 ramp

primary
#E4C770
secondary
#415EB7
accent
#44D015
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#17140E
muted
#85837F

Preview Lab

Preview with #E4C770

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

Preview Lab → · Contrast checker → · Palette generator →

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