#E2C862#E2C862

#E2C862 is a very light, vivid yellow. Relative luminance 0.584; OKLCH L 83.5% C 0.125 H 95.2°. Best body text is #000000 at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#E2C862
RGBrgb(226, 200, 98)
HSLhsl(48, 69%, 64%)
HSVhsv(48, 57%, 89%)
CMYKcmyk(0%, 11.5%, 56.6%, 11.4%)
CIE-LABlab(80.94, -3.15, 53.52)
CIE-LCHlch(80.94, 53.61, 93.37°)
OKLaboklab(83.47% -0.0114 0.1248)
OKLCHoklch(83.47% 0.125 95.2)
XYZxyz(54.2251, 58.3616, 19.9616)
Luminance0.5836 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2C862 #627CE2
analogous
#E28862 #E2C862 #BCE262
triadic
#E2C862 #62E2C8 #C862E2
tetradic
#E2C862 #62E288 #627CE2 #E262BC
square
#E2C862 #62E288 #627CE2 #E262BC
split-complementary
#E2C862 #62BCE2 #8862E2
monochromatic
#AA8E1F #D8B62E #E2C862 #ECDA96 #F5ECC9

Accessibility & contrast

On white

1.66
#E2C862 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.67
#E2C862 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2C862
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2C862#FFFFFF#000000##000000
##E2C8621.001.6612.6712.67
#FFFFFF1.661.0021.0021.00
#00000012.6721.001.001.00
##00000012.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC458
Deuteranopia (green-blind)
#E0CD66
Tritanopia (blue-blind)
#F2BBB1
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #e2c862;
/* rgb */ color: rgb(226, 200, 98);
/* oklch */ color: oklch(83.5% 0.125 95.2);
Tailwind
colors: {
  custom: {
    50: '#eed892',
    500: '#e2c862',
    950: '#000000',
  },
}
SCSS
$custom: #e2c862;
$custom-light: #eed892;
$custom-dark: #000000;
JSON
{
  "hex": "#e2c862",
  "rgb": {
    "r": 226,
    "g": 200,
    "b": 98
  },
  "hsl": {
    "h": 47.813,
    "s": 68.817,
    "l": 63.529
  },
  "oklch": {
    "l": 0.83465,
    "c": 0.12535,
    "h": 95.2
  },
  "luminance": 0.58359
}

Semantic roles & 50–950 ramp

primary
#E2C862
secondary
#3C53AC
accent
#3BD115
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #E2C862

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

Preview Lab → · Contrast checker → · Palette generator →

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