#ECDF4F#ECDF4F

#ECDF4F is a very light, vivid yellow. Relative luminance 0.712; OKLCH L 88.9% C 0.160 H 104.1°. Best body text is #000000 at 15.23:1 contrast (WCAG AA passes).

Color values

HEX#ECDF4F
RGBrgb(236, 223, 79)
HSLhsl(55, 81%, 62%)
HSVhsv(55, 67%, 93%)
CMYKcmyk(0%, 5.5%, 66.5%, 7.5%)
CIE-LABlab(87.57, -11.88, 69.11)
CIE-LCHlch(87.57, 70.13, 99.75°)
OKLaboklab(88.88% -0.0391 0.1552)
OKLCHoklch(88.88% 0.16 104.1)
XYZxyz(62.3935, 71.1751, 17.8472)
Luminance0.7117 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECDF4F #4F5CEC
analogous
#EC914F #ECDF4F #ABEC4F
triadic
#ECDF4F #4FECDF #DF4FEC
tetradic
#ECDF4F #4FEC91 #4F5CEC #EC4FAB
square
#ECDF4F #4FEC91 #4F5CEC #EC4FAB
split-complementary
#ECDF4F #4FABEC #914FEC
monochromatic
#AEA113 #E5D419 #ECDF4F #F2E986 #F8F3BD

Accessibility & contrast

On white

1.38
#ECDF4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.23
#ECDF4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECDF4F
15.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECDF4F#FFFFFF#000000##000000
##ECDF4F1.001.3815.2315.23
#FFFFFF1.381.0021.0021.00
#00000015.2321.001.001.00
##00000015.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D83B
Deuteranopia (green-blind)
#F6DF58
Tritanopia (blue-blind)
#FDD0C2
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #ecdf4f;
/* rgb */ color: rgb(236, 223, 79);
/* oklch */ color: oklch(88.9% 0.160 104.1);
Tailwind
colors: {
  custom: {
    50: '#f6e888',
    500: '#ecdf4f',
    950: '#000000',
  },
}
SCSS
$custom: #ecdf4f;
$custom-light: #f6e888;
$custom-dark: #000000;
JSON
{
  "hex": "#ecdf4f",
  "rgb": {
    "r": 236,
    "g": 223,
    "b": 79
  },
  "hsl": {
    "h": 55.032,
    "s": 80.513,
    "l": 61.765
  },
  "oklch": {
    "l": 0.88877,
    "c": 0.16001,
    "h": 104.1
  },
  "luminance": 0.71173
}

Semantic roles & 50–950 ramp

primary
#ECDF4F
secondary
#313BAE
accent
#1ADD09
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18160C
muted
#86847F

Preview Lab

Preview with #ECDF4F

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

Preview Lab → · Contrast checker → · Palette generator →

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