#E7D27A#E7D27A

#E7D27A is a very light, moderate yellow. Relative luminance 0.645; OKLCH L 86.3% C 0.111 H 96.3°. Best body text is #000000 at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#E7D27A
RGBrgb(231, 210, 122)
HSLhsl(48, 69%, 69%)
HSVhsv(48, 47%, 91%)
CMYKcmyk(0%, 9.1%, 47.2%, 9.4%)
CIE-LABlab(84.22, -4.22, 46.03)
CIE-LCHlch(84.22, 46.23, 95.24°)
OKLaboklab(86.25% -0.0122 0.1105)
OKLCHoklch(86.25% 0.111 96.3)
XYZxyz(59.5162, 64.4895, 27.7213)
Luminance0.6449 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D27A #7A8FE7
analogous
#E79C7A #E7D27A #C6E77A
triadic
#E7D27A #7AE7D2 #D27AE7
tetradic
#E7D27A #7AE79C #7A8FE7 #E77AC6
square
#E7D27A #7AE79C #7A8FE7 #E77AC6
split-complementary
#E7D27A #7AC6E7 #9C7AE7
monochromatic
#C3A523 #DEC046 #E7D27A #F0E4AE #FAF5E2

Accessibility & contrast

On white

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

On black

13.90
#E7D27A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D27A
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D27A#FFFFFF#000000##000000
##E7D27A1.001.5113.9013.90
#FFFFFF1.511.0021.0021.00
#00000013.9021.001.001.00
##00000013.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CE73
Deuteranopia (green-blind)
#E8D57D
Tritanopia (blue-blind)
#F6C6BD
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #e7d27a;
/* rgb */ color: rgb(231, 210, 122);
/* oklch */ color: oklch(86.3% 0.111 96.3);
Tailwind
colors: {
  custom: {
    50: '#f0dfa2',
    500: '#e7d27a',
    950: '#000000',
  },
}
SCSS
$custom: #e7d27a;
$custom-light: #f0dfa2;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d27a",
  "rgb": {
    "r": 231,
    "g": 210,
    "b": 122
  },
  "hsl": {
    "h": 48.44,
    "s": 69.427,
    "l": 69.216
  },
  "oklch": {
    "l": 0.86254,
    "c": 0.11115,
    "h": 96.3
  },
  "luminance": 0.64487
}

Semantic roles & 50–950 ramp

primary
#E7D27A
secondary
#465DBF
accent
#39D114
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #E7D27A

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

Preview Lab → · Contrast checker → · Palette generator →

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