#E7C138#E7C138

#E7C138 is a very light, vivid yellow. Relative luminance 0.554; OKLCH L 82.2% C 0.152 H 92.6°. Best body text is #000000 at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#E7C138
RGBrgb(231, 193, 56)
HSLhsl(47, 78%, 56%)
HSVhsv(47, 76%, 91%)
CMYKcmyk(0%, 16.5%, 75.8%, 9.4%)
CIE-LABlab(79.28, 0.18, 69.30)
CIE-LCHlch(79.28, 69.31, 89.85°)
OKLaboklab(82.16% -0.0069 0.1516)
OKLCHoklch(82.16% 0.152 92.6)
XYZxyz(52.7418, 55.4176, 11.6593)
Luminance0.5541 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7C138 #385EE7
analogous
#E76A38 #E7C138 #B6E738
triadic
#E7C138 #38E7C1 #C138E7
tetradic
#E7C138 #38E76A #385EE7 #E738B6
square
#E7C138 #38E76A #385EE7 #E738B6
split-complementary
#E7C138 #38B6E7 #6A38E7
monochromatic
#937712 #CAA318 #E7C138 #EED26F #F4E3A5

Accessibility & contrast

On white

1.74
#E7C138 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.08
#E7C138 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7C138
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7C138#FFFFFF#000000##000000
##E7C1381.001.7412.0812.08
#FFFFFF1.741.0021.0021.00
#00000012.0821.001.001.00
##00000012.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e7c138;
/* rgb */ color: rgb(231, 193, 56);
/* oklch */ color: oklch(82.2% 0.152 92.6);
Tailwind
colors: {
  custom: {
    50: '#f3d379',
    500: '#e7c138',
    950: '#000000',
  },
}
SCSS
$custom: #e7c138;
$custom-light: #f3d379;
$custom-dark: #000000;
JSON
{
  "hex": "#e7c138",
  "rgb": {
    "r": 231,
    "g": 193,
    "b": 56
  },
  "hsl": {
    "h": 46.971,
    "s": 78.475,
    "l": 56.275
  },
  "oklch": {
    "l": 0.82155,
    "c": 0.1518,
    "h": 92.6
  },
  "luminance": 0.55414
}

Semantic roles & 50–950 ramp

primary
#E7C138
secondary
#2C4397
accent
#5DF533
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#18140A
muted
#86837D

Preview Lab

Preview with #E7C138

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

Preview Lab → · Contrast checker → · Palette generator →

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