#E7C754#E7C754

#E7C754 is a very light, vivid yellow. Relative luminance 0.585; OKLCH L 83.6% C 0.137 H 93.6°. Best body text is #000000 at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#E7C754
RGBrgb(231, 199, 84)
HSLhsl(47, 75%, 62%)
HSVhsv(47, 64%, 91%)
CMYKcmyk(0%, 13.9%, 63.6%, 9.4%)
CIE-LABlab(81.00, -1.51, 60.03)
CIE-LCHlch(81.00, 60.05, 91.44°)
OKLaboklab(83.58% -0.0087 0.1368)
OKLCHoklch(83.58% 0.137 93.6)
XYZxyz(54.9812, 58.4787, 16.7773)
Luminance0.5848 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7C754 #5474E7
analogous
#E77E54 #E7C754 #BEE754
triadic
#E7C754 #54E7C7 #C754E7
tetradic
#E7C754 #54E77E #5474E7 #E754BE
square
#E7C754 #54E77E #5474E7 #E754BE
split-complementary
#E7C754 #54BEE7 #7E54E7
monochromatic
#A98918 #DFB51F #E7C754 #EFD98A #F6EABF

Accessibility & contrast

On white

1.65
#E7C754 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.70
#E7C754 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7C754
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7C754#FFFFFF#000000##000000
##E7C7541.001.6512.7012.70
#FFFFFF1.651.0021.0021.00
#00000012.7021.001.001.00
##00000012.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC447
Deuteranopia (green-blind)
#E3CD59
Tritanopia (blue-blind)
#F9B8AE
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #e7c754;
/* rgb */ color: rgb(231, 199, 84);
/* oklch */ color: oklch(83.6% 0.137 93.6);
Tailwind
colors: {
  custom: {
    50: '#f2d789',
    500: '#e7c754',
    950: '#000000',
  },
}
SCSS
$custom: #e7c754;
$custom-light: #f2d789;
$custom-dark: #000000;
JSON
{
  "hex": "#e7c754",
  "rgb": {
    "r": 231,
    "g": 199,
    "b": 84
  },
  "hsl": {
    "h": 46.939,
    "s": 75.385,
    "l": 61.765
  },
  "oklch": {
    "l": 0.8358,
    "c": 0.1371,
    "h": 93.6
  },
  "luminance": 0.58476
}

Semantic roles & 50–950 ramp

primary
#E7C754
secondary
#354EAA
accent
#3AD80E
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E7C754

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

Preview Lab → · Contrast checker → · Palette generator →

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