#E7C046#E7C046

#E7C046 is a very light, vivid yellow. Relative luminance 0.551; OKLCH L 82.1% C 0.143 H 90.9°. Best body text is #000000 at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#E7C046
RGBrgb(231, 192, 70)
HSLhsl(45, 77%, 59%)
HSVhsv(45, 70%, 91%)
CMYKcmyk(0%, 16.9%, 69.7%, 9.4%)
CIE-LABlab(79.12, 1.33, 63.90)
CIE-LCHlch(79.12, 63.92, 88.81°)
OKLaboklab(82.06% -0.0021 0.1428)
OKLCHoklch(82.06% 0.143 90.9)
XYZxyz(52.9130, 55.1335, 13.6480)
Luminance0.5513 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7C046 #466DE7
analogous
#E77046 #E7C046 #BDE746
triadic
#E7C046 #46E7C0 #C046E7
tetradic
#E7C046 #46E770 #466DE7 #E746BD
square
#E7C046 #46E770 #466DE7 #E746BD
split-complementary
#E7C046 #46BDE7 #7046E7
monochromatic
#9E7D15 #D4A81C #E7C046 #EED27C #F5E5B2

Accessibility & contrast

On white

1.75
#E7C046 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.03
#E7C046 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7C046
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7C046#FFFFFF#000000##000000
##E7C0461.001.7512.0312.03
#FFFFFF1.751.0021.0021.00
#00000012.0321.001.001.00
##00000012.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BE35
Deuteranopia (green-blind)
#DEC94C
Tritanopia (blue-blind)
#FAB1A7
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #e7c046;
/* rgb */ color: rgb(231, 192, 70);
/* oklch */ color: oklch(82.1% 0.143 90.9);
Tailwind
colors: {
  custom: {
    50: '#f3d280',
    500: '#e7c046',
    950: '#000000',
  },
}
SCSS
$custom: #e7c046;
$custom-light: #f3d280;
$custom-dark: #000000;
JSON
{
  "hex": "#e7c046",
  "rgb": {
    "r": 231,
    "g": 192,
    "b": 70
  },
  "hsl": {
    "h": 45.466,
    "s": 77.033,
    "l": 59.02
  },
  "oklch": {
    "l": 0.82055,
    "c": 0.14282,
    "h": 90.9
  },
  "luminance": 0.5513
}

Semantic roles & 50–950 ramp

primary
#E7C046
secondary
#304CA1
accent
#63F434
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#18140B
muted
#86837E

Preview Lab

Preview with #E7C046

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

Preview Lab → · Contrast checker → · Palette generator →

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