#E6E138#E6E138

#E6E138 is a very light, vivid yellow. Relative luminance 0.710; OKLCH L 88.6% C 0.176 H 107.7°. Best body text is #000000 at 15.19:1 contrast (WCAG AA passes).

Color values

HEX#E6E138
RGBrgb(230, 225, 56)
HSLhsl(58, 78%, 56%)
HSVhsv(58, 76%, 90%)
CMYKcmyk(0%, 2.2%, 75.7%, 9.8%)
CIE-LABlab(87.47, -16.40, 76.82)
CIE-LCHlch(87.47, 78.55, 102.05°)
OKLaboklab(88.63% -0.0536 0.1677)
OKLCHoklch(88.63% 0.176 107.7)
XYZxyz(60.2746, 70.9610, 14.2625)
Luminance0.7096 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E6E138 #383DE6
analogous
#E68A38 #E6E138 #94E638
triadic
#E6E138 #38E6E1 #E138E6
tetradic
#E6E138 #38E68A #383DE6 #E63894
square
#E6E138 #38E68A #383DE6 #E63894
split-complementary
#E6E138 #3894E6 #8A38E6
monochromatic
#918E12 #C8C319 #E6E138 #EDE96E #F4F1A5

Accessibility & contrast

On white

1.38
#E6E138 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.19
#E6E138 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E6E138
15.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E6E138#FFFFFF#000000##000000
##E6E1381.001.3815.1915.19
#FFFFFF1.381.0021.0021.00
#00000015.1921.001.001.00
##00000015.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4D808
Deuteranopia (green-blind)
#F7DE46
Tritanopia (blue-blind)
#F7D2C1
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #e6e138;
/* rgb */ color: rgb(230, 225, 56);
/* oklch */ color: oklch(88.6% 0.176 107.7);
Tailwind
colors: {
  custom: {
    50: '#f2ea7c',
    500: '#e6e138',
    950: '#000000',
  },
}
SCSS
$custom: #e6e138;
$custom-light: #f2ea7c;
$custom-dark: #000000;
JSON
{
  "hex": "#e6e138",
  "rgb": {
    "r": 230,
    "g": 225,
    "b": 56
  },
  "hsl": {
    "h": 58.276,
    "s": 77.679,
    "l": 56.078
  },
  "oklch": {
    "l": 0.88633,
    "c": 0.17608,
    "h": 107.7
  },
  "luminance": 0.70959
}

Semantic roles & 50–950 ramp

primary
#E6E138
secondary
#2C2F96
accent
#39F434
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#18160A
muted
#86847D

Preview Lab

Preview with #E6E138

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

Preview Lab → · Contrast checker → · Palette generator →

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