#ECD54B#ECD54B

#ECD54B is a very light, vivid yellow. Relative luminance 0.659; OKLCH L 86.8% C 0.154 H 99.7°. Best body text is #000000 at 14.19:1 contrast (WCAG AA passes).

Color values

HEX#ECD54B
RGBrgb(236, 213, 75)
HSLhsl(51, 81%, 61%)
HSVhsv(51, 68%, 93%)
CMYKcmyk(0%, 9.7%, 68.2%, 7.5%)
CIE-LABlab(84.96, -7.08, 68.01)
CIE-LCHlch(84.96, 68.38, 95.94°)
OKLaboklab(86.8% -0.0259 0.1522)
OKLCHoklch(86.8% 0.154 99.7)
XYZxyz(59.6590, 65.9321, 16.2390)
Luminance0.6593 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD54B #4B62EC
analogous
#EC844B #ECD54B #B2EC4B
triadic
#ECD54B #4BECD5 #D54BEC
tetradic
#ECD54B #4BEC84 #4B62EC #EC4BB2
square
#ECD54B #4BEC84 #4B62EC #EC4BB2
split-complementary
#ECD54B #4BB2EC #844BEC
monochromatic
#AB9512 #E2C518 #ECD54B #F2E282 #F8EFBA

Accessibility & contrast

On white

1.48
#ECD54B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.19
#ECD54B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD54B
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD54B#FFFFFF#000000##000000
##ECD54B1.001.4814.1914.19
#FFFFFF1.481.0021.0021.00
#00000014.1921.001.001.00
##00000014.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9CF37
Deuteranopia (green-blind)
#EFD853
Tritanopia (blue-blind)
#FEC6B9
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #ecd54b;
/* rgb */ color: rgb(236, 213, 75);
/* oklch */ color: oklch(86.8% 0.154 99.7);
Tailwind
colors: {
  custom: {
    50: '#f6e185',
    500: '#ecd54b',
    950: '#000000',
  },
}
SCSS
$custom: #ecd54b;
$custom-light: #f6e185;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd54b",
  "rgb": {
    "r": 236,
    "g": 213,
    "b": 75
  },
  "hsl": {
    "h": 51.429,
    "s": 80.905,
    "l": 60.98
  },
  "oklch": {
    "l": 0.86796,
    "c": 0.15436,
    "h": 99.7
  },
  "luminance": 0.65929
}

Semantic roles & 50–950 ramp

primary
#ECD54B
secondary
#3041AC
accent
#27DD08
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#18150B
muted
#86847E

Preview Lab

Preview with #ECD54B

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

Preview Lab → · Contrast checker → · Palette generator →

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