#E7C64F#E7C64F

#E7C64F is a very light, vivid yellow. Relative luminance 0.579; OKLCH L 83.3% C 0.140 H 93.5°. Best body text is #000000 at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#E7C64F
RGBrgb(231, 198, 79)
HSLhsl(47, 76%, 61%)
HSVhsv(47, 66%, 91%)
CMYKcmyk(0%, 14.3%, 65.8%, 9.4%)
CIE-LABlab(80.71, -1.29, 61.85)
CIE-LCHlch(80.71, 61.86, 91.20°)
OKLaboklab(83.33% -0.0086 0.1399)
OKLCHoklch(83.33% 0.14 93.5)
XYZxyz(54.5630, 57.9445, 15.7061)
Luminance0.5794 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7C64F #4F70E7
analogous
#E77A4F #E7C64F #BCE74F
triadic
#E7C64F #4FE7C6 #C64FE7
tetradic
#E7C64F #4FE77A #4F70E7 #E74FBC
square
#E7C64F #4FE77A #4F70E7 #E74FBC
split-complementary
#E7C64F #4FBCE7 #7A4FE7
monochromatic
#A58617 #DBB21E #E7C64F #EED785 #F6E9BB

Accessibility & contrast

On white

1.67
#E7C64F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.59
#E7C64F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7C64F
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7C64F#FFFFFF#000000##000000
##E7C64F1.001.6712.5912.59
#FFFFFF1.671.0021.0021.00
#00000012.5921.001.001.00
##00000012.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC340
Deuteranopia (green-blind)
#E2CD55
Tritanopia (blue-blind)
#F9B7AD
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #e7c64f;
/* rgb */ color: rgb(231, 198, 79);
/* oklch */ color: oklch(83.3% 0.140 93.5);
Tailwind
colors: {
  custom: {
    50: '#f2d686',
    500: '#e7c64f',
    950: '#000000',
  },
}
SCSS
$custom: #e7c64f;
$custom-light: #f2d686;
$custom-dark: #000000;
JSON
{
  "hex": "#e7c64f",
  "rgb": {
    "r": 231,
    "g": 198,
    "b": 79
  },
  "hsl": {
    "h": 46.974,
    "s": 76,
    "l": 60.784
  },
  "oklch": {
    "l": 0.83333,
    "c": 0.14021,
    "h": 93.5
  },
  "luminance": 0.57942
}

Semantic roles & 50–950 ramp

primary
#E7C64F
secondary
#334CA7
accent
#39D80D
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E7C64F

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

Preview Lab → · Contrast checker → · Palette generator →

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