#ECD892#ECD892

#ECD892 is a very light, moderate yellow. Relative luminance 0.690; OKLCH L 88.3% C 0.091 H 94.0°. Best body text is #000000 at 14.80:1 contrast (WCAG AA passes).

Color values

HEX#ECD892
RGBrgb(236, 216, 146)
HSLhsl(47, 70%, 75%)
HSVhsv(47, 38%, 93%)
CMYKcmyk(0%, 8.5%, 38.1%, 7.5%)
CIE-LABlab(86.51, -2.86, 37.03)
CIE-LCHlch(86.51, 37.14, 94.42°)
OKLaboklab(88.28% -0.0065 0.0913)
OKLCHoklch(88.28% 0.091 94)
XYZxyz(64.3375, 69.0220, 37.1221)
Luminance0.6902 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD892 #92A6EC
analogous
#ECAB92 #ECD892 #D3EC92
triadic
#ECD892 #92ECD8 #D892EC
tetradic
#ECD892 #92ECAB #92A6EC #EC92D3
square
#ECD892 #92ECAB #92A6EC #EC92D3
split-complementary
#ECD892 #92D3EC #AB92EC
monochromatic
#DAB32A #E3C55E #ECD892 #F5EBC6 #FAF6E5

Accessibility & contrast

On white

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

On black

14.80
#ECD892 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD892
14.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD892#FFFFFF#000000##000000
##ECD8921.001.4214.8014.80
#FFFFFF1.421.0021.0021.00
#00000014.8021.001.001.00
##00000014.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D58D
Deuteranopia (green-blind)
#EBDB94
Tritanopia (blue-blind)
#F9CEC6
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #ecd892;
/* rgb */ color: rgb(236, 216, 146);
/* oklch */ color: oklch(88.3% 0.091 94.0);
Tailwind
colors: {
  custom: {
    50: '#f3e3b2',
    500: '#ecd892',
    950: '#000000',
  },
}
SCSS
$custom: #ecd892;
$custom-light: #f3e3b2;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd892",
  "rgb": {
    "r": 236,
    "g": 216,
    "b": 146
  },
  "hsl": {
    "h": 46.667,
    "s": 70.313,
    "l": 74.902
  },
  "oklch": {
    "l": 0.8828,
    "c": 0.09149,
    "h": 94
  },
  "luminance": 0.6902
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #ECD892

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

Preview Lab → · Contrast checker → · Palette generator →

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