#E7C548#E7C548

#E7C548 is a very light, vivid yellow. Relative luminance 0.574; OKLCH L 83.1% C 0.144 H 93.6°. Best body text is #000000 at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#E7C548
RGBrgb(231, 197, 72)
HSLhsl(47, 77%, 59%)
HSVhsv(47, 69%, 91%)
CMYKcmyk(0%, 14.7%, 68.8%, 9.4%)
CIE-LABlab(80.40, -1.16, 64.41)
CIE-LCHlch(80.40, 64.42, 91.03°)
OKLaboklab(83.07% -0.009 0.1442)
OKLCHoklch(83.07% 0.144 93.6)
XYZxyz(54.0937, 57.3923, 14.3582)
Luminance0.5739 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7C548 #486AE7
analogous
#E77648 #E7C548 #BAE748
triadic
#E7C548 #48E7C5 #C548E7
tetradic
#E7C548 #48E776 #486AE7 #E748BA
square
#E7C548 #48E776 #486AE7 #E748BA
split-complementary
#E7C548 #48BAE7 #7648E7
monochromatic
#A08215 #D6AE1C #E7C548 #EED67E #F5E7B4

Accessibility & contrast

On white

1.68
#E7C548 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.48
#E7C548 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7C548
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7C548#FFFFFF#000000##000000
##E7C5481.001.6812.4812.48
#FFFFFF1.681.0021.0021.00
#00000012.4821.001.001.00
##00000012.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C237
Deuteranopia (green-blind)
#E2CC4F
Tritanopia (blue-blind)
#F9B6AB
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #e7c548;
/* rgb */ color: rgb(231, 197, 72);
/* oklch */ color: oklch(83.1% 0.144 93.6);
Tailwind
colors: {
  custom: {
    50: '#f3d682',
    500: '#e7c548',
    950: '#000000',
  },
}
SCSS
$custom: #e7c548;
$custom-light: #f3d682;
$custom-dark: #000000;
JSON
{
  "hex": "#e7c548",
  "rgb": {
    "r": 231,
    "g": 197,
    "b": 72
  },
  "hsl": {
    "h": 47.17,
    "s": 76.812,
    "l": 59.412
  },
  "oklch": {
    "l": 0.83072,
    "c": 0.14449,
    "h": 93.6
  },
  "luminance": 0.57389
}

Semantic roles & 50–950 ramp

primary
#E7C548
secondary
#3149A2
accent
#5DF334
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E7C548

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

Preview Lab → · Contrast checker → · Palette generator →

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