#E2CE40#E2CE40

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

Color values

HEX#E2CE40
RGBrgb(226, 206, 64)
HSLhsl(53, 74%, 57%)
HSVhsv(53, 72%, 89%)
CMYKcmyk(0%, 8.8%, 71.7%, 11.4%)
CIE-LABlab(82.21, -8.27, 69.11)
CIE-LCHlch(82.21, 69.60, 96.82°)
OKLaboklab(84.38% -0.0299 0.1529)
OKLCHoklch(84.38% 0.156 101)
XYZxyz(54.3632, 60.6840, 13.6992)
Luminance0.6068 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CE40 #4054E2
analogous
#E27D40 #E2CE40 #A5E240
triadic
#E2CE40 #40E2CE #CE40E2
tetradic
#E2CE40 #40E27D #4054E2 #E240A5
square
#E2CE40 #40E27D #4054E2 #E240A5
split-complementary
#E2CE40 #40A5E2 #7D40E2
monochromatic
#928216 #C7B21E #E2CE40 #EADC75 #F2E9AA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E2CE40#FFFFFF#000000##000000
##E2CE401.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)
#E1C828
Deuteranopia (green-blind)
#E7D049
Tritanopia (blue-blind)
#F3BFB2
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #e2ce40;
/* rgb */ color: rgb(226, 206, 64);
/* oklch */ color: oklch(84.4% 0.156 101.0);
Tailwind
colors: {
  custom: {
    50: '#efdc7e',
    500: '#e2ce40',
    950: '#000000',
  },
}
SCSS
$custom: #e2ce40;
$custom-light: #efdc7e;
$custom-dark: #000000;
JSON
{
  "hex": "#e2ce40",
  "rgb": {
    "r": 226,
    "g": 206,
    "b": 64
  },
  "hsl": {
    "h": 52.593,
    "s": 73.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.84381,
    "c": 0.15582,
    "h": 101
  },
  "luminance": 0.60682
}

Semantic roles & 50–950 ramp

primary
#E2CE40
secondary
#303D96
accent
#4EF038
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17150A
muted
#85847D

Preview Lab

Preview with #E2CE40

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

Preview Lab → · Contrast checker → · Palette generator →

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