#E2C754#E2C754

#E2C754 is a very light, vivid yellow. Relative luminance 0.577; OKLCH L 83.1% C 0.136 H 96.0°. Best body text is #000000 at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#E2C754
RGBrgb(226, 199, 84)
HSLhsl(49, 71%, 61%)
HSVhsv(49, 63%, 89%)
CMYKcmyk(0%, 11.9%, 62.8%, 11.4%)
CIE-LABlab(80.55, -3.61, 59.40)
CIE-LCHlch(80.55, 59.51, 93.47°)
OKLaboklab(83.11% -0.0144 0.1356)
OKLCHoklch(83.11% 0.136 96)
XYZxyz(53.3901, 57.6583, 16.7027)
Luminance0.5766 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2C754 #546FE2
analogous
#E28054 #E2C754 #B6E254
triadic
#E2C754 #54E2C7 #C754E2
tetradic
#E2C754 #54E280 #546FE2 #E254B6
square
#E2C754 #54E280 #546FE2 #E254B6
split-complementary
#E2C754 #54B6E2 #8054E2
monochromatic
#A0871B #D5B324 #E2C754 #EBD888 #F4E9BD

Accessibility & contrast

On white

1.68
#E2C754 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.53
#E2C754 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2C754
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2C754#FFFFFF#000000##000000
##E2C7541.001.6812.5312.53
#FFFFFF1.681.0021.0021.00
#00000012.5321.001.001.00
##00000012.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC347
Deuteranopia (green-blind)
#E1CC5A
Tritanopia (blue-blind)
#F3B9AE
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #e2c754;
/* rgb */ color: rgb(226, 199, 84);
/* oklch */ color: oklch(83.1% 0.136 96.0);
Tailwind
colors: {
  custom: {
    50: '#eed789',
    500: '#e2c754',
    950: '#000000',
  },
}
SCSS
$custom: #e2c754;
$custom-light: #eed789;
$custom-dark: #000000;
JSON
{
  "hex": "#e2c754",
  "rgb": {
    "r": 226,
    "g": 199,
    "b": 84
  },
  "hsl": {
    "h": 48.592,
    "s": 71,
    "l": 60.784
  },
  "oklch": {
    "l": 0.83113,
    "c": 0.1364,
    "h": 96
  },
  "luminance": 0.57656
}

Semantic roles & 50–950 ramp

primary
#E2C754
secondary
#374BA3
accent
#37D312
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E2C754

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

Preview Lab → · Contrast checker → · Palette generator →

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