#E7C238#E7C238

#E7C238 is a very light, vivid yellow. Relative luminance 0.559; OKLCH L 82.4% C 0.152 H 93.2°. Best body text is #000000 at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#E7C238
RGBrgb(231, 194, 56)
HSLhsl(47, 78%, 56%)
HSVhsv(47, 76%, 91%)
CMYKcmyk(0%, 16%, 75.8%, 9.4%)
CIE-LABlab(79.53, -0.34, 69.54)
CIE-LCHlch(79.53, 69.54, 90.28°)
OKLaboklab(82.36% -0.0084 0.1521)
OKLCHoklch(82.36% 0.152 93.2)
XYZxyz(52.9636, 55.8612, 11.7332)
Luminance0.5586 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7C238 #385DE7
analogous
#E76B38 #E7C238 #B5E738
triadic
#E7C238 #38E7C2 #C238E7
tetradic
#E7C238 #38E76B #385DE7 #E738B5
square
#E7C238 #38E76B #385DE7 #E738B5
split-complementary
#E7C238 #38B5E7 #6B38E7
monochromatic
#937812 #CAA418 #E7C238 #EED36F #F4E3A5

Accessibility & contrast

On white

1.73
#E7C238 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.17
#E7C238 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7C238
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7C238#FFFFFF#000000##000000
##E7C2381.001.7312.1712.17
#FFFFFF1.731.0021.0021.00
#00000012.1721.001.001.00
##00000012.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF1D
Deuteranopia (green-blind)
#E0CA40
Tritanopia (blue-blind)
#FAB2A7
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #e7c238;
/* rgb */ color: rgb(231, 194, 56);
/* oklch */ color: oklch(82.4% 0.152 93.2);
Tailwind
colors: {
  custom: {
    50: '#f3d479',
    500: '#e7c238',
    950: '#000000',
  },
}
SCSS
$custom: #e7c238;
$custom-light: #f3d479;
$custom-dark: #000000;
JSON
{
  "hex": "#e7c238",
  "rgb": {
    "r": 231,
    "g": 194,
    "b": 56
  },
  "hsl": {
    "h": 47.314,
    "s": 78.475,
    "l": 56.275
  },
  "oklch": {
    "l": 0.82356,
    "c": 0.15237,
    "h": 93.2
  },
  "luminance": 0.55858
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E7C238

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

Preview Lab → · Contrast checker → · Palette generator →

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