#ECD658#ECD658

#ECD658 is a very light, vivid yellow. Relative luminance 0.666; OKLCH L 87.1% C 0.146 H 99.4°. Best body text is #000000 at 14.33:1 contrast (WCAG AA passes).

Color values

HEX#ECD658
RGBrgb(236, 214, 88)
HSLhsl(51, 80%, 64%)
HSVhsv(51, 63%, 93%)
CMYKcmyk(0%, 9.3%, 62.7%, 7.5%)
CIE-LABlab(85.32, -6.84, 63.10)
CIE-LCHlch(85.32, 63.47, 96.19°)
OKLaboklab(87.11% -0.0238 0.1438)
OKLCHoklch(87.11% 0.146 99.4)
XYZxyz(60.4026, 66.6332, 18.9105)
Luminance0.6663 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD658 #586EEC
analogous
#EC8C58 #ECD658 #B8EC58
triadic
#ECD658 #58ECD6 #D658EC
tetradic
#ECD658 #58EC8C #586EEC #EC58B8
square
#ECD658 #58EC8C #586EEC #EC58B8
split-complementary
#ECD658 #58B8EC #8C58EC
monochromatic
#B59D15 #E6C921 #ECD658 #F2E38F #F9F1C6

Accessibility & contrast

On white

1.47
#ECD658 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.33
#ECD658 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD658
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD658#FFFFFF#000000##000000
##ECD6581.001.4714.3314.33
#FFFFFF1.471.0021.0021.00
#00000014.3321.001.001.00
##00000014.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D149
Deuteranopia (green-blind)
#EFD95F
Tritanopia (blue-blind)
#FDC8BB
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #ecd658;
/* rgb */ color: rgb(236, 214, 88);
/* oklch */ color: oklch(87.1% 0.146 99.4);
Tailwind
colors: {
  custom: {
    50: '#f5e28c',
    500: '#ecd658',
    950: '#000000',
  },
}
SCSS
$custom: #ecd658;
$custom-light: #f5e28c;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd658",
  "rgb": {
    "r": 236,
    "g": 214,
    "b": 88
  },
  "hsl": {
    "h": 51.081,
    "s": 79.57,
    "l": 63.529
  },
  "oklch": {
    "l": 0.87111,
    "c": 0.14575,
    "h": 99.4
  },
  "luminance": 0.66631
}

Semantic roles & 50–950 ramp

primary
#ECD658
secondary
#3347B5
accent
#29DC0A
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #ECD658

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

Preview Lab → · Contrast checker → · Palette generator →

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