#E2CD62#E2CD62

#E2CD62 is a very light, vivid yellow. Relative luminance 0.607; OKLCH L 84.5% C 0.129 H 98.4°. Best body text is #000000 at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#E2CD62
RGBrgb(226, 205, 98)
HSLhsl(50, 69%, 64%)
HSVhsv(50, 57%, 89%)
CMYKcmyk(0%, 9.3%, 56.6%, 11.4%)
CIE-LABlab(82.23, -5.72, 55.00)
CIE-LCHlch(82.23, 55.29, 95.93°)
OKLaboklab(84.48% -0.0188 0.128)
OKLCHoklch(84.48% 0.129 98.4)
XYZxyz(55.4020, 60.7156, 20.3539)
Luminance0.6071 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CD62 #6277E2
analogous
#E28D62 #E2CD62 #B7E262
triadic
#E2CD62 #62E2CD #CD62E2
tetradic
#E2CD62 #62E28D #6277E2 #E262B7
square
#E2CD62 #62E28D #6277E2 #E262B7
split-complementary
#E2CD62 #62B7E2 #8D62E2
monochromatic
#AA931F #D8BD2E #E2CD62 #ECDD96 #F5EEC9

Accessibility & contrast

On white

1.60
#E2CD62 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.14
#E2CD62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2CD62
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2CD62#FFFFFF#000000##000000
##E2CD621.001.6013.1413.14
#FFFFFF1.601.0021.0021.00
#00000013.1421.001.001.00
##00000013.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC857
Deuteranopia (green-blind)
#E4D067
Tritanopia (blue-blind)
#F2C0B5
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #e2cd62;
/* rgb */ color: rgb(226, 205, 98);
/* oklch */ color: oklch(84.5% 0.129 98.4);
Tailwind
colors: {
  custom: {
    50: '#eedc92',
    500: '#e2cd62',
    950: '#000000',
  },
}
SCSS
$custom: #e2cd62;
$custom-light: #eedc92;
$custom-dark: #000000;
JSON
{
  "hex": "#e2cd62",
  "rgb": {
    "r": 226,
    "g": 205,
    "b": 98
  },
  "hsl": {
    "h": 50.156,
    "s": 68.817,
    "l": 63.529
  },
  "oklch": {
    "l": 0.84483,
    "c": 0.12938,
    "h": 98.4
  },
  "luminance": 0.60713
}

Semantic roles & 50–950 ramp

primary
#E2CD62
secondary
#3C4FAC
accent
#34D115
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E2CD62

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

Preview Lab → · Contrast checker → · Palette generator →

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