#E7CC58#E7CC58

#E7CC58 is a very light, vivid yellow. Relative luminance 0.609; OKLCH L 84.6% C 0.138 H 96.2°. Best body text is #000000 at 13.18:1 contrast (WCAG AA passes).

Color values

HEX#E7CC58
RGBrgb(231, 204, 88)
HSLhsl(49, 75%, 63%)
HSVhsv(49, 62%, 91%)
CMYKcmyk(0%, 11.7%, 61.9%, 9.4%)
CIE-LABlab(82.32, -3.83, 59.71)
CIE-LCHlch(82.32, 59.83, 93.67°)
OKLaboklab(84.63% -0.0148 0.1367)
OKLCHoklch(84.63% 0.138 96.2)
XYZxyz(56.3118, 60.8819, 18.0159)
Luminance0.6088 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7CC58 #5873E7
analogous
#E78458 #E7CC58 #BBE758
triadic
#E7CC58 #58E7CC #CC58E7
tetradic
#E7CC58 #58E784 #5873E7 #E758BB
square
#E7CC58 #58E784 #5873E7 #E758BB
split-complementary
#E7CC58 #58BBE7 #8458E7
monochromatic
#AC9019 #DFBC22 #E7CC58 #EFDC8E #F6EDC3

Accessibility & contrast

On white

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

On black

13.18
#E7CC58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7CC58
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7CC58#FFFFFF#000000##000000
##E7CC581.001.5913.1813.18
#FFFFFF1.591.0021.0021.00
#00000013.1821.001.001.00
##00000013.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC84B
Deuteranopia (green-blind)
#E6D15E
Tritanopia (blue-blind)
#F8BEB3
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #e7cc58;
/* rgb */ color: rgb(231, 204, 88);
/* oklch */ color: oklch(84.6% 0.138 96.2);
Tailwind
colors: {
  custom: {
    50: '#f2db8c',
    500: '#e7cc58',
    950: '#000000',
  },
}
SCSS
$custom: #e7cc58;
$custom-light: #f2db8c;
$custom-dark: #000000;
JSON
{
  "hex": "#e7cc58",
  "rgb": {
    "r": 231,
    "g": 204,
    "b": 88
  },
  "hsl": {
    "h": 48.671,
    "s": 74.869,
    "l": 62.549
  },
  "oklch": {
    "l": 0.84628,
    "c": 0.13753,
    "h": 96.2
  },
  "luminance": 0.60879
}

Semantic roles & 50–950 ramp

primary
#E7CC58
secondary
#364DAD
accent
#34D70E
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E7CC58

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

Preview Lab → · Contrast checker → · Palette generator →

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