#E7C868#E7C868

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

Color values

HEX#E7C868
RGBrgb(231, 200, 104)
HSLhsl(45, 73%, 66%)
HSVhsv(45, 55%, 91%)
CMYKcmyk(0%, 13.4%, 55%, 9.4%)
CIE-LABlab(81.46, -0.63, 51.41)
CIE-LCHlch(81.46, 51.42, 90.70°)
OKLaboklab(84% -0.0037 0.1208)
OKLCHoklch(84% 0.121 91.8)
XYZxyz(56.1102, 59.2997, 21.5845)
Luminance0.5930 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7C868 #6887E7
analogous
#E78868 #E7C868 #C7E768
triadic
#E7C868 #68E7C8 #C868E7
tetradic
#E7C868 #68E788 #6887E7 #E768C7
square
#E7C868 #68E788 #6887E7 #E768C7
split-complementary
#E7C868 #68C7E7 #8868E7
monochromatic
#B7921D #DFB533 #E7C868 #EFDB9D #F8EED2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E7C868#FFFFFF#000000##000000
##E7C8681.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)
#DAC55F
Deuteranopia (green-blind)
#E2CE6C
Tritanopia (blue-blind)
#F7BBB2
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #e7c868;
/* rgb */ color: rgb(231, 200, 104);
/* oklch */ color: oklch(84.0% 0.121 91.8);
Tailwind
colors: {
  custom: {
    50: '#f1d896',
    500: '#e7c868',
    950: '#000000',
  },
}
SCSS
$custom: #e7c868;
$custom-light: #f1d896;
$custom-dark: #000000;
JSON
{
  "hex": "#e7c868",
  "rgb": {
    "r": 231,
    "g": 200,
    "b": 104
  },
  "hsl": {
    "h": 45.354,
    "s": 72.571,
    "l": 65.686
  },
  "oklch": {
    "l": 0.84001,
    "c": 0.12085,
    "h": 91.8
  },
  "luminance": 0.59297
}

Semantic roles & 50–950 ramp

primary
#E7C868
secondary
#3C5AB7
accent
#41D511
background
#FFFEFC
surface
#FFFBF5
border
#D7D4CF
text
#17140D
muted
#85837F

Preview Lab

Preview with #E7C868

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

Preview Lab → · Contrast checker → · Palette generator →

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