#EAC962#EAC962

#EAC962 is a very light, vivid yellow. Relative luminance 0.601; OKLCH L 84.4% C 0.128 H 91.7°. Best body text is #000000 at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#EAC962
RGBrgb(234, 201, 98)
HSLhsl(45, 76%, 65%)
HSVhsv(45, 58%, 92%)
CMYKcmyk(0%, 14.1%, 58.1%, 8.2%)
CIE-LABlab(81.92, -0.36, 54.84)
CIE-LCHlch(81.92, 54.84, 90.38°)
OKLaboklab(84.41% -0.0038 0.1275)
OKLCHoklch(84.41% 0.128 91.7)
XYZxyz(57.0254, 60.1505, 20.1594)
Luminance0.6015 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAC962 #6283EA
analogous
#EA8562 #EAC962 #C7EA62
triadic
#EAC962 #62EAC9 #C962EA
tetradic
#EAC962 #62EA85 #6283EA #EA62C7
square
#EAC962 #62EA85 #6283EA #EA62C7
split-complementary
#EAC962 #62C7EA #8562EA
monochromatic
#B99219 #E3B62C #EAC962 #F1DC98 #F8EECE

Accessibility & contrast

On white

1.61
#EAC962 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.03
#EAC962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAC962
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAC962#FFFFFF#000000##000000
##EAC9621.001.6113.0313.03
#FFFFFF1.611.0021.0021.00
#00000013.0321.001.001.00
##00000013.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC658
Deuteranopia (green-blind)
#E4D066
Tritanopia (blue-blind)
#FBBBB2
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #eac962;
/* rgb */ color: rgb(234, 201, 98);
/* oklch */ color: oklch(84.4% 0.128 91.7);
Tailwind
colors: {
  custom: {
    50: '#f4d992',
    500: '#eac962',
    950: '#000000',
  },
}
SCSS
$custom: #eac962;
$custom-light: #f4d992;
$custom-dark: #000000;
JSON
{
  "hex": "#eac962",
  "rgb": {
    "r": 234,
    "g": 201,
    "b": 98
  },
  "hsl": {
    "h": 45.441,
    "s": 76.404,
    "l": 65.098
  },
  "oklch": {
    "l": 0.8441,
    "c": 0.12755,
    "h": 91.7
  },
  "luminance": 0.60148
}

Semantic roles & 50–950 ramp

primary
#EAC962
secondary
#3857B8
accent
#3ED90D
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #EAC962

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

Preview Lab → · Contrast checker → · Palette generator →

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