#ECD281#ECD281

#ECD281 is a very light, moderate yellow. Relative luminance 0.655; OKLCH L 86.8% C 0.105 H 92.2°. Best body text is #000000 at 14.10:1 contrast (WCAG AA passes).

Color values

HEX#ECD281
RGBrgb(236, 210, 129)
HSLhsl(45, 74%, 72%)
HSVhsv(45, 45%, 93%)
CMYKcmyk(0%, 11%, 45.3%, 7.5%)
CIE-LABlab(84.75, -1.55, 43.32)
CIE-LCHlch(84.75, 43.35, 92.05°)
OKLaboklab(86.81% -0.0041 0.1048)
OKLCHoklch(86.81% 0.105 92.2)
XYZxyz(61.6029, 65.5135, 30.1651)
Luminance0.6551 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD281 #819BEC
analogous
#EC9D81 #ECD281 #D0EC81
triadic
#ECD281 #81ECD2 #D281EC
tetradic
#ECD281 #81EC9D #819BEC #EC81D0
square
#ECD281 #81EC9D #819BEC #EC81D0
split-complementary
#ECD281 #81D0EC #9D81EC
monochromatic
#D3A720 #E4BF4C #ECD281 #F4E5B6 #FBF6E4

Accessibility & contrast

On white

1.49
#ECD281 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.10
#ECD281 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD281
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD281#FFFFFF#000000##000000
##ECD2811.001.4914.1014.10
#FFFFFF1.491.0021.0021.00
#00000014.1021.001.001.00
##00000014.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CF7B
Deuteranopia (green-blind)
#E9D784
Tritanopia (blue-blind)
#FBC6BE
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #ecd281;
/* rgb */ color: rgb(236, 210, 129);
/* oklch */ color: oklch(86.8% 0.105 92.2);
Tailwind
colors: {
  custom: {
    50: '#f4dfa7',
    500: '#ecd281',
    950: '#000000',
  },
}
SCSS
$custom: #ecd281;
$custom-light: #f4dfa7;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd281",
  "rgb": {
    "r": 236,
    "g": 210,
    "b": 129
  },
  "hsl": {
    "h": 45.421,
    "s": 73.793,
    "l": 71.569
  },
  "oklch": {
    "l": 0.86805,
    "c": 0.10488,
    "h": 92.2
  },
  "luminance": 0.65511
}

Semantic roles & 50–950 ramp

primary
#ECD281
secondary
#4B69C6
accent
#40D610
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#17150F
muted
#858480

Preview Lab

Preview with #ECD281

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

Preview Lab → · Contrast checker → · Palette generator →

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