#EAC862#EAC862

#EAC862 is a very light, vivid yellow. Relative luminance 0.597; OKLCH L 84.2% C 0.127 H 91.1°. Best body text is #000000 at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#EAC862
RGBrgb(234, 200, 98)
HSLhsl(45, 76%, 65%)
HSVhsv(45, 58%, 92%)
CMYKcmyk(0%, 14.5%, 58.1%, 8.2%)
CIE-LABlab(81.67, 0.16, 54.55)
CIE-LCHlch(81.67, 54.55, 89.83°)
OKLaboklab(84.21% -0.0023 0.1269)
OKLCHoklch(84.21% 0.127 91.1)
XYZxyz(56.7931, 59.6858, 20.0820)
Luminance0.5968 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAC862 #6284EA
analogous
#EA8462 #EAC862 #C8EA62
triadic
#EAC862 #62EAC8 #C862EA
tetradic
#EAC862 #62EA84 #6284EA #EA62C8
square
#EAC862 #62EA84 #6284EA #EA62C8
split-complementary
#EAC862 #62C8EA #8462EA
monochromatic
#B99119 #E3B52C #EAC862 #F1DB98 #F8EECE

Accessibility & contrast

On white

1.62
#EAC862 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.94
#EAC862 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAC862
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAC862#FFFFFF#000000##000000
##EAC8621.001.6212.9412.94
#FFFFFF1.621.0021.0021.00
#00000012.9421.001.001.00
##00000012.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC558
Deuteranopia (green-blind)
#E3CF66
Tritanopia (blue-blind)
#FBBAB1
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #eac862;
/* rgb */ color: rgb(234, 200, 98);
/* oklch */ color: oklch(84.2% 0.127 91.1);
Tailwind
colors: {
  custom: {
    50: '#f4d892',
    500: '#eac862',
    950: '#000000',
  },
}
SCSS
$custom: #eac862;
$custom-light: #f4d892;
$custom-dark: #000000;
JSON
{
  "hex": "#eac862",
  "rgb": {
    "r": 234,
    "g": 200,
    "b": 98
  },
  "hsl": {
    "h": 45,
    "s": 76.404,
    "l": 65.098
  },
  "oklch": {
    "l": 0.84211,
    "c": 0.12689,
    "h": 91.1
  },
  "luminance": 0.59683
}

Semantic roles & 50–950 ramp

primary
#EAC862
secondary
#3858B8
accent
#40D90D
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #EAC862

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

Preview Lab → · Contrast checker → · Palette generator →

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