#ECD681#ECD681

#ECD681 is a very light, moderate yellow. Relative luminance 0.675; OKLCH L 87.6% C 0.108 H 95.3°. Best body text is #000000 at 14.50:1 contrast (WCAG AA passes).

Color values

HEX#ECD681
RGBrgb(236, 214, 129)
HSLhsl(48, 74%, 72%)
HSVhsv(48, 45%, 93%)
CMYKcmyk(0%, 9.3%, 45.3%, 7.5%)
CIE-LABlab(85.76, -3.60, 44.59)
CIE-LCHlch(85.76, 44.74, 94.61°)
OKLaboklab(87.61% -0.01 0.1077)
OKLCHoklch(87.61% 0.108 95.3)
XYZxyz(62.6028, 67.5133, 30.4984)
Luminance0.6751 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD681 #8197EC
analogous
#ECA181 #ECD681 #CCEC81
triadic
#ECD681 #81ECD6 #D681EC
tetradic
#ECD681 #81ECA1 #8197EC #EC81CC
square
#ECD681 #81ECA1 #8197EC #EC81CC
split-complementary
#ECD681 #81CCEC #A181EC
monochromatic
#D3AE20 #E4C54C #ECD681 #F4E7B6 #FBF6E4

Accessibility & contrast

On white

1.45
#ECD681 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.50
#ECD681 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD681
14.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD681#FFFFFF#000000##000000
##ECD6811.001.4514.5014.50
#FFFFFF1.451.0021.0021.00
#00000014.5021.001.001.00
##00000014.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D27A
Deuteranopia (green-blind)
#ECDA84
Tritanopia (blue-blind)
#FBCAC1
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #ecd681;
/* rgb */ color: rgb(236, 214, 129);
/* oklch */ color: oklch(87.6% 0.108 95.3);
Tailwind
colors: {
  custom: {
    50: '#f4e2a7',
    500: '#ecd681',
    950: '#000000',
  },
}
SCSS
$custom: #ecd681;
$custom-light: #f4e2a7;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd681",
  "rgb": {
    "r": 236,
    "g": 214,
    "b": 129
  },
  "hsl": {
    "h": 47.664,
    "s": 73.793,
    "l": 71.569
  },
  "oklch": {
    "l": 0.87606,
    "c": 0.10812,
    "h": 95.3
  },
  "luminance": 0.67511
}

Semantic roles & 50–950 ramp

primary
#ECD681
secondary
#4B65C6
accent
#38D610
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#17150F
muted
#858480

Preview Lab

Preview with #ECD681

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

Preview Lab → · Contrast checker → · Palette generator →

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