#E7D274#E7D274

#E7D274 is a very light, moderate yellow. Relative luminance 0.643; OKLCH L 86.2% C 0.117 H 97.1°. Best body text is #000000 at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#E7D274
RGBrgb(231, 210, 116)
HSLhsl(49, 71%, 68%)
HSVhsv(49, 50%, 91%)
CMYKcmyk(0%, 9.1%, 49.8%, 9.4%)
CIE-LABlab(84.15, -4.76, 48.87)
CIE-LCHlch(84.15, 49.10, 95.57°)
OKLaboklab(86.17% -0.0144 0.1163)
OKLCHoklch(86.17% 0.117 97.1)
XYZxyz(59.1559, 64.3454, 25.8235)
Luminance0.6434 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D274 #7489E7
analogous
#E79874 #E7D274 #C3E774
triadic
#E7D274 #74E7D2 #D274E7
tetradic
#E7D274 #74E798 #7489E7 #E774C3
square
#E7D274 #74E798 #7489E7 #E774C3
split-complementary
#E7D274 #74C3E7 #9874E7
monochromatic
#C0A321 #DEC140 #E7D274 #F0E3A8 #F9F4DC

Accessibility & contrast

On white

1.51
#E7D274 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.87
#E7D274 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D274
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D274#FFFFFF#000000##000000
##E7D2741.001.5113.8713.87
#FFFFFF1.511.0021.0021.00
#00000013.8721.001.001.00
##00000013.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CE6C
Deuteranopia (green-blind)
#E8D578
Tritanopia (blue-blind)
#F6C6BC
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #e7d274;
/* rgb */ color: rgb(231, 210, 116);
/* oklch */ color: oklch(86.2% 0.117 97.1);
Tailwind
colors: {
  custom: {
    50: '#f1df9e',
    500: '#e7d274',
    950: '#000000',
  },
}
SCSS
$custom: #e7d274;
$custom-light: #f1df9e;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d274",
  "rgb": {
    "r": 231,
    "g": 210,
    "b": 116
  },
  "hsl": {
    "h": 49.043,
    "s": 70.552,
    "l": 68.039
  },
  "oklch": {
    "l": 0.86171,
    "c": 0.11719,
    "h": 97.1
  },
  "luminance": 0.64343
}

Semantic roles & 50–950 ramp

primary
#E7D274
secondary
#4158BF
accent
#36D313
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E7D274

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

Preview Lab → · Contrast checker → · Palette generator →

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