#ECD893#ECD893

#ECD893 is a very light, moderate yellow. Relative luminance 0.691; OKLCH L 88.3% C 0.090 H 93.9°. Best body text is #000000 at 14.81:1 contrast (WCAG AA passes).

Color values

HEX#ECD893
RGBrgb(236, 216, 147)
HSLhsl(47, 70%, 75%)
HSVhsv(47, 38%, 93%)
CMYKcmyk(0%, 8.5%, 37.7%, 7.5%)
CIE-LABlab(86.53, -2.75, 36.54)
CIE-LCHlch(86.53, 36.65, 94.30°)
OKLaboklab(88.3% -0.0061 0.0902)
OKLCHoklch(88.3% 0.09 93.9)
XYZxyz(64.4157, 69.0533, 37.5335)
Luminance0.6905 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD893 #93A7EC
analogous
#ECAC93 #ECD893 #D3EC93
triadic
#ECD893 #93ECD8 #D893EC
tetradic
#ECD893 #93ECAC #93A7EC #EC93D3
square
#ECD893 #93ECAC #93A7EC #EC93D3
split-complementary
#ECD893 #93D3EC #AC93EC
monochromatic
#DAB22B #E3C55F #ECD893 #F5EBC7 #FAF6E5

Accessibility & contrast

On white

1.42
#ECD893 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.81
#ECD893 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD893
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD893#FFFFFF#000000##000000
##ECD8931.001.4214.8114.81
#FFFFFF1.421.0021.0021.00
#00000014.8121.001.001.00
##00000014.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D58E
Deuteranopia (green-blind)
#EBDB95
Tritanopia (blue-blind)
#F9CEC6
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #ecd893;
/* rgb */ color: rgb(236, 216, 147);
/* oklch */ color: oklch(88.3% 0.090 93.9);
Tailwind
colors: {
  custom: {
    50: '#f3e3b3',
    500: '#ecd893',
    950: '#000000',
  },
}
SCSS
$custom: #ecd893;
$custom-light: #f3e3b3;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd893",
  "rgb": {
    "r": 236,
    "g": 216,
    "b": 147
  },
  "hsl": {
    "h": 46.517,
    "s": 70.079,
    "l": 75.098
  },
  "oklch": {
    "l": 0.88297,
    "c": 0.09037,
    "h": 93.9
  },
  "luminance": 0.69051
}

Semantic roles & 50–950 ramp

primary
#ECD893
secondary
#5C74C7
accent
#3ED213
background
#FFFEFD
surface
#FEFCF8
border
#D6D5D1
text
#171511
muted
#858481

Preview Lab

Preview with #ECD893

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

Preview Lab → · Contrast checker → · Palette generator →

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