#E2CA74#E2CA74

#E2CA74 is a very light, moderate yellow. Relative luminance 0.597; OKLCH L 84.1% C 0.110 H 94.2°. Best body text is #000000 at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#E2CA74
RGBrgb(226, 202, 116)
HSLhsl(47, 65%, 67%)
HSVhsv(47, 49%, 89%)
CMYKcmyk(0%, 10.6%, 48.7%, 11.4%)
CIE-LABlab(81.66, -2.69, 45.74)
CIE-LCHlch(81.66, 45.82, 93.36°)
OKLaboklab(84.1% -0.0081 0.1095)
OKLCHoklch(84.1% 0.11 94.2)
XYZxyz(55.6387, 59.6730, 25.1069)
Luminance0.5967 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CA74 #748CE2
analogous
#E29374 #E2CA74 #C3E274
triadic
#E2CA74 #74E2CA #CA74E2
tetradic
#E2CA74 #74E293 #748CE2 #E274C3
square
#E2CA74 #74E293 #748CE2 #E274C3
split-complementary
#E2CA74 #74C3E2 #9374E2
monochromatic
#B69626 #D7B741 #E2CA74 #EDDDA7 #F7F1D9

Accessibility & contrast

On white

1.62
#E2CA74 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.93
#E2CA74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2CA74
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2CA74#FFFFFF#000000##000000
##E2CA741.001.6212.9312.93
#FFFFFF1.621.0021.0021.00
#00000012.9321.001.001.00
##00000012.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC76D
Deuteranopia (green-blind)
#E0CE77
Tritanopia (blue-blind)
#F1BEB6
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #e2ca74;
/* rgb */ color: rgb(226, 202, 116);
/* oklch */ color: oklch(84.1% 0.110 94.2);
Tailwind
colors: {
  custom: {
    50: '#edd99e',
    500: '#e2ca74',
    950: '#000000',
  },
}
SCSS
$custom: #e2ca74;
$custom-light: #edd99e;
$custom-dark: #000000;
JSON
{
  "hex": "#e2ca74",
  "rgb": {
    "r": 226,
    "g": 202,
    "b": 116
  },
  "hsl": {
    "h": 46.909,
    "s": 65.476,
    "l": 67.059
  },
  "oklch": {
    "l": 0.84102,
    "c": 0.10976,
    "h": 94.2
  },
  "luminance": 0.59671
}

Semantic roles & 50–950 ramp

primary
#E2CA74
secondary
#445DB6
accent
#40CD18
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#17140E
muted
#85837F

Preview Lab

Preview with #E2CA74

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

Preview Lab → · Contrast checker → · Palette generator →

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