#E7C338#E7C338

#E7C338 is a very light, vivid yellow. Relative luminance 0.563; OKLCH L 82.6% C 0.153 H 93.7°. Best body text is #000000 at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#E7C338
RGBrgb(231, 195, 56)
HSLhsl(48, 78%, 56%)
HSVhsv(48, 76%, 91%)
CMYKcmyk(0%, 15.6%, 75.8%, 9.4%)
CIE-LABlab(79.79, -0.86, 69.78)
CIE-LCHlch(79.79, 69.78, 90.70°)
OKLaboklab(82.56% -0.0099 0.1527)
OKLCHoklch(82.56% 0.153 93.7)
XYZxyz(53.1869, 56.3078, 11.8077)
Luminance0.5631 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7C338 #385CE7
analogous
#E76C38 #E7C338 #B4E738
triadic
#E7C338 #38E7C3 #C338E7
tetradic
#E7C338 #38E76C #385CE7 #E738B4
square
#E7C338 #38E76C #385CE7 #E738B4
split-complementary
#E7C338 #38B4E7 #6C38E7
monochromatic
#937812 #CAA518 #E7C338 #EED36F #F4E4A5

Accessibility & contrast

On white

1.71
#E7C338 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.26
#E7C338 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7C338
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7C338#FFFFFF#000000##000000
##E7C3381.001.7112.2612.26
#FFFFFF1.711.0021.0021.00
#00000012.2621.001.001.00
##00000012.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C01D
Deuteranopia (green-blind)
#E1CA41
Tritanopia (blue-blind)
#FAB3A8
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #e7c338;
/* rgb */ color: rgb(231, 195, 56);
/* oklch */ color: oklch(82.6% 0.153 93.7);
Tailwind
colors: {
  custom: {
    50: '#f3d479',
    500: '#e7c338',
    950: '#000000',
  },
}
SCSS
$custom: #e7c338;
$custom-light: #f3d479;
$custom-dark: #000000;
JSON
{
  "hex": "#e7c338",
  "rgb": {
    "r": 231,
    "g": 195,
    "b": 56
  },
  "hsl": {
    "h": 47.657,
    "s": 78.475,
    "l": 56.275
  },
  "oklch": {
    "l": 0.82556,
    "c": 0.15297,
    "h": 93.7
  },
  "luminance": 0.56305
}

Semantic roles & 50–950 ramp

primary
#E7C338
secondary
#2C4297
accent
#5BF533
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#18140A
muted
#86837D

Preview Lab

Preview with #E7C338

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

Preview Lab → · Contrast checker → · Palette generator →

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