#E7DF6B#E7DF6B

#E7DF6B is a very light, vivid yellow. Relative luminance 0.708; OKLCH L 88.7% C 0.138 H 105.3°. Best body text is #000000 at 15.17:1 contrast (WCAG AA passes).

Color values

HEX#E7DF6B
RGBrgb(231, 223, 107)
HSLhsl(56, 72%, 66%)
HSVhsv(56, 54%, 91%)
CMYKcmyk(0%, 3.5%, 53.7%, 9.4%)
CIE-LABlab(87.40, -12.07, 56.94)
CIE-LCHlch(87.40, 58.21, 101.96°)
OKLaboklab(88.72% -0.0363 0.1331)
OKLCHoklch(88.72% 0.138 105.3)
XYZxyz(61.9983, 70.8277, 24.3123)
Luminance0.7083 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7DF6B #6B73E7
analogous
#E7A16B #E7DF6B #B1E76B
triadic
#E7DF6B #6BE7DF #DF6BE7
tetradic
#E7DF6B #6BE7A1 #6B73E7 #E76BB1
square
#E7DF6B #6BE7A1 #6B73E7 #E76BB1
split-complementary
#E7DF6B #6BB1E7 #A16BE7
monochromatic
#BAAF1E #DED436 #E7DF6B #F0EAA0 #F8F6D4

Accessibility & contrast

On white

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

On black

15.17
#E7DF6B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7DF6B
15.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7DF6B#FFFFFF#000000##000000
##E7DF6B1.001.3815.1715.17
#FFFFFF1.381.0021.0021.00
#00000015.1721.001.001.00
##00000015.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D860
Deuteranopia (green-blind)
#F3DE71
Tritanopia (blue-blind)
#F6D2C5
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #e7df6b;
/* rgb */ color: rgb(231, 223, 107);
/* oklch */ color: oklch(88.7% 0.138 105.3);
Tailwind
colors: {
  custom: {
    50: '#f1e899',
    500: '#e7df6b',
    950: '#000000',
  },
}
SCSS
$custom: #e7df6b;
$custom-light: #f1e899;
$custom-dark: #000000;
JSON
{
  "hex": "#e7df6b",
  "rgb": {
    "r": 231,
    "g": 223,
    "b": 107
  },
  "hsl": {
    "h": 56.129,
    "s": 72.093,
    "l": 66.275
  },
  "oklch": {
    "l": 0.88721,
    "c": 0.13795,
    "h": 105.3
  },
  "luminance": 0.70826
}

Semantic roles & 50–950 ramp

primary
#E7DF6B
secondary
#3D45B9
accent
#1ED411
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17160E
muted
#85847F

Preview Lab

Preview with #E7DF6B

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

Preview Lab → · Contrast checker → · Palette generator →

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