#ECEC4B#ECEC4B

#ECEC4B is a very light, vivid yellow. Relative luminance 0.783; OKLCH L 91.5% C 0.175 H 109.4°. Best body text is #000000 at 16.67:1 contrast (WCAG AA passes).

Color values

HEX#ECEC4B
RGBrgb(236, 236, 75)
HSLhsl(60, 81%, 61%)
HSVhsv(60, 68%, 93%)
CMYKcmyk(0%, 0%, 68.2%, 7.5%)
CIE-LABlab(90.93, -18.46, 73.98)
CIE-LCHlch(90.93, 76.25, 104.01°)
OKLaboklab(91.55% -0.058 0.1648)
OKLCHoklch(91.55% 0.175 109.4)
XYZxyz(65.8598, 78.3337, 18.3059)
Luminance0.7833 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECEC4B #4B4BEC
analogous
#EC9B4B #ECEC4B #9BEC4B
triadic
#ECEC4B #4BECEC #EC4BEC
tetradic
#ECEC4B #4BEC9B #4B4BEC #EC4B9B
square
#ECEC4B #4BEC9B #4B4BEC #EC4B9B
split-complementary
#ECEC4B #4B9BEC #9B4BEC
monochromatic
#ABAB12 #E2E218 #ECEC4B #F2F282 #F8F8BA

Accessibility & contrast

On white

1.26
#ECEC4B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.67
#ECEC4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECEC4B
16.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECEC4B#FFFFFF#000000##000000
##ECEC4B1.001.2616.6716.67
#FFFFFF1.261.0021.0021.00
#00000016.6721.001.001.00
##00000016.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE231
Deuteranopia (green-blind)
#FFE757
Tritanopia (blue-blind)
#FCDDCC
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #ecec4b;
/* rgb */ color: rgb(236, 236, 75);
/* oklch */ color: oklch(91.5% 0.175 109.4);
Tailwind
colors: {
  custom: {
    50: '#f6f187',
    500: '#ecec4b',
    950: '#000000',
  },
}
SCSS
$custom: #ecec4b;
$custom-light: #f6f187;
$custom-dark: #000000;
JSON
{
  "hex": "#ecec4b",
  "rgb": {
    "r": 236,
    "g": 236,
    "b": 75
  },
  "hsl": {
    "h": 60,
    "s": 80.905,
    "l": 60.98
  },
  "oklch": {
    "l": 0.91548,
    "c": 0.17469,
    "h": 109.4
  },
  "luminance": 0.78332
}

Semantic roles & 50–950 ramp

primary
#ECEC4B
secondary
#3030AC
accent
#08DD08
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160C
muted
#86857F

Preview Lab

Preview with #ECEC4B

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

Preview Lab → · Contrast checker → · Palette generator →

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