#E6EC4F#E6EC4F

#E6EC4F is a very light, vivid yellow. Relative luminance 0.774; OKLCH L 91.1% C 0.173 H 111.5°. Best body text is #000000 at 16.48:1 contrast (WCAG AA passes).

Color values

HEX#E6EC4F
RGBrgb(230, 236, 79)
HSLhsl(62, 81%, 62%)
HSVhsv(62, 67%, 93%)
CMYKcmyk(2.5%, 0%, 66.5%, 7.5%)
CIE-LABlab(90.50, -20.69, 71.93)
CIE-LCHlch(90.50, 74.85, 106.05°)
OKLaboklab(91.1% -0.0636 0.1613)
OKLCHoklch(91.1% 0.173 111.5)
XYZxyz(64.0418, 77.3800, 18.9579)
Luminance0.7738 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E6EC4F #554FEC
analogous
#ECA44F #E6EC4F #98EC4F
triadic
#E6EC4F #4FE6EC #EC4FE6
tetradic
#E6EC4F #4FECA4 #554FEC #EC4F98
square
#E6EC4F #4FECA4 #554FEC #EC4F98
split-complementary
#E6EC4F #4F98EC #A44FEC
monochromatic
#A8AE13 #DDE519 #E6EC4F #EEF286 #F6F8BD

Accessibility & contrast

On white

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

On black

16.48
#E6EC4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E6EC4F
16.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E6EC4F#FFFFFF#000000##000000
##E6EC4F1.001.2716.4816.48
#FFFFFF1.271.0021.0021.00
#00000016.4821.001.001.00
##00000016.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE237
Deuteranopia (green-blind)
#FEE65A
Tritanopia (blue-blind)
#F5DECD
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #e6ec4f;
/* rgb */ color: rgb(230, 236, 79);
/* oklch */ color: oklch(91.1% 0.173 111.5);
Tailwind
colors: {
  custom: {
    50: '#f1f189',
    500: '#e6ec4f',
    950: '#000000',
  },
}
SCSS
$custom: #e6ec4f;
$custom-light: #f1f189;
$custom-dark: #000000;
JSON
{
  "hex": "#e6ec4f",
  "rgb": {
    "r": 230,
    "g": 236,
    "b": 79
  },
  "hsl": {
    "h": 62.293,
    "s": 80.513,
    "l": 61.765
  },
  "oklch": {
    "l": 0.91095,
    "c": 0.17335,
    "h": 111.5
  },
  "luminance": 0.77378
}

Semantic roles & 50–950 ramp

primary
#E6EC4F
secondary
#3631AE
accent
#09DD11
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17160C
muted
#85857F

Preview Lab

Preview with #E6EC4F

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

Preview Lab → · Contrast checker → · Palette generator →

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