#E7CC73#E7CC73

#E7CC73 is a very light, moderate yellow. Relative luminance 0.614; OKLCH L 84.9% C 0.113 H 93.0°. Best body text is #000000 at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#E7CC73
RGBrgb(231, 204, 115)
HSLhsl(46, 71%, 68%)
HSVhsv(46, 50%, 91%)
CMYKcmyk(0%, 11.7%, 50.2%, 9.4%)
CIE-LABlab(82.60, -1.78, 47.48)
CIE-LCHlch(82.60, 47.51, 92.14°)
OKLaboklab(84.95% -0.0058 0.1132)
OKLCHoklch(84.95% 0.113 93)
XYZxyz(57.6444, 61.4150, 25.0342)
Luminance0.6141 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7CC73 #738EE7
analogous
#E79273 #E7CC73 #C8E773
triadic
#E7CC73 #73E7CC #CC73E7
tetradic
#E7CC73 #73E792 #738EE7 #E773C8
square
#E7CC73 #73E792 #738EE7 #E773C8
split-complementary
#E7CC73 #73C8E7 #9273E7
monochromatic
#BF9A21 #DEB93F #E7CC73 #F0DFA7 #F9F2DB

Accessibility & contrast

On white

1.58
#E7CC73 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.28
#E7CC73 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7CC73
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7CC73#FFFFFF#000000##000000
##E7CC731.001.5813.2813.28
#FFFFFF1.581.0021.0021.00
#00000013.2821.001.001.00
##00000013.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC96B
Deuteranopia (green-blind)
#E4D176
Tritanopia (blue-blind)
#F7C0B7
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #e7cc73;
/* rgb */ color: rgb(231, 204, 115);
/* oklch */ color: oklch(84.9% 0.113 93.0);
Tailwind
colors: {
  custom: {
    50: '#f1db9d',
    500: '#e7cc73',
    950: '#000000',
  },
}
SCSS
$custom: #e7cc73;
$custom-light: #f1db9d;
$custom-dark: #000000;
JSON
{
  "hex": "#e7cc73",
  "rgb": {
    "r": 231,
    "g": 204,
    "b": 115
  },
  "hsl": {
    "h": 46.034,
    "s": 70.732,
    "l": 67.843
  },
  "oklch": {
    "l": 0.84947,
    "c": 0.11331,
    "h": 93
  },
  "luminance": 0.61412
}

Semantic roles & 50–950 ramp

primary
#E7CC73
secondary
#405DBE
accent
#3FD313
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#17140E
muted
#85837F

Preview Lab

Preview with #E7CC73

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

Preview Lab → · Contrast checker → · Palette generator →

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