#E7D27F#E7D27F

#E7D27F is a very light, moderate yellow. Relative luminance 0.646; OKLCH L 86.3% C 0.106 H 95.6°. Best body text is #000000 at 13.92:1 contrast (WCAG AA passes).

Color values

HEX#E7D27F
RGBrgb(231, 210, 127)
HSLhsl(48, 68%, 70%)
HSVhsv(48, 45%, 91%)
CMYKcmyk(0%, 9.1%, 45%, 9.4%)
CIE-LABlab(84.29, -3.74, 43.65)
CIE-LCHlch(84.29, 43.81, 94.90°)
OKLaboklab(86.33% -0.0103 0.1055)
OKLCHoklch(86.33% 0.106 95.6)
XYZxyz(59.8340, 64.6166, 29.3950)
Luminance0.6461 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D27F #7F94E7
analogous
#E79E7F #E7D27F #C8E77F
triadic
#E7D27F #7FE7D2 #D27FE7
tetradic
#E7D27F #7FE79E #7F94E7 #E77FC8
square
#E7D27F #7FE79E #7F94E7 #E77FC8
split-complementary
#E7D27F #7FC8E7 #9E7FE7
monochromatic
#C6A625 #DDC04B #E7D27F #F1E4B3 #FAF6E5

Accessibility & contrast

On white

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

On black

13.92
#E7D27F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D27F
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D27F#FFFFFF#000000##000000
##E7D27F1.001.5113.9213.92
#FFFFFF1.511.0021.0021.00
#00000013.9221.001.001.00
##00000013.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CE78
Deuteranopia (green-blind)
#E7D582
Tritanopia (blue-blind)
#F5C7BE
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #e7d27f;
/* rgb */ color: rgb(231, 210, 127);
/* oklch */ color: oklch(86.3% 0.106 95.6);
Tailwind
colors: {
  custom: {
    50: '#f0dfa5',
    500: '#e7d27f',
    950: '#000000',
  },
}
SCSS
$custom: #e7d27f;
$custom-light: #f0dfa5;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d27f",
  "rgb": {
    "r": 231,
    "g": 210,
    "b": 127
  },
  "hsl": {
    "h": 47.885,
    "s": 68.421,
    "l": 70.196
  },
  "oklch": {
    "l": 0.86328,
    "c": 0.10597,
    "h": 95.6
  },
  "luminance": 0.64614
}

Semantic roles & 50–950 ramp

primary
#E7D27F
secondary
#4B62BF
accent
#3BD015
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#17150F
muted
#858480

Preview Lab

Preview with #E7D27F

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

Preview Lab → · Contrast checker → · Palette generator →

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