#E6EC5A#E6EC5A

#E6EC5A is a very light, vivid yellow. Relative luminance 0.776; OKLCH L 91.2% C 0.166 H 111.5°. Best body text is #000000 at 16.51:1 contrast (WCAG AA passes).

Color values

HEX#E6EC5A
RGBrgb(230, 236, 90)
HSLhsl(62, 79%, 64%)
HSVhsv(62, 62%, 93%)
CMYKcmyk(2.5%, 0%, 61.9%, 7.5%)
CIE-LABlab(90.58, -20.05, 67.75)
CIE-LCHlch(90.58, 70.66, 106.48°)
OKLaboklab(91.18% -0.0607 0.1541)
OKLCHoklch(91.18% 0.166 111.5)
XYZxyz(64.4759, 77.5536, 21.2438)
Luminance0.7755 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E6EC5A #605AEC
analogous
#ECA95A #E6EC5A #9DEC5A
triadic
#E6EC5A #5AE6EC #EC5AE6
tetradic
#E6EC5A #5AECA9 #605AEC #EC5A9D
square
#E6EC5A #5AECA9 #605AEC #EC5A9D
split-complementary
#E6EC5A #5A9DEC #A95AEC
monochromatic
#B0B715 #DEE623 #E6EC5A #EEF291 #F7F9C8

Accessibility & contrast

On white

1.27
#E6EC5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.51
#E6EC5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E6EC5A
16.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E6EC5A#FFFFFF#000000##000000
##E6EC5A1.001.2716.5116.51
#FFFFFF1.271.0021.0021.00
#00000016.5121.001.001.00
##00000016.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE248
Deuteranopia (green-blind)
#FEE663
Tritanopia (blue-blind)
#F5DECE
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #e6ec5a;
/* rgb */ color: rgb(230, 236, 90);
/* oklch */ color: oklch(91.2% 0.166 111.5);
Tailwind
colors: {
  custom: {
    50: '#f1f28f',
    500: '#e6ec5a',
    950: '#000000',
  },
}
SCSS
$custom: #e6ec5a;
$custom-light: #f1f28f;
$custom-dark: #000000;
JSON
{
  "hex": "#e6ec5a",
  "rgb": {
    "r": 230,
    "g": 236,
    "b": 90
  },
  "hsl": {
    "h": 62.466,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.91184,
    "c": 0.1656,
    "h": 111.5
  },
  "luminance": 0.77552
}

Semantic roles & 50–950 ramp

primary
#E6EC5A
secondary
#3934B6
accent
#0ADC12
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17160D
muted
#85857F

Preview Lab

Preview with #E6EC5A

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

Preview Lab → · Contrast checker → · Palette generator →

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