#E7CD72#E7CD72

#E7CD72 is a very light, moderate yellow. Relative luminance 0.619; OKLCH L 85.1% C 0.115 H 93.8°. Best body text is #000000 at 13.37:1 contrast (WCAG AA passes).

Color values

HEX#E7CD72
RGBrgb(231, 205, 114)
HSLhsl(47, 71%, 68%)
HSVhsv(47, 51%, 91%)
CMYKcmyk(0%, 11.3%, 50.6%, 9.4%)
CIE-LABlab(82.84, -2.38, 48.26)
CIE-LCHlch(82.84, 48.32, 92.82°)
OKLaboklab(85.13% -0.0077 0.1148)
OKLCHoklch(85.13% 0.115 93.8)
XYZxyz(57.8256, 61.8690, 24.8123)
Luminance0.6187 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7CD72 #728CE7
analogous
#E79372 #E7CD72 #C6E772
triadic
#E7CD72 #72E7CD #CD72E7
tetradic
#E7CD72 #72E793 #728CE7 #E772C6
square
#E7CD72 #72E793 #728CE7 #E772C6
split-complementary
#E7CD72 #72C6E7 #9372E7
monochromatic
#BE9B20 #DEBA3E #E7CD72 #F0E0A6 #F9F2DB

Accessibility & contrast

On white

1.57
#E7CD72 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.37
#E7CD72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7CD72
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7CD72#FFFFFF#000000##000000
##E7CD721.001.5713.3713.37
#FFFFFF1.571.0021.0021.00
#00000013.3721.001.001.00
##00000013.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DECA6A
Deuteranopia (green-blind)
#E5D276
Tritanopia (blue-blind)
#F7C1B8
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #e7cd72;
/* rgb */ color: rgb(231, 205, 114);
/* oklch */ color: oklch(85.1% 0.115 93.8);
Tailwind
colors: {
  custom: {
    50: '#f1dc9c',
    500: '#e7cd72',
    950: '#000000',
  },
}
SCSS
$custom: #e7cd72;
$custom-light: #f1dc9c;
$custom-dark: #000000;
JSON
{
  "hex": "#e7cd72",
  "rgb": {
    "r": 231,
    "g": 205,
    "b": 114
  },
  "hsl": {
    "h": 46.667,
    "s": 70.909,
    "l": 67.647
  },
  "oklch": {
    "l": 0.85134,
    "c": 0.11506,
    "h": 93.8
  },
  "luminance": 0.61866
}

Semantic roles & 50–950 ramp

primary
#E7CD72
secondary
#405CBD
accent
#3DD313
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E7CD72

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

Preview Lab → · Contrast checker → · Palette generator →

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