#E7C246#E7C246

#E7C246 is a very light, vivid yellow. Relative luminance 0.560; OKLCH L 82.5% C 0.144 H 92.0°. Best body text is #000000 at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#E7C246
RGBrgb(231, 194, 70)
HSLhsl(46, 77%, 59%)
HSVhsv(46, 70%, 91%)
CMYKcmyk(0%, 16%, 69.7%, 9.4%)
CIE-LABlab(79.62, 0.29, 64.42)
CIE-LCHlch(79.62, 64.42, 89.74°)
OKLaboklab(82.46% -0.0051 0.1439)
OKLCHoklch(82.46% 0.144 92)
XYZxyz(53.3551, 56.0178, 13.7954)
Luminance0.5602 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7C246 #466BE7
analogous
#E77246 #E7C246 #BCE746
triadic
#E7C246 #46E7C2 #C246E7
tetradic
#E7C246 #46E772 #466BE7 #E746BC
square
#E7C246 #46E772 #466BE7 #E746BC
split-complementary
#E7C246 #46BCE7 #7246E7
monochromatic
#9E7E15 #D4AA1C #E7C246 #EED47C #F5E6B2

Accessibility & contrast

On white

1.72
#E7C246 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.20
#E7C246 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7C246
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7C246#FFFFFF#000000##000000
##E7C2461.001.7212.2012.20
#FFFFFF1.721.0021.0021.00
#00000012.2021.001.001.00
##00000012.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF35
Deuteranopia (green-blind)
#E0CA4C
Tritanopia (blue-blind)
#F9B3A9
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #e7c246;
/* rgb */ color: rgb(231, 194, 70);
/* oklch */ color: oklch(82.5% 0.144 92.0);
Tailwind
colors: {
  custom: {
    50: '#f3d480',
    500: '#e7c246',
    950: '#000000',
  },
}
SCSS
$custom: #e7c246;
$custom-light: #f3d480;
$custom-dark: #000000;
JSON
{
  "hex": "#e7c246",
  "rgb": {
    "r": 231,
    "g": 194,
    "b": 70
  },
  "hsl": {
    "h": 46.211,
    "s": 77.033,
    "l": 59.02
  },
  "oklch": {
    "l": 0.82455,
    "c": 0.14398,
    "h": 92
  },
  "luminance": 0.56015
}

Semantic roles & 50–950 ramp

primary
#E7C246
secondary
#304AA1
accent
#60F434
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#18140B
muted
#86837E

Preview Lab

Preview with #E7C246

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

Preview Lab → · Contrast checker → · Palette generator →

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