#E7D255#E7D255

#E7D255 is a very light, vivid yellow. Relative luminance 0.637; OKLCH L 85.8% C 0.145 H 99.7°. Best body text is #000000 at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#E7D255
RGBrgb(231, 210, 85)
HSLhsl(51, 75%, 62%)
HSVhsv(51, 63%, 91%)
CMYKcmyk(0%, 9.1%, 63.2%, 9.4%)
CIE-LABlab(83.83, -7.08, 62.64)
CIE-LCHlch(83.83, 63.04, 96.44°)
OKLaboklab(85.82% -0.0245 0.1425)
OKLCHoklch(85.82% 0.145 99.7)
XYZxyz(57.6437, 63.7405, 17.8594)
Luminance0.6374 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D255 #556AE7
analogous
#E78955 #E7D255 #B3E755
triadic
#E7D255 #55E7D2 #D255E7
tetradic
#E7D255 #55E789 #556AE7 #E755B3
square
#E7D255 #55E789 #556AE7 #E755B3
split-complementary
#E7D255 #55B3E7 #8955E7
monochromatic
#AA9518 #DFC420 #E7D255 #EFE08B #F6EEC0

Accessibility & contrast

On white

1.53
#E7D255 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.75
#E7D255 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D255
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D255#FFFFFF#000000##000000
##E7D2551.001.5313.7513.75
#FFFFFF1.531.0021.0021.00
#00000013.7521.001.001.00
##00000013.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CD46
Deuteranopia (green-blind)
#EBD45C
Tritanopia (blue-blind)
#F8C4B8
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #e7d255;
/* rgb */ color: rgb(231, 210, 85);
/* oklch */ color: oklch(85.8% 0.145 99.7);
Tailwind
colors: {
  custom: {
    50: '#f2df8a',
    500: '#e7d255',
    950: '#000000',
  },
}
SCSS
$custom: #e7d255;
$custom-light: #f2df8a;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d255",
  "rgb": {
    "r": 231,
    "g": 210,
    "b": 85
  },
  "hsl": {
    "h": 51.37,
    "s": 75.258,
    "l": 61.961
  },
  "oklch": {
    "l": 0.8582,
    "c": 0.14462,
    "h": 99.7
  },
  "luminance": 0.63738
}

Semantic roles & 50–950 ramp

primary
#E7D255
secondary
#3546AB
accent
#2BD70E
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E7D255

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

Preview Lab → · Contrast checker → · Palette generator →

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