#E2C654#E2C654

#E2C654 is a very light, vivid yellow. Relative luminance 0.572; OKLCH L 82.9% C 0.136 H 95.5°. Best body text is #000000 at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#E2C654
RGBrgb(226, 198, 84)
HSLhsl(48, 71%, 61%)
HSVhsv(48, 63%, 89%)
CMYKcmyk(0%, 12.4%, 62.8%, 11.4%)
CIE-LABlab(80.29, -3.09, 59.12)
CIE-LCHlch(80.29, 59.20, 92.99°)
OKLaboklab(82.91% -0.0129 0.135)
OKLCHoklch(82.91% 0.136 95.5)
XYZxyz(53.1607, 57.1996, 16.6263)
Luminance0.5720 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2C654 #5470E2
analogous
#E27F54 #E2C654 #B7E254
triadic
#E2C654 #54E2C6 #C654E2
tetradic
#E2C654 #54E27F #5470E2 #E254B7
square
#E2C654 #54E27F #5470E2 #E254B7
split-complementary
#E2C654 #54B7E2 #7F54E2
monochromatic
#A0861B #D5B224 #E2C654 #EBD788 #F4E9BD

Accessibility & contrast

On white

1.69
#E2C654 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.44
#E2C654 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2C654
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2C654#FFFFFF#000000##000000
##E2C6541.001.6912.4412.44
#FFFFFF1.691.0021.0021.00
#00000012.4421.001.001.00
##00000012.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C247
Deuteranopia (green-blind)
#E0CB5A
Tritanopia (blue-blind)
#F3B8AE
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #e2c654;
/* rgb */ color: rgb(226, 198, 84);
/* oklch */ color: oklch(82.9% 0.136 95.5);
Tailwind
colors: {
  custom: {
    50: '#eed789',
    500: '#e2c654',
    950: '#000000',
  },
}
SCSS
$custom: #e2c654;
$custom-light: #eed789;
$custom-dark: #000000;
JSON
{
  "hex": "#e2c654",
  "rgb": {
    "r": 226,
    "g": 198,
    "b": 84
  },
  "hsl": {
    "h": 48.169,
    "s": 71,
    "l": 60.784
  },
  "oklch": {
    "l": 0.8291,
    "c": 0.13565,
    "h": 95.5
  },
  "luminance": 0.57197
}

Semantic roles & 50–950 ramp

primary
#E2C654
secondary
#374CA3
accent
#38D312
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E2C654

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

Preview Lab → · Contrast checker → · Palette generator →

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