#E7CD7E#E7CD7E

#E7CD7E is a very light, moderate yellow. Relative luminance 0.622; OKLCH L 85.3% C 0.103 H 91.8°. Best body text is #000000 at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#E7CD7E
RGBrgb(231, 205, 126)
HSLhsl(45, 69%, 70%)
HSVhsv(45, 45%, 91%)
CMYKcmyk(0%, 11.3%, 45.5%, 9.4%)
CIE-LABlab(83.00, -1.27, 42.53)
CIE-LCHlch(83.00, 42.55, 91.72°)
OKLaboklab(85.31% -0.0033 0.1029)
OKLCHoklch(85.31% 0.103 91.8)
XYZxyz(58.5540, 62.1603, 28.6484)
Luminance0.6216 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7CD7E #7E98E7
analogous
#E7997E #E7CD7E #CCE77E
triadic
#E7CD7E #7EE7CD #CD7EE7
tetradic
#E7CD7E #7EE799 #7E98E7 #E77ECC
square
#E7CD7E #7EE799 #7E98E7 #E77ECC
split-complementary
#E7CD7E #7ECCE7 #997EE7
monochromatic
#C69E25 #DDB94A #E7CD7E #F1E1B2 #FAF5E5

Accessibility & contrast

On white

1.56
#E7CD7E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.43
#E7CD7E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7CD7E
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7CD7E#FFFFFF#000000##000000
##E7CD7E1.001.5613.4313.43
#FFFFFF1.561.0021.0021.00
#00000013.4321.001.001.00
##00000013.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDCA78
Deuteranopia (green-blind)
#E3D281
Tritanopia (blue-blind)
#F6C2BA
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #e7cd7e;
/* rgb */ color: rgb(231, 205, 126);
/* oklch */ color: oklch(85.3% 0.103 91.8);
Tailwind
colors: {
  custom: {
    50: '#f0dca4',
    500: '#e7cd7e',
    950: '#000000',
  },
}
SCSS
$custom: #e7cd7e;
$custom-light: #f0dca4;
$custom-dark: #000000;
JSON
{
  "hex": "#e7cd7e",
  "rgb": {
    "r": 231,
    "g": 205,
    "b": 126
  },
  "hsl": {
    "h": 45.143,
    "s": 68.627,
    "l": 70
  },
  "oklch": {
    "l": 0.85307,
    "c": 0.10294,
    "h": 91.8
  },
  "luminance": 0.62158
}

Semantic roles & 50–950 ramp

primary
#E7CD7E
secondary
#4A67BF
accent
#43D115
background
#FFFEFC
surface
#FEFBF6
border
#D6D4D0
text
#17150F
muted
#858480

Preview Lab

Preview with #E7CD7E

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

Preview Lab → · Contrast checker → · Palette generator →

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