#E7C94F#E7C94F

#E7C94F is a very light, vivid yellow. Relative luminance 0.593; OKLCH L 83.9% C 0.142 H 95.3°. Best body text is #000000 at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#E7C94F
RGBrgb(231, 201, 79)
HSLhsl(48, 76%, 61%)
HSVhsv(48, 66%, 91%)
CMYKcmyk(0%, 13%, 65.8%, 9.4%)
CIE-LABlab(81.47, -2.84, 62.66)
CIE-LCHlch(81.47, 62.72, 92.59°)
OKLaboklab(83.94% -0.013 0.1417)
OKLCHoklch(83.94% 0.142 95.3)
XYZxyz(55.2555, 59.3296, 15.9369)
Luminance0.5933 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7C94F #4F6DE7
analogous
#E77D4F #E7C94F #B9E74F
triadic
#E7C94F #4FE7C9 #C94FE7
tetradic
#E7C94F #4FE77D #4F6DE7 #E74FB9
square
#E7C94F #4FE77D #4F6DE7 #E74FB9
split-complementary
#E7C94F #4FB9E7 #7D4FE7
monochromatic
#A58917 #DBB61E #E7C94F #EEDA85 #F6EABB

Accessibility & contrast

On white

1.63
#E7C94F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.87
#E7C94F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7C94F
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7C94F#FFFFFF#000000##000000
##E7C94F1.001.6312.8712.87
#FFFFFF1.631.0021.0021.00
#00000012.8721.001.001.00
##00000012.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC540
Deuteranopia (green-blind)
#E4CE55
Tritanopia (blue-blind)
#F9BAAF
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #e7c94f;
/* rgb */ color: rgb(231, 201, 79);
/* oklch */ color: oklch(83.9% 0.142 95.3);
Tailwind
colors: {
  custom: {
    50: '#f2d986',
    500: '#e7c94f',
    950: '#000000',
  },
}
SCSS
$custom: #e7c94f;
$custom-light: #f2d986;
$custom-dark: #000000;
JSON
{
  "hex": "#e7c94f",
  "rgb": {
    "r": 231,
    "g": 201,
    "b": 79
  },
  "hsl": {
    "h": 48.158,
    "s": 76,
    "l": 60.784
  },
  "oklch": {
    "l": 0.83937,
    "c": 0.14225,
    "h": 95.3
  },
  "luminance": 0.59327
}

Semantic roles & 50–950 ramp

primary
#E7C94F
secondary
#334AA7
accent
#35D80D
background
#FFFEFC
surface
#FFFBF3
border
#D7D4CD
text
#17140B
muted
#85837E

Preview Lab

Preview with #E7C94F

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

Preview Lab → · Contrast checker → · Palette generator →

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