#E2CD6F#E2CD6F

#E2CD6F is a very light, moderate yellow. Relative luminance 0.610; OKLCH L 84.6% C 0.117 H 97.0°. Best body text is #000000 at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#E2CD6F
RGBrgb(226, 205, 111)
HSLhsl(49, 66%, 66%)
HSVhsv(49, 51%, 89%)
CMYKcmyk(0%, 9.3%, 50.9%, 11.4%)
CIE-LABlab(82.37, -4.67, 49.04)
CIE-LCHlch(82.37, 49.26, 95.44°)
OKLaboklab(84.64% -0.0144 0.1163)
OKLCHoklch(84.64% 0.117 97)
XYZxyz(56.0664, 60.9813, 23.8531)
Luminance0.6098 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CD6F #6F84E2
analogous
#E2936F #E2CD6F #BEE26F
triadic
#E2CD6F #6FE2CD #CD6FE2
tetradic
#E2CD6F #6FE293 #6F84E2 #E26FBE
square
#E2CD6F #6FE293 #6F84E2 #E26FBE
split-complementary
#E2CD6F #6FBEE2 #936FE2
monochromatic
#B39924 #D8BB3C #E2CD6F #ECDFA2 #F7F0D5

Accessibility & contrast

On white

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

On black

13.20
#E2CD6F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2CD6F
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2CD6F#FFFFFF#000000##000000
##E2CD6F1.001.5913.2013.20
#FFFFFF1.591.0021.0021.00
#00000013.2021.001.001.00
##00000013.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC967
Deuteranopia (green-blind)
#E3D073
Tritanopia (blue-blind)
#F1C1B7
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #e2cd6f;
/* rgb */ color: rgb(226, 205, 111);
/* oklch */ color: oklch(84.6% 0.117 97.0);
Tailwind
colors: {
  custom: {
    50: '#eddc9a',
    500: '#e2cd6f',
    950: '#000000',
  },
}
SCSS
$custom: #e2cd6f;
$custom-light: #eddc9a;
$custom-dark: #000000;
JSON
{
  "hex": "#e2cd6f",
  "rgb": {
    "r": 226,
    "g": 205,
    "b": 111
  },
  "hsl": {
    "h": 49.043,
    "s": 66.474,
    "l": 66.078
  },
  "oklch": {
    "l": 0.84643,
    "c": 0.11722,
    "h": 97
  },
  "luminance": 0.60979
}

Semantic roles & 50–950 ramp

primary
#E2CD6F
secondary
#4256B4
accent
#39CE17
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E2CD6F

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

Preview Lab → · Contrast checker → · Palette generator →

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