#E7C248#E7C248

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

Color values

HEX#E7C248
RGBrgb(231, 194, 72)
HSLhsl(46, 77%, 59%)
HSVhsv(46, 69%, 91%)
CMYKcmyk(0%, 16%, 68.8%, 9.4%)
CIE-LABlab(79.64, 0.39, 63.63)
CIE-LCHlch(79.64, 63.63, 89.65°)
OKLaboklab(82.47% -0.0046 0.1426)
OKLCHoklch(82.47% 0.143 91.8)
XYZxyz(53.4193, 56.0435, 14.1334)
Luminance0.5604 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7C248 #486DE7
analogous
#E77348 #E7C248 #BCE748
triadic
#E7C248 #48E7C2 #C248E7
tetradic
#E7C248 #48E773 #486DE7 #E748BC
square
#E7C248 #48E773 #486DE7 #E748BC
split-complementary
#E7C248 #48BCE7 #7348E7
monochromatic
#A07F15 #D6AB1C #E7C248 #EED47E #F5E6B4

Accessibility & contrast

On white

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

On black

12.21
#E7C248 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7C248
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7C248#FFFFFF#000000##000000
##E7C2481.001.7212.2112.21
#FFFFFF1.721.0021.0021.00
#00000012.2121.001.001.00
##00000012.2121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e7c248;
/* rgb */ color: rgb(231, 194, 72);
/* oklch */ color: oklch(82.5% 0.143 91.8);
Tailwind
colors: {
  custom: {
    50: '#f3d481',
    500: '#e7c248',
    950: '#000000',
  },
}
SCSS
$custom: #e7c248;
$custom-light: #f3d481;
$custom-dark: #000000;
JSON
{
  "hex": "#e7c248",
  "rgb": {
    "r": 231,
    "g": 194,
    "b": 72
  },
  "hsl": {
    "h": 46.038,
    "s": 76.812,
    "l": 59.412
  },
  "oklch": {
    "l": 0.82471,
    "c": 0.14264,
    "h": 91.8
  },
  "luminance": 0.5604
}

Semantic roles & 50–950 ramp

primary
#E7C248
secondary
#314BA2
accent
#61F334
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#18140B
muted
#86837E

Preview Lab

Preview with #E7C248

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

Preview Lab → · Contrast checker → · Palette generator →

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