#F4EC7C#F4EC7C

#F4EC7C is a very light, vivid yellow. Relative luminance 0.807; OKLCH L 92.7% C 0.134 H 105.1°. Best body text is #000000 at 17.14:1 contrast (WCAG AA passes).

Color values

HEX#F4EC7C
RGBrgb(244, 236, 124)
HSLhsl(56, 85%, 72%)
HSVhsv(56, 49%, 96%)
CMYKcmyk(0%, 3.3%, 49.2%, 4.3%)
CIE-LABlab(91.99, -11.92, 54.76)
CIE-LCHlch(91.99, 56.04, 102.28°)
OKLaboklab(92.68% -0.0349 0.1297)
OKLCHoklch(92.68% 0.134 105.1)
XYZxyz(70.9436, 80.6813, 30.9008)
Luminance0.8068 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4EC7C #7C84F4
analogous
#F4B07C #F4EC7C #C0F47C
triadic
#F4EC7C #7CF4EC #EC7CF4
tetradic
#F4EC7C #7CF4B0 #7C84F4 #F47CC0
square
#F4EC7C #7CF4B0 #7C84F4 #F47CC0
split-complementary
#F4EC7C #7CC0F4 #B07CF4
monochromatic
#E3D513 #EFE444 #F4EC7C #F9F4B4 #FDFBE3

Accessibility & contrast

On white

1.23
#F4EC7C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.14
#F4EC7C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4EC7C
17.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4EC7C#FFFFFF#000000##000000
##F4EC7C1.001.2317.1417.14
#FFFFFF1.231.0021.0021.00
#00000017.1421.001.001.00
##00000017.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE572
Deuteranopia (green-blind)
#FFEB81
Tritanopia (blue-blind)
#FFDFD2
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f4ec7c;
/* rgb */ color: rgb(244, 236, 124);
/* oklch */ color: oklch(92.7% 0.134 105.1);
Tailwind
colors: {
  custom: {
    50: '#faf2a4',
    500: '#f4ec7c',
    950: '#000000',
  },
}
SCSS
$custom: #f4ec7c;
$custom-light: #faf2a4;
$custom-dark: #000000;
JSON
{
  "hex": "#f4ec7c",
  "rgb": {
    "r": 244,
    "g": 236,
    "b": 124
  },
  "hsl": {
    "h": 56,
    "s": 84.507,
    "l": 72.157
  },
  "oklch": {
    "l": 0.92681,
    "c": 0.13432,
    "h": 105.1
  },
  "luminance": 0.80679
}

Semantic roles & 50–950 ramp

primary
#F4EC7C
secondary
#454ECF
accent
#13E105
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18160F
muted
#868580

Preview Lab

Preview with #F4EC7C

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

Preview Lab → · Contrast checker → · Palette generator →

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