#E2CD74#E2CD74

#E2CD74 is a very light, moderate yellow. Relative luminance 0.611; OKLCH L 84.7% C 0.112 H 96.4°. Best body text is #000000 at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#E2CD74
RGBrgb(226, 205, 116)
HSLhsl(49, 65%, 67%)
HSVhsv(49, 49%, 89%)
CMYKcmyk(0%, 9.3%, 48.7%, 11.4%)
CIE-LABlab(82.43, -4.23, 46.68)
CIE-LCHlch(82.43, 46.87, 95.18°)
OKLaboklab(84.71% -0.0125 0.1115)
OKLCHoklch(84.71% 0.112 96.4)
XYZxyz(56.3495, 61.0945, 25.3438)
Luminance0.6109 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CD74 #7489E2
analogous
#E29674 #E2CD74 #C0E274
triadic
#E2CD74 #74E2CD #CD74E2
tetradic
#E2CD74 #74E296 #7489E2 #E274C0
square
#E2CD74 #74E296 #7489E2 #E274C0
split-complementary
#E2CD74 #74C0E2 #9674E2
monochromatic
#B69A26 #D7BB41 #E2CD74 #EDDFA7 #F7F1D9

Accessibility & contrast

On white

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

On black

13.22
#E2CD74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2CD74
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2CD74#FFFFFF#000000##000000
##E2CD741.001.5913.2213.22
#FFFFFF1.591.0021.0021.00
#00000013.2221.001.001.00
##00000013.2221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e2cd74;
/* rgb */ color: rgb(226, 205, 116);
/* oklch */ color: oklch(84.7% 0.112 96.4);
Tailwind
colors: {
  custom: {
    50: '#eddc9e',
    500: '#e2cd74',
    950: '#000000',
  },
}
SCSS
$custom: #e2cd74;
$custom-light: #eddc9e;
$custom-dark: #000000;
JSON
{
  "hex": "#e2cd74",
  "rgb": {
    "r": 226,
    "g": 205,
    "b": 116
  },
  "hsl": {
    "h": 48.545,
    "s": 65.476,
    "l": 67.059
  },
  "oklch": {
    "l": 0.84711,
    "c": 0.11224,
    "h": 96.4
  },
  "luminance": 0.61092
}

Semantic roles & 50–950 ramp

primary
#E2CD74
secondary
#445AB6
accent
#3BCD18
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E2CD74

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

Preview Lab → · Contrast checker → · Palette generator →

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