#E7C84E#E7C84E

#E7C84E is a very light, vivid yellow. Relative luminance 0.588; OKLCH L 83.7% C 0.142 H 94.8°. Best body text is #000000 at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#E7C84E
RGBrgb(231, 200, 78)
HSLhsl(48, 76%, 61%)
HSVhsv(48, 66%, 91%)
CMYKcmyk(0%, 13.4%, 66.2%, 9.4%)
CIE-LABlab(81.21, -2.38, 62.79)
CIE-LCHlch(81.21, 62.84, 92.17°)
OKLaboklab(83.73% -0.0118 0.1418)
OKLCHoklch(83.73% 0.142 94.8)
XYZxyz(54.9871, 58.8504, 15.6692)
Luminance0.5885 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7C84E #4E6DE7
analogous
#E77B4E #E7C84E #B9E74E
triadic
#E7C84E #4EE7C8 #C84EE7
tetradic
#E7C84E #4EE77B #4E6DE7 #E74EB9
square
#E7C84E #4EE77B #4E6DE7 #E74EB9
split-complementary
#E7C84E #4EB9E7 #7B4EE7
monochromatic
#A48816 #DAB41E #E7C84E #EED984 #F6E9BA

Accessibility & contrast

On white

1.64
#E7C84E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.77
#E7C84E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7C84E
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7C84E#FFFFFF#000000##000000
##E7C84E1.001.6412.7712.77
#FFFFFF1.641.0021.0021.00
#00000012.7721.001.001.00
##00000012.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC43F
Deuteranopia (green-blind)
#E4CE54
Tritanopia (blue-blind)
#F9B9AF
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #e7c84e;
/* rgb */ color: rgb(231, 200, 78);
/* oklch */ color: oklch(83.7% 0.142 94.8);
Tailwind
colors: {
  custom: {
    50: '#f2d885',
    500: '#e7c84e',
    950: '#000000',
  },
}
SCSS
$custom: #e7c84e;
$custom-light: #f2d885;
$custom-dark: #000000;
JSON
{
  "hex": "#e7c84e",
  "rgb": {
    "r": 231,
    "g": 200,
    "b": 78
  },
  "hsl": {
    "h": 47.843,
    "s": 76.119,
    "l": 60.588
  },
  "oklch": {
    "l": 0.83726,
    "c": 0.14228,
    "h": 94.8
  },
  "luminance": 0.58848
}

Semantic roles & 50–950 ramp

primary
#E7C84E
secondary
#334AA6
accent
#36D80D
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E7C84E

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

Preview Lab → · Contrast checker → · Palette generator →

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