#E7D46C#E7D46C

#E7D46C is a very light, vivid yellow. Relative luminance 0.652; OKLCH L 86.5% C 0.127 H 99.1°. Best body text is #000000 at 14.03:1 contrast (WCAG AA passes).

Color values

HEX#E7D46C
RGBrgb(231, 212, 108)
HSLhsl(51, 72%, 66%)
HSVhsv(51, 53%, 91%)
CMYKcmyk(0%, 8.2%, 53.2%, 9.4%)
CIE-LABlab(84.57, -6.46, 53.18)
CIE-LCHlch(84.57, 53.57, 96.92°)
OKLaboklab(86.48% -0.0201 0.125)
OKLCHoklch(86.48% 0.127 99.1)
XYZxyz(59.2073, 65.1609, 23.6430)
Luminance0.6516 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D46C #6C7FE7
analogous
#E7976C #E7D46C #BDE76C
triadic
#E7D46C #6CE7D4 #D46CE7
tetradic
#E7D46C #6CE797 #6C7FE7 #E76CBD
square
#E7D46C #6CE797 #6C7FE7 #E76CBD
split-complementary
#E7D46C #6CBDE7 #976CE7
monochromatic
#BAA21E #DEC537 #E7D46C #F0E3A1 #F8F3D5

Accessibility & contrast

On white

1.50
#E7D46C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.03
#E7D46C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D46C
14.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D46C#FFFFFF#000000##000000
##E7D46C1.001.5014.0314.03
#FFFFFF1.501.0021.0021.00
#00000014.0321.001.001.00
##00000014.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CF62
Deuteranopia (green-blind)
#EAD671
Tritanopia (blue-blind)
#F7C7BC
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #e7d46c;
/* rgb */ color: rgb(231, 212, 108);
/* oklch */ color: oklch(86.5% 0.127 99.1);
Tailwind
colors: {
  custom: {
    50: '#f1e199',
    500: '#e7d46c',
    950: '#000000',
  },
}
SCSS
$custom: #e7d46c;
$custom-light: #f1e199;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d46c",
  "rgb": {
    "r": 231,
    "g": 212,
    "b": 108
  },
  "hsl": {
    "h": 50.732,
    "s": 71.93,
    "l": 66.471
  },
  "oklch": {
    "l": 0.86475,
    "c": 0.12664,
    "h": 99.1
  },
  "luminance": 0.65159
}

Semantic roles & 50–950 ramp

primary
#E7D46C
secondary
#3D51BA
accent
#30D412
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E7D46C

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

Preview Lab → · Contrast checker → · Palette generator →

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