#ECF47B#ECF47B

#ECF47B is a very light, vivid yellow. Relative luminance 0.840; OKLCH L 93.7% C 0.145 H 112.3°. Best body text is #000000 at 17.79:1 contrast (WCAG AA passes).

Color values

HEX#ECF47B
RGBrgb(236, 244, 123)
HSLhsl(64, 85%, 72%)
HSVhsv(64, 50%, 96%)
CMYKcmyk(3.3%, 0%, 49.6%, 4.3%)
CIE-LABlab(93.44, -19.06, 56.79)
CIE-LCHlch(93.44, 59.90, 108.55°)
OKLaboklab(93.68% -0.0549 0.1342)
OKLCHoklch(93.68% 0.145 112.3)
XYZxyz(70.5192, 83.9656, 31.2272)
Luminance0.8396 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF47B #837BF4
analogous
#F4C07B #ECF47B #B0F47B
triadic
#ECF47B #7BECF4 #F47BEC
tetradic
#ECF47B #7BF4C0 #837BF4 #F47BB0
square
#ECF47B #7BF4C0 #837BF4 #F47BB0
split-complementary
#ECF47B #7BB0F4 #C07BF4
monochromatic
#D4E213 #E4EF43 #ECF47B #F4F9B3 #FBFDE3

Accessibility & contrast

On white

1.18
#ECF47B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.79
#ECF47B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF47B
17.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF47B#FFFFFF#000000##000000
##ECF47B1.001.1817.7917.79
#FFFFFF1.181.0021.0021.00
#00000017.7921.001.001.00
##00000017.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB70
Deuteranopia (green-blind)
#FFEE81
Tritanopia (blue-blind)
#F9E8D8
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #ecf47b;
/* rgb */ color: rgb(236, 244, 123);
/* oklch */ color: oklch(93.7% 0.145 112.3);
Tailwind
colors: {
  custom: {
    50: '#f4f7a4',
    500: '#ecf47b',
    950: '#000000',
  },
}
SCSS
$custom: #ecf47b;
$custom-light: #f4f7a4;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf47b",
  "rgb": {
    "r": 236,
    "g": 244,
    "b": 123
  },
  "hsl": {
    "h": 63.967,
    "s": 84.615,
    "l": 71.961
  },
  "oklch": {
    "l": 0.93678,
    "c": 0.14498,
    "h": 112.3
  },
  "luminance": 0.83964
}

Semantic roles & 50–950 ramp

primary
#ECF47B
secondary
#4D44CF
accent
#04E113
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#17170F
muted
#858580

Preview Lab

Preview with #ECF47B

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

Preview Lab → · Contrast checker → · Palette generator →

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