#ECE54B#ECE54B

#ECE54B is a very light, vivid yellow. Relative luminance 0.744; OKLCH L 90.1% C 0.168 H 106.8°. Best body text is #000000 at 15.88:1 contrast (WCAG AA passes).

Color values

HEX#ECE54B
RGBrgb(236, 229, 75)
HSLhsl(57, 81%, 61%)
HSVhsv(57, 68%, 93%)
CMYKcmyk(0%, 3%, 68.2%, 7.5%)
CIE-LABlab(89.10, -15.05, 72.17)
CIE-LCHlch(89.10, 73.72, 101.78°)
OKLaboklab(90.09% -0.0484 0.161)
OKLCHoklch(90.09% 0.168 106.8)
XYZxyz(63.8838, 74.3817, 17.6472)
Luminance0.7438 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECE54B #4B52EC
analogous
#EC944B #ECE54B #A2EC4B
triadic
#ECE54B #4BECE5 #E54BEC
tetradic
#ECE54B #4BEC94 #4B52EC #EC4BA2
square
#ECE54B #4BEC94 #4B52EC #EC4BA2
split-complementary
#ECE54B #4BA2EC #944BEC
monochromatic
#ABA412 #E2D918 #ECE54B #F2ED82 #F8F5BA

Accessibility & contrast

On white

1.32
#ECE54B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.88
#ECE54B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECE54B
15.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECE54B#FFFFFF#000000##000000
##ECE54B1.001.3215.8815.88
#FFFFFF1.321.0021.0021.00
#00000015.8821.001.001.00
##00000015.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8DC33
Deuteranopia (green-blind)
#FBE355
Tritanopia (blue-blind)
#FDD6C6
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #ece54b;
/* rgb */ color: rgb(236, 229, 75);
/* oklch */ color: oklch(90.1% 0.168 106.8);
Tailwind
colors: {
  custom: {
    50: '#f6ec86',
    500: '#ece54b',
    950: '#000000',
  },
}
SCSS
$custom: #ece54b;
$custom-light: #f6ec86;
$custom-dark: #000000;
JSON
{
  "hex": "#ece54b",
  "rgb": {
    "r": 236,
    "g": 229,
    "b": 75
  },
  "hsl": {
    "h": 57.391,
    "s": 80.905,
    "l": 60.98
  },
  "oklch": {
    "l": 0.90089,
    "c": 0.16808,
    "h": 106.8
  },
  "luminance": 0.74379
}

Semantic roles & 50–950 ramp

primary
#ECE54B
secondary
#3035AC
accent
#12DD08
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#18160C
muted
#86847F

Preview Lab

Preview with #ECE54B

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

Preview Lab → · Contrast checker → · Palette generator →

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