#E7CC68#E7CC68

#E7CC68 is a very light, vivid yellow. Relative luminance 0.612; OKLCH L 84.8% C 0.124 H 94.5°. Best body text is #000000 at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#E7CC68
RGBrgb(231, 204, 104)
HSLhsl(47, 73%, 66%)
HSVhsv(47, 55%, 91%)
CMYKcmyk(0%, 11.7%, 55%, 9.4%)
CIE-LABlab(82.47, -2.69, 52.61)
CIE-LCHlch(82.47, 52.67, 92.93°)
OKLaboklab(84.8% -0.0097 0.1234)
OKLCHoklch(84.8% 0.124 94.5)
XYZxyz(57.0488, 61.1767, 21.8973)
Luminance0.6117 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7CC68 #6883E7
analogous
#E78C68 #E7CC68 #C2E768
triadic
#E7CC68 #68E7CC #CC68E7
tetradic
#E7CC68 #68E78C #6883E7 #E768C2
square
#E7CC68 #68E78C #6883E7 #E768C2
split-complementary
#E7CC68 #68C2E7 #8C68E7
monochromatic
#B7971D #DFBA33 #E7CC68 #EFDE9D #F8F0D2

Accessibility & contrast

On white

1.59
#E7CC68 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.23
#E7CC68 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7CC68
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7CC68#FFFFFF#000000##000000
##E7CC681.001.5913.2313.23
#FFFFFF1.591.0021.0021.00
#00000013.2321.001.001.00
##00000013.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC85F
Deuteranopia (green-blind)
#E5D16C
Tritanopia (blue-blind)
#F7BFB5
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #e7cc68;
/* rgb */ color: rgb(231, 204, 104);
/* oklch */ color: oklch(84.8% 0.124 94.5);
Tailwind
colors: {
  custom: {
    50: '#f1db96',
    500: '#e7cc68',
    950: '#000000',
  },
}
SCSS
$custom: #e7cc68;
$custom-light: #f1db96;
$custom-dark: #000000;
JSON
{
  "hex": "#e7cc68",
  "rgb": {
    "r": 231,
    "g": 204,
    "b": 104
  },
  "hsl": {
    "h": 47.244,
    "s": 72.571,
    "l": 65.686
  },
  "oklch": {
    "l": 0.84804,
    "c": 0.12377,
    "h": 94.5
  },
  "luminance": 0.61174
}

Semantic roles & 50–950 ramp

primary
#E7CC68
secondary
#3C56B7
accent
#3AD511
background
#FFFEFC
surface
#FFFBF5
border
#D7D4CF
text
#17140D
muted
#85837F

Preview Lab

Preview with #E7CC68

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

Preview Lab → · Contrast checker → · Palette generator →

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