#E7C867#E7C867

#E7C867 is a very light, vivid yellow. Relative luminance 0.593; OKLCH L 84.0% C 0.122 H 91.9°. Best body text is #000000 at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#E7C867
RGBrgb(231, 200, 103)
HSLhsl(45, 73%, 65%)
HSVhsv(45, 55%, 91%)
CMYKcmyk(0%, 13.4%, 55.4%, 9.4%)
CIE-LABlab(81.44, -0.71, 51.87)
CIE-LCHlch(81.44, 51.88, 90.78°)
OKLaboklab(83.99% -0.0041 0.1217)
OKLCHoklch(83.99% 0.122 91.9)
XYZxyz(56.0597, 59.2795, 21.3186)
Luminance0.5928 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7C867 #6786E7
analogous
#E78867 #E7C867 #C6E767
triadic
#E7C867 #67E7C8 #C867E7
tetradic
#E7C867 #67E788 #6786E7 #E767C6
square
#E7C867 #67E788 #6786E7 #E767C6
split-complementary
#E7C867 #67C6E7 #8867E7
monochromatic
#B7911D #DFB532 #E7C867 #EFDB9C #F8EED1

Accessibility & contrast

On white

1.63
#E7C867 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.86
#E7C867 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7C867
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7C867#FFFFFF#000000##000000
##E7C8671.001.6312.8612.86
#FFFFFF1.631.0021.0021.00
#00000012.8621.001.001.00
##00000012.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC55E
Deuteranopia (green-blind)
#E2CE6B
Tritanopia (blue-blind)
#F8BBB2
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #e7c867;
/* rgb */ color: rgb(231, 200, 103);
/* oklch */ color: oklch(84.0% 0.122 91.9);
Tailwind
colors: {
  custom: {
    50: '#f1d895',
    500: '#e7c867',
    950: '#000000',
  },
}
SCSS
$custom: #e7c867;
$custom-light: #f1d895;
$custom-dark: #000000;
JSON
{
  "hex": "#e7c867",
  "rgb": {
    "r": 231,
    "g": 200,
    "b": 103
  },
  "hsl": {
    "h": 45.469,
    "s": 72.727,
    "l": 65.49
  },
  "oklch": {
    "l": 0.83988,
    "c": 0.12177,
    "h": 91.9
  },
  "luminance": 0.59277
}

Semantic roles & 50–950 ramp

primary
#E7C867
secondary
#3B59B7
accent
#40D511
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #E7C867

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

Preview Lab → · Contrast checker → · Palette generator →

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