#ECD565#ECD565

#ECD565 is a very light, vivid yellow. Relative luminance 0.664; OKLCH L 87.0% C 0.134 H 97.9°. Best body text is #000000 at 14.27:1 contrast (WCAG AA passes).

Color values

HEX#ECD565
RGBrgb(236, 213, 101)
HSLhsl(50, 78%, 66%)
HSVhsv(50, 57%, 93%)
CMYKcmyk(0%, 9.7%, 57.2%, 7.5%)
CIE-LABlab(85.18, -5.46, 57.23)
CIE-LCHlch(85.18, 57.49, 95.45°)
OKLaboklab(87.04% -0.0183 0.133)
OKLCHoklch(87.04% 0.134 97.9)
XYZxyz(60.7376, 66.3636, 21.9195)
Luminance0.6636 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD565 #657CEC
analogous
#EC9165 #ECD565 #BFEC65
triadic
#ECD565 #65ECD5 #D565EC
tetradic
#ECD565 #65EC91 #657CEC #EC65BF
square
#ECD565 #65EC91 #657CEC #EC65BF
split-complementary
#ECD565 #65BFEC #9165EC
monochromatic
#BFA218 #E5C62F #ECD565 #F3E49B #F9F3D2

Accessibility & contrast

On white

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

On black

14.27
#ECD565 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD565
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD565#FFFFFF#000000##000000
##ECD5651.001.4714.2714.27
#FFFFFF1.471.0021.0021.00
#00000014.2721.001.001.00
##00000014.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D05A
Deuteranopia (green-blind)
#EED86A
Tritanopia (blue-blind)
#FDC7BC
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #ecd565;
/* rgb */ color: rgb(236, 213, 101);
/* oklch */ color: oklch(87.0% 0.134 97.9);
Tailwind
colors: {
  custom: {
    50: '#f5e194',
    500: '#ecd565',
    950: '#000000',
  },
}
SCSS
$custom: #ecd565;
$custom-light: #f5e194;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd565",
  "rgb": {
    "r": 236,
    "g": 213,
    "b": 101
  },
  "hsl": {
    "h": 49.778,
    "s": 78.035,
    "l": 66.078
  },
  "oklch": {
    "l": 0.87041,
    "c": 0.13421,
    "h": 97.9
  },
  "luminance": 0.66361
}

Semantic roles & 50–950 ramp

primary
#ECD565
secondary
#384EBE
accent
#2EDA0B
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #ECD565

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

Preview Lab → · Contrast checker → · Palette generator →

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