#E7C038#E7C038

#E7C038 is a light, vivid yellow. Relative luminance 0.550; OKLCH L 82.0% C 0.151 H 92.1°. Best body text is #000000 at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#E7C038
RGBrgb(231, 192, 56)
HSLhsl(47, 78%, 56%)
HSVhsv(47, 76%, 91%)
CMYKcmyk(0%, 16.9%, 75.8%, 9.4%)
CIE-LABlab(79.03, 0.70, 69.07)
CIE-LCHlch(79.03, 69.07, 89.42°)
OKLaboklab(81.96% -0.0054 0.1511)
OKLCHoklch(81.96% 0.151 92.1)
XYZxyz(52.5214, 54.9769, 11.5859)
Luminance0.5497 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7C038 #385FE7
analogous
#E76938 #E7C038 #B6E738
triadic
#E7C038 #38E7C0 #C038E7
tetradic
#E7C038 #38E769 #385FE7 #E738B6
square
#E7C038 #38E769 #385FE7 #E738B6
split-complementary
#E7C038 #38B6E7 #6938E7
monochromatic
#937612 #CAA218 #E7C038 #EED16F #F4E3A5

Accessibility & contrast

On white

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

On black

11.99
#E7C038 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7C038
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7C038#FFFFFF#000000##000000
##E7C0381.001.7511.9911.99
#FFFFFF1.751.0021.0021.00
#00000011.9921.001.001.00
##00000011.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD1E
Deuteranopia (green-blind)
#DFC840
Tritanopia (blue-blind)
#FAB0A6
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #e7c038;
/* rgb */ color: rgb(231, 192, 56);
/* oklch */ color: oklch(82.0% 0.151 92.1);
Tailwind
colors: {
  custom: {
    50: '#f3d279',
    500: '#e7c038',
    950: '#000000',
  },
}
SCSS
$custom: #e7c038;
$custom-light: #f3d279;
$custom-dark: #000000;
JSON
{
  "hex": "#e7c038",
  "rgb": {
    "r": 231,
    "g": 192,
    "b": 56
  },
  "hsl": {
    "h": 46.629,
    "s": 78.475,
    "l": 56.275
  },
  "oklch": {
    "l": 0.81956,
    "c": 0.15123,
    "h": 92.1
  },
  "luminance": 0.54974
}

Semantic roles & 50–950 ramp

primary
#E7C038
secondary
#2C4497
accent
#5EF533
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#18140A
muted
#86837D

Preview Lab

Preview with #E7C038

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

Preview Lab → · Contrast checker → · Palette generator →

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