#ECD283#ECD283

#ECD283 is a very light, moderate yellow. Relative luminance 0.656; OKLCH L 86.8% C 0.103 H 91.8°. Best body text is #000000 at 14.11:1 contrast (WCAG AA passes).

Color values

HEX#ECD283
RGBrgb(236, 210, 131)
HSLhsl(45, 73%, 72%)
HSVhsv(45, 44%, 93%)
CMYKcmyk(0%, 11%, 44.5%, 7.5%)
CIE-LABlab(84.78, -1.36, 42.36)
CIE-LCHlch(84.78, 42.38, 91.84°)
OKLaboklab(86.84% -0.0033 0.1028)
OKLCHoklch(86.84% 0.103 91.8)
XYZxyz(61.7372, 65.5672, 30.8721)
Luminance0.6556 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD283 #839DEC
analogous
#EC9E83 #ECD283 #D2EC83
triadic
#ECD283 #83ECD2 #D283EC
tetradic
#ECD283 #83EC9E #839DEC #EC83D2
square
#ECD283 #83EC9E #839DEC #EC83D2
split-complementary
#ECD283 #83D2EC #9E83EC
monochromatic
#D4A820 #E4BF4E #ECD283 #F4E5B8 #FBF5E4

Accessibility & contrast

On white

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

On black

14.11
#ECD283 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD283
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD283#FFFFFF#000000##000000
##ECD2831.001.4914.1114.11
#FFFFFF1.491.0021.0021.00
#00000014.1121.001.001.00
##00000014.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CF7D
Deuteranopia (green-blind)
#E9D786
Tritanopia (blue-blind)
#FBC6BF
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #ecd283;
/* rgb */ color: rgb(236, 210, 131);
/* oklch */ color: oklch(86.8% 0.103 91.8);
Tailwind
colors: {
  custom: {
    50: '#f4dfa8',
    500: '#ecd283',
    950: '#000000',
  },
}
SCSS
$custom: #ecd283;
$custom-light: #f4dfa8;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd283",
  "rgb": {
    "r": 236,
    "g": 210,
    "b": 131
  },
  "hsl": {
    "h": 45.143,
    "s": 73.427,
    "l": 71.961
  },
  "oklch": {
    "l": 0.86835,
    "c": 0.1028,
    "h": 91.8
  },
  "luminance": 0.65565
}

Semantic roles & 50–950 ramp

primary
#ECD283
secondary
#4D6BC6
accent
#41D610
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#171510
muted
#858480

Preview Lab

Preview with #ECD283

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

Preview Lab → · Contrast checker → · Palette generator →

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