#ECD280#ECD280

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

Color values

HEX#ECD280
RGBrgb(236, 210, 128)
HSLhsl(46, 74%, 71%)
HSVhsv(46, 46%, 93%)
CMYKcmyk(0%, 11%, 45.8%, 7.5%)
CIE-LABlab(84.73, -1.65, 43.80)
CIE-LCHlch(84.73, 43.83, 92.16°)
OKLaboklab(86.79% -0.0044 0.1058)
OKLCHoklch(86.79% 0.106 92.4)
XYZxyz(61.5368, 65.4871, 29.8167)
Luminance0.6549 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD280 #809AEC
analogous
#EC9C80 #ECD280 #D0EC80
triadic
#ECD280 #80ECD2 #D280EC
tetradic
#ECD280 #80EC9C #809AEC #EC80D0
square
#ECD280 #80EC9C #809AEC #EC80D0
split-complementary
#ECD280 #80D0EC #9C80EC
monochromatic
#D2A71F #E4BF4B #ECD280 #F4E5B5 #FBF6E4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECD280#FFFFFF#000000##000000
##ECD2801.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)
#E2CF79
Deuteranopia (green-blind)
#E9D783
Tritanopia (blue-blind)
#FBC6BE
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #ecd280;
/* rgb */ color: rgb(236, 210, 128);
/* oklch */ color: oklch(86.8% 0.106 92.4);
Tailwind
colors: {
  custom: {
    50: '#f4dfa6',
    500: '#ecd280',
    950: '#000000',
  },
}
SCSS
$custom: #ecd280;
$custom-light: #f4dfa6;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd280",
  "rgb": {
    "r": 236,
    "g": 210,
    "b": 128
  },
  "hsl": {
    "h": 45.556,
    "s": 73.973,
    "l": 71.373
  },
  "oklch": {
    "l": 0.86789,
    "c": 0.10591,
    "h": 92.4
  },
  "luminance": 0.65485
}

Semantic roles & 50–950 ramp

primary
#ECD280
secondary
#4B68C6
accent
#3FD60F
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#17150F
muted
#858480

Preview Lab

Preview with #ECD280

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

Preview Lab → · Contrast checker → · Palette generator →

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