#E7E168#E7E168

#E7E168 is a very light, vivid yellow. Relative luminance 0.718; OKLCH L 89.1% C 0.143 H 106.3°. Best body text is #000000 at 15.37:1 contrast (WCAG AA passes).

Color values

HEX#E7E168
RGBrgb(231, 225, 104)
HSLhsl(57, 73%, 66%)
HSVhsv(57, 55%, 91%)
CMYKcmyk(0%, 2.6%, 55%, 9.4%)
CIE-LABlab(87.89, -13.29, 58.86)
CIE-LCHlch(87.89, 60.34, 102.73°)
OKLaboklab(89.1% -0.0401 0.1369)
OKLCHoklch(89.1% 0.143 106.3)
XYZxyz(62.3807, 71.8407, 23.6747)
Luminance0.7184 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7E168 #686EE7
analogous
#E7A168 #E7E168 #AEE768
triadic
#E7E168 #68E7E1 #E168E7
tetradic
#E7E168 #68E7A1 #686EE7 #E768AE
square
#E7E168 #68E7A1 #686EE7 #E768AE
split-complementary
#E7E168 #68AEE7 #A168E7
monochromatic
#B7B01D #DFD733 #E7E168 #EFEB9D #F8F6D2

Accessibility & contrast

On white

1.37
#E7E168 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.37
#E7E168 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7E168
15.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7E168#FFFFFF#000000##000000
##E7E1681.001.3715.3715.37
#FFFFFF1.371.0021.0021.00
#00000015.3721.001.001.00
##00000015.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D95C
Deuteranopia (green-blind)
#F5DF6E
Tritanopia (blue-blind)
#F6D4C6
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #e7e168;
/* rgb */ color: rgb(231, 225, 104);
/* oklch */ color: oklch(89.1% 0.143 106.3);
Tailwind
colors: {
  custom: {
    50: '#f1ea97',
    500: '#e7e168',
    950: '#000000',
  },
}
SCSS
$custom: #e7e168;
$custom-light: #f1ea97;
$custom-dark: #000000;
JSON
{
  "hex": "#e7e168",
  "rgb": {
    "r": 231,
    "g": 225,
    "b": 104
  },
  "hsl": {
    "h": 57.165,
    "s": 72.571,
    "l": 65.686
  },
  "oklch": {
    "l": 0.89102,
    "c": 0.14264,
    "h": 106.3
  },
  "luminance": 0.71839
}

Semantic roles & 50–950 ramp

primary
#E7E168
secondary
#3C42B7
accent
#1AD511
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17160E
muted
#85847F

Preview Lab

Preview with #E7E168

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

Preview Lab → · Contrast checker → · Palette generator →

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