#E2B93C#E2B93C

#E2B93C is a light, vivid yellow. Relative luminance 0.512; OKLCH L 80.1% C 0.144 H 90.0°. Best body text is #000000 at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#E2B93C
RGBrgb(226, 185, 60)
HSLhsl(45, 74%, 56%)
HSVhsv(45, 73%, 89%)
CMYKcmyk(0%, 18.1%, 73.5%, 11.4%)
CIE-LABlab(76.80, 2.37, 65.33)
CIE-LCHlch(76.80, 65.37, 87.92°)
OKLaboklab(80.09% 0 0.1442)
OKLCHoklch(80.09% 0.144 90)
XYZxyz(49.5315, 51.1960, 11.5471)
Luminance0.5119 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2B93C #3C65E2
analogous
#E2663C #E2B93C #B8E23C
triadic
#E2B93C #3CE2B9 #B93CE2
tetradic
#E2B93C #3CE266 #3C65E2 #E23CB8
square
#E2B93C #3CE266 #3C65E2 #E23CB8
split-complementary
#E2B93C #3CB8E2 #663CE2
monochromatic
#8E7015 #C49B1D #E2B93C #EACC71 #F2DFA7

Accessibility & contrast

On white

1.87
#E2B93C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.24
#E2B93C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2B93C
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2B93C#FFFFFF#000000##000000
##E2B93C1.001.8711.2411.24
#FFFFFF1.871.0021.0021.00
#00000011.2421.001.001.00
##00000011.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB728
Deuteranopia (green-blind)
#D8C243
Tritanopia (blue-blind)
#F5A9A0
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #e2b93c;
/* rgb */ color: rgb(226, 185, 60);
/* oklch */ color: oklch(80.1% 0.144 90.0);
Tailwind
colors: {
  custom: {
    50: '#f0cd7a',
    500: '#e2b93c',
    950: '#000000',
  },
}
SCSS
$custom: #e2b93c;
$custom-light: #f0cd7a;
$custom-dark: #000000;
JSON
{
  "hex": "#e2b93c",
  "rgb": {
    "r": 226,
    "g": 185,
    "b": 60
  },
  "hsl": {
    "h": 45.181,
    "s": 74.107,
    "l": 56.078
  },
  "oklch": {
    "l": 0.80092,
    "c": 0.14417,
    "h": 90
  },
  "luminance": 0.51193
}

Semantic roles & 50–950 ramp

primary
#E2B93C
secondary
#2F4893
accent
#65F137
background
#FFFEFB
surface
#FFFAF2
border
#D7D3CC
text
#17130A
muted
#85837D

Preview Lab

Preview with #E2B93C

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

Preview Lab → · Contrast checker → · Palette generator →

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