#E7D26F#E7D26F

#E7D26F is a very light, vivid yellow. Relative luminance 0.642; OKLCH L 86.1% C 0.122 H 97.6°. Best body text is #000000 at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#E7D26F
RGBrgb(231, 210, 111)
HSLhsl(50, 71%, 67%)
HSVhsv(50, 52%, 91%)
CMYKcmyk(0%, 9.1%, 51.9%, 9.4%)
CIE-LABlab(84.09, -5.19, 51.19)
CIE-LCHlch(84.09, 51.46, 95.79°)
OKLaboklab(86.11% -0.0162 0.121)
OKLCHoklch(86.11% 0.122 97.6)
XYZxyz(58.8728, 64.2322, 24.3328)
Luminance0.6423 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D26F #6F84E7
analogous
#E7966F #E7D26F #C0E76F
triadic
#E7D26F #6FE7D2 #D26FE7
tetradic
#E7D26F #6FE796 #6F84E7 #E76FC0
square
#E7D26F #6FE796 #6F84E7 #E76FC0
split-complementary
#E7D26F #6FC0E7 #966FE7
monochromatic
#BCA11F #DEC23B #E7D26F #F0E2A3 #F8F3D8

Accessibility & contrast

On white

1.52
#E7D26F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.85
#E7D26F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D26F
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D26F#FFFFFF#000000##000000
##E7D26F1.001.5213.8513.85
#FFFFFF1.521.0021.0021.00
#00000013.8521.001.001.00
##00000013.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CE66
Deuteranopia (green-blind)
#E9D573
Tritanopia (blue-blind)
#F6C5BB
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #e7d26f;
/* rgb */ color: rgb(231, 210, 111);
/* oklch */ color: oklch(86.1% 0.122 97.6);
Tailwind
colors: {
  custom: {
    50: '#f1df9b',
    500: '#e7d26f',
    950: '#000000',
  },
}
SCSS
$custom: #e7d26f;
$custom-light: #f1df9b;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d26f",
  "rgb": {
    "r": 231,
    "g": 210,
    "b": 111
  },
  "hsl": {
    "h": 49.5,
    "s": 71.429,
    "l": 67.059
  },
  "oklch": {
    "l": 0.86105,
    "c": 0.12206,
    "h": 97.6
  },
  "luminance": 0.6423
}

Semantic roles & 50–950 ramp

primary
#E7D26F
secondary
#3F54BC
accent
#34D312
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E7D26F

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

Preview Lab → · Contrast checker → · Palette generator →

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