#E7CC4E#E7CC4E

#E7CC4E is a very light, vivid yellow. Relative luminance 0.607; OKLCH L 84.5% C 0.145 H 97.0°. Best body text is #000000 at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#E7CC4E
RGBrgb(231, 204, 78)
HSLhsl(49, 76%, 61%)
HSVhsv(49, 66%, 91%)
CMYKcmyk(0%, 11.7%, 66.2%, 9.4%)
CIE-LABlab(82.23, -4.43, 63.87)
CIE-LCHlch(82.23, 64.02, 93.97°)
OKLaboklab(84.54% -0.0177 0.1441)
OKLCHoklch(84.54% 0.145 97)
XYZxyz(55.9256, 60.7275, 15.9820)
Luminance0.6072 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7CC4E #4E69E7
analogous
#E77F4E #E7CC4E #B5E74E
triadic
#E7CC4E #4EE7CC #CC4EE7
tetradic
#E7CC4E #4EE77F #4E69E7 #E74EB5
square
#E7CC4E #4EE77F #4E69E7 #E74EB5
split-complementary
#E7CC4E #4EB5E7 #7F4EE7
monochromatic
#A48B16 #DAB91E #E7CC4E #EEDC84 #F6EBBA

Accessibility & contrast

On white

1.60
#E7CC4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.15
#E7CC4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7CC4E
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7CC4E#FFFFFF#000000##000000
##E7CC4E1.001.6013.1513.15
#FFFFFF1.601.0021.0021.00
#00000013.1521.001.001.00
##00000013.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C73E
Deuteranopia (green-blind)
#E7D055
Tritanopia (blue-blind)
#F9BDB2
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #e7cc4e;
/* rgb */ color: rgb(231, 204, 78);
/* oklch */ color: oklch(84.5% 0.145 97.0);
Tailwind
colors: {
  custom: {
    50: '#f2db86',
    500: '#e7cc4e',
    950: '#000000',
  },
}
SCSS
$custom: #e7cc4e;
$custom-light: #f2db86;
$custom-dark: #000000;
JSON
{
  "hex": "#e7cc4e",
  "rgb": {
    "r": 231,
    "g": 204,
    "b": 78
  },
  "hsl": {
    "h": 49.412,
    "s": 76.119,
    "l": 60.588
  },
  "oklch": {
    "l": 0.84536,
    "c": 0.14515,
    "h": 97
  },
  "luminance": 0.60725
}

Semantic roles & 50–950 ramp

primary
#E7CC4E
secondary
#3347A6
accent
#31D80D
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E7CC4E

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

Preview Lab → · Contrast checker → · Palette generator →

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