#E2CD72#E2CD72

#E2CD72 is a very light, moderate yellow. Relative luminance 0.610; OKLCH L 84.7% C 0.114 H 96.7°. Best body text is #000000 at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#E2CD72
RGBrgb(226, 205, 114)
HSLhsl(49, 66%, 67%)
HSVhsv(49, 50%, 89%)
CMYKcmyk(0%, 9.3%, 49.6%, 11.4%)
CIE-LABlab(82.40, -4.41, 47.63)
CIE-LCHlch(82.40, 47.83, 95.29°)
OKLaboklab(84.68% -0.0133 0.1135)
OKLCHoklch(84.68% 0.114 96.7)
XYZxyz(56.2344, 61.0485, 24.7377)
Luminance0.6105 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CD72 #7287E2
analogous
#E29572 #E2CD72 #BFE272
triadic
#E2CD72 #72E2CD #CD72E2
tetradic
#E2CD72 #72E295 #7287E2 #E272BF
square
#E2CD72 #72E295 #7287E2 #E272BF
split-complementary
#E2CD72 #72BFE2 #9572E2
monochromatic
#B49A25 #D8BB3F #E2CD72 #ECDFA5 #F7F1D8

Accessibility & contrast

On white

1.59
#E2CD72 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.21
#E2CD72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2CD72
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2CD72#FFFFFF#000000##000000
##E2CD721.001.5913.2113.21
#FFFFFF1.591.0021.0021.00
#00000013.2121.001.001.00
##00000013.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC96A
Deuteranopia (green-blind)
#E3D076
Tritanopia (blue-blind)
#F1C1B8
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #e2cd72;
/* rgb */ color: rgb(226, 205, 114);
/* oklch */ color: oklch(84.7% 0.114 96.7);
Tailwind
colors: {
  custom: {
    50: '#eddc9c',
    500: '#e2cd72',
    950: '#000000',
  },
}
SCSS
$custom: #e2cd72;
$custom-light: #eddc9c;
$custom-dark: #000000;
JSON
{
  "hex": "#e2cd72",
  "rgb": {
    "r": 226,
    "g": 205,
    "b": 114
  },
  "hsl": {
    "h": 48.75,
    "s": 65.882,
    "l": 66.667
  },
  "oklch": {
    "l": 0.84683,
    "c": 0.11425,
    "h": 96.7
  },
  "luminance": 0.61046
}

Semantic roles & 50–950 ramp

primary
#E2CD72
secondary
#4358B5
accent
#3ACE18
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E2CD72

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

Preview Lab → · Contrast checker → · Palette generator →

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