#ECD454#ECD454

#ECD454 is a very light, vivid yellow. Relative luminance 0.656; OKLCH L 86.7% C 0.147 H 98.6°. Best body text is #000000 at 14.11:1 contrast (WCAG AA passes).

Color values

HEX#ECD454
RGBrgb(236, 212, 84)
HSLhsl(51, 80%, 63%)
HSVhsv(51, 64%, 93%)
CMYKcmyk(0%, 10.2%, 64.4%, 7.5%)
CIE-LABlab(84.77, -6.07, 64.20)
CIE-LCHlch(84.77, 64.48, 95.40°)
OKLaboklab(86.67% -0.022 0.1455)
OKLCHoklch(86.67% 0.147 98.6)
XYZxyz(59.7384, 65.5627, 17.8940)
Luminance0.6556 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD454 #546CEC
analogous
#EC8854 #ECD454 #B8EC54
triadic
#ECD454 #54ECD4 #D454EC
tetradic
#ECD454 #54EC88 #546CEC #EC54B8
square
#ECD454 #54EC88 #546CEC #EC54B8
split-complementary
#ECD454 #54B8EC #8854EC
monochromatic
#B29914 #E6C61D #ECD454 #F2E28B #F8F0C2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECD454#FFFFFF#000000##000000
##ECD4541.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)
#E7CF44
Deuteranopia (green-blind)
#EED75B
Tritanopia (blue-blind)
#FEC5B9
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #ecd454;
/* rgb */ color: rgb(236, 212, 84);
/* oklch */ color: oklch(86.7% 0.147 98.6);
Tailwind
colors: {
  custom: {
    50: '#f6e08a',
    500: '#ecd454',
    950: '#000000',
  },
}
SCSS
$custom: #ecd454;
$custom-light: #f6e08a;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd454",
  "rgb": {
    "r": 236,
    "g": 212,
    "b": 84
  },
  "hsl": {
    "h": 50.526,
    "s": 80,
    "l": 62.745
  },
  "oklch": {
    "l": 0.86668,
    "c": 0.1472,
    "h": 98.6
  },
  "luminance": 0.6556
}

Semantic roles & 50–950 ramp

primary
#ECD454
secondary
#3246B2
accent
#2BDC09
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #ECD454

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

Preview Lab → · Contrast checker → · Palette generator →

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