#ECD254#ECD254

#ECD254 is a very light, vivid yellow. Relative luminance 0.646; OKLCH L 86.3% C 0.146 H 97.5°. Best body text is #000000 at 13.91:1 contrast (WCAG AA passes).

Color values

HEX#ECD254
RGBrgb(236, 210, 84)
HSLhsl(50, 80%, 63%)
HSVhsv(50, 64%, 93%)
CMYKcmyk(0%, 11%, 64.4%, 7.5%)
CIE-LABlab(84.26, -5.06, 63.65)
CIE-LCHlch(84.26, 63.85, 94.54°)
OKLaboklab(86.26% -0.0191 0.1444)
OKLCHoklch(86.26% 0.146 97.5)
XYZxyz(59.2415, 64.5690, 17.7284)
Luminance0.6457 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD254 #546EEC
analogous
#EC8654 #ECD254 #BAEC54
triadic
#ECD254 #54ECD2 #D254EC
tetradic
#ECD254 #54EC86 #546EEC #EC54BA
square
#ECD254 #54EC86 #546EEC #EC54BA
split-complementary
#ECD254 #54BAEC #8654EC
monochromatic
#B29714 #E6C41D #ECD254 #F2E08B #F8EFC2

Accessibility & contrast

On white

1.51
#ECD254 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.91
#ECD254 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD254
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD254#FFFFFF#000000##000000
##ECD2541.001.5113.9113.91
#FFFFFF1.511.0021.0021.00
#00000013.9121.001.001.00
##00000013.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CD45
Deuteranopia (green-blind)
#ECD65B
Tritanopia (blue-blind)
#FEC3B8
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #ecd254;
/* rgb */ color: rgb(236, 210, 84);
/* oklch */ color: oklch(86.3% 0.146 97.5);
Tailwind
colors: {
  custom: {
    50: '#f6df8a',
    500: '#ecd254',
    950: '#000000',
  },
}
SCSS
$custom: #ecd254;
$custom-light: #f6df8a;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd254",
  "rgb": {
    "r": 236,
    "g": 210,
    "b": 84
  },
  "hsl": {
    "h": 49.737,
    "s": 80,
    "l": 62.745
  },
  "oklch": {
    "l": 0.86263,
    "c": 0.14565,
    "h": 97.5
  },
  "luminance": 0.64566
}

Semantic roles & 50–950 ramp

primary
#ECD254
secondary
#3248B2
accent
#2DDC09
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #ECD254

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

Preview Lab → · Contrast checker → · Palette generator →

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