#F4EC6C#F4EC6C

#F4EC6C is a very light, vivid yellow. Relative luminance 0.803; OKLCH L 92.5% C 0.149 H 105.7°. Best body text is #000000 at 17.06:1 contrast (WCAG AA passes).

Color values

HEX#F4EC6C
RGBrgb(244, 236, 108)
HSLhsl(56, 86%, 69%)
HSVhsv(56, 56%, 96%)
CMYKcmyk(0%, 3.3%, 55.7%, 4.3%)
CIE-LABlab(91.82, -13.20, 61.83)
CIE-LCHlch(91.82, 63.22, 102.05°)
OKLaboklab(92.5% -0.0402 0.1434)
OKLCHoklch(92.5% 0.149 105.7)
XYZxyz(70.0126, 80.3089, 25.9976)
Luminance0.8031 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4EC6C #6C74F4
analogous
#F4A86C #F4EC6C #B8F46C
triadic
#F4EC6C #6CF4EC #EC6CF4
tetradic
#F4EC6C #6CF4A8 #6C74F4 #F46CB8
square
#F4EC6C #6CF4A8 #6C74F4 #F46CB8
split-complementary
#F4EC6C #6CB8F4 #A86CF4
monochromatic
#D6CA10 #F0E533 #F4EC6C #F8F3A5 #FDFBDE

Accessibility & contrast

On white

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

On black

17.06
#F4EC6C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4EC6C
17.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4EC6C#FFFFFF#000000##000000
##F4EC6C1.001.2317.0617.06
#FFFFFF1.231.0021.0021.00
#00000017.0621.001.001.00
##00000017.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE45F
Deuteranopia (green-blind)
#FFEA73
Tritanopia (blue-blind)
#FFDED0
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f4ec6c;
/* rgb */ color: rgb(244, 236, 108);
/* oklch */ color: oklch(92.5% 0.149 105.7);
Tailwind
colors: {
  custom: {
    50: '#faf19a',
    500: '#f4ec6c',
    950: '#000000',
  },
}
SCSS
$custom: #f4ec6c;
$custom-light: #faf19a;
$custom-dark: #000000;
JSON
{
  "hex": "#f4ec6c",
  "rgb": {
    "r": 244,
    "g": 236,
    "b": 108
  },
  "hsl": {
    "h": 56.471,
    "s": 86.076,
    "l": 69.02
  },
  "oklch": {
    "l": 0.92495,
    "c": 0.14897,
    "h": 105.7
  },
  "luminance": 0.80307
}

Semantic roles & 50–950 ramp

primary
#F4EC6C
secondary
#3740CD
accent
#10E303
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #F4EC6C

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

Preview Lab → · Contrast checker → · Palette generator →

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