#E7D55F#E7D55F

#E7D55F is a very light, vivid yellow. Relative luminance 0.654; OKLCH L 86.5% C 0.139 H 100.7°. Best body text is #000000 at 14.08:1 contrast (WCAG AA passes).

Color values

HEX#E7D55F
RGBrgb(231, 213, 95)
HSLhsl(52, 74%, 64%)
HSVhsv(52, 59%, 91%)
CMYKcmyk(0%, 7.8%, 58.9%, 9.4%)
CIE-LABlab(84.69, -7.94, 59.26)
CIE-LCHlch(84.69, 59.79, 97.63°)
OKLaboklab(86.53% -0.0258 0.1367)
OKLCHoklch(86.53% 0.139 100.7)
XYZxyz(58.8170, 65.4060, 20.3507)
Luminance0.6540 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D55F #5F71E7
analogous
#E7915F #E7D55F #B5E75F
triadic
#E7D55F #5FE7D5 #D55FE7
tetradic
#E7D55F #5FE791 #5F71E7 #E75FB5
square
#E7D55F #5FE791 #5F71E7 #E75FB5
split-complementary
#E7D55F #5FB5E7 #915FE7
monochromatic
#B19D1B #DFC72A #E7D55F #EFE394 #F7F1C9

Accessibility & contrast

On white

1.49
#E7D55F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.08
#E7D55F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D55F
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D55F#FFFFFF#000000##000000
##E7D55F1.001.4914.0814.08
#FFFFFF1.491.0021.0021.00
#00000014.0821.001.001.00
##00000014.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CF52
Deuteranopia (green-blind)
#ECD765
Tritanopia (blue-blind)
#F7C7BB
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #e7d55f;
/* rgb */ color: rgb(231, 213, 95);
/* oklch */ color: oklch(86.5% 0.139 100.7);
Tailwind
colors: {
  custom: {
    50: '#f1e190',
    500: '#e7d55f',
    950: '#000000',
  },
}
SCSS
$custom: #e7d55f;
$custom-light: #f1e190;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d55f",
  "rgb": {
    "r": 231,
    "g": 213,
    "b": 95
  },
  "hsl": {
    "h": 52.059,
    "s": 73.913,
    "l": 63.922
  },
  "oklch": {
    "l": 0.86532,
    "c": 0.1391,
    "h": 100.7
  },
  "luminance": 0.65404
}

Semantic roles & 50–950 ramp

primary
#E7D55F
secondary
#3949B2
accent
#2AD60F
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E7D55F

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

Preview Lab → · Contrast checker → · Palette generator →

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