#E3C140#E3C140

#E3C140 is a light, vivid yellow. Relative luminance 0.548; OKLCH L 81.8% C 0.147 H 93.8°. Best body text is #000000 at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#E3C140
RGBrgb(227, 193, 64)
HSLhsl(47, 74%, 57%)
HSVhsv(47, 72%, 89%)
CMYKcmyk(0%, 15%, 71.8%, 11%)
CIE-LABlab(78.95, -1.18, 65.96)
CIE-LCHlch(78.95, 65.97, 91.03°)
OKLaboklab(81.82% -0.0098 0.1462)
OKLCHoklch(81.82% 0.147 93.8)
XYZxyz(51.6767, 54.8439, 12.7135)
Luminance0.5484 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E3C140 #4062E3
analogous
#E37040 #E3C140 #B3E340
triadic
#E3C140 #40E3C1 #C140E3
tetradic
#E3C140 #40E370 #4062E3 #E340B3
square
#E3C140 #40E370 #4062E3 #E340B3
split-complementary
#E3C140 #40B3E3 #7040E3
monochromatic
#937916 #C8A51D #E3C140 #EBD275 #F3E4AB

Accessibility & contrast

On white

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

On black

11.97
#E3C140 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E3C140
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E3C140#FFFFFF#000000##000000
##E3C1401.001.7511.9711.97
#FFFFFF1.751.0021.0021.00
#00000011.9721.001.001.00
##00000011.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BE2C
Deuteranopia (green-blind)
#DEC847
Tritanopia (blue-blind)
#F5B2A7
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #e3c140;
/* rgb */ color: rgb(227, 193, 64);
/* oklch */ color: oklch(81.8% 0.147 93.8);
Tailwind
colors: {
  custom: {
    50: '#f0d37d',
    500: '#e3c140',
    950: '#000000',
  },
}
SCSS
$custom: #e3c140;
$custom-light: #f0d37d;
$custom-dark: #000000;
JSON
{
  "hex": "#e3c140",
  "rgb": {
    "r": 227,
    "g": 193,
    "b": 64
  },
  "hsl": {
    "h": 47.485,
    "s": 74.429,
    "l": 57.059
  },
  "oklch": {
    "l": 0.81822,
    "c": 0.14654,
    "h": 93.8
  },
  "luminance": 0.54841
}

Semantic roles & 50–950 ramp

primary
#E3C140
secondary
#304597
accent
#5EF137
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140A
muted
#85837D

Preview Lab

Preview with #E3C140

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

Preview Lab → · Contrast checker → · Palette generator →

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