#E4CD70#E4CD70

#E4CD70 is a very light, moderate yellow. Relative luminance 0.613; OKLCH L 84.8% C 0.117 H 95.8°. Best body text is #000000 at 13.27:1 contrast (WCAG AA passes).

Color values

HEX#E4CD70
RGBrgb(228, 205, 112)
HSLhsl(48, 68%, 67%)
HSVhsv(48, 51%, 89%)
CMYKcmyk(0%, 10.1%, 50.9%, 10.6%)
CIE-LABlab(82.56, -3.77, 48.82)
CIE-LCHlch(82.56, 48.96, 94.42°)
OKLaboklab(84.84% -0.0118 0.1159)
OKLCHoklch(84.84% 0.117 95.8)
XYZxyz(56.7528, 61.3288, 24.1743)
Luminance0.6133 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4CD70 #7087E4
analogous
#E49370 #E4CD70 #C1E470
triadic
#E4CD70 #70E4CD #CD70E4
tetradic
#E4CD70 #70E493 #7087E4 #E470C1
square
#E4CD70 #70E493 #7087E4 #E470C1
split-complementary
#E4CD70 #70C1E4 #9370E4
monochromatic
#B79A23 #DABB3D #E4CD70 #EEDFA3 #F7F1D7

Accessibility & contrast

On white

1.58
#E4CD70 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.27
#E4CD70 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4CD70
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4CD70#FFFFFF#000000##000000
##E4CD701.001.5813.2713.27
#FFFFFF1.581.0021.0021.00
#00000013.2721.001.001.00
##00000013.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC968
Deuteranopia (green-blind)
#E4D174
Tritanopia (blue-blind)
#F3C1B7
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #e4cd70;
/* rgb */ color: rgb(228, 205, 112);
/* oklch */ color: oklch(84.8% 0.117 95.8);
Tailwind
colors: {
  custom: {
    50: '#efdc9b',
    500: '#e4cd70',
    950: '#000000',
  },
}
SCSS
$custom: #e4cd70;
$custom-light: #efdc9b;
$custom-dark: #000000;
JSON
{
  "hex": "#e4cd70",
  "rgb": {
    "r": 228,
    "g": 205,
    "b": 112
  },
  "hsl": {
    "h": 48.103,
    "s": 68.235,
    "l": 66.667
  },
  "oklch": {
    "l": 0.84836,
    "c": 0.11651,
    "h": 95.8
  },
  "luminance": 0.61326
}

Semantic roles & 50–950 ramp

primary
#E4CD70
secondary
#4158B7
accent
#3AD015
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E4CD70

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

Preview Lab → · Contrast checker → · Palette generator →

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