#E7D270#E7D270

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

Color values

HEX#E7D270
RGBrgb(231, 210, 112)
HSLhsl(49, 71%, 67%)
HSVhsv(49, 52%, 91%)
CMYKcmyk(0%, 9.1%, 51.5%, 9.4%)
CIE-LABlab(84.10, -5.11, 50.73)
CIE-LCHlch(84.10, 50.99, 95.75°)
OKLaboklab(86.12% -0.0158 0.1201)
OKLCHoklch(86.12% 0.121 97.5)
XYZxyz(58.9282, 64.2543, 24.6244)
Luminance0.6425 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D270 #7085E7
analogous
#E79770 #E7D270 #C0E770
triadic
#E7D270 #70E7D2 #D270E7
tetradic
#E7D270 #70E797 #7085E7 #E770C0
square
#E7D270 #70E797 #7085E7 #E770C0
split-complementary
#E7D270 #70C0E7 #9770E7
monochromatic
#BDA120 #DEC23C #E7D270 #F0E2A4 #F9F3D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E7D270#FFFFFF#000000##000000
##E7D2701.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)
#E3CE67
Deuteranopia (green-blind)
#E9D574
Tritanopia (blue-blind)
#F6C5BB
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #e7d270;
/* rgb */ color: rgb(231, 210, 112);
/* oklch */ color: oklch(86.1% 0.121 97.5);
Tailwind
colors: {
  custom: {
    50: '#f1df9b',
    500: '#e7d270',
    950: '#000000',
  },
}
SCSS
$custom: #e7d270;
$custom-light: #f1df9b;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d270",
  "rgb": {
    "r": 231,
    "g": 210,
    "b": 112
  },
  "hsl": {
    "h": 49.412,
    "s": 71.257,
    "l": 67.255
  },
  "oklch": {
    "l": 0.86118,
    "c": 0.1211,
    "h": 97.5
  },
  "luminance": 0.64252
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E7D270

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

Preview Lab → · Contrast checker → · Palette generator →

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