#F4EC5F#F4EC5F

#F4EC5F is a very light, vivid yellow. Relative luminance 0.800; OKLCH L 92.4% C 0.160 H 106.0°. Best body text is #000000 at 17.01:1 contrast (WCAG AA passes).

Color values

HEX#F4EC5F
RGBrgb(244, 236, 95)
HSLhsl(57, 87%, 66%)
HSVhsv(57, 61%, 96%)
CMYKcmyk(0%, 3.3%, 61.1%, 4.3%)
CIE-LABlab(91.71, -14.08, 67.25)
CIE-LCHlch(91.71, 68.71, 101.83°)
OKLaboklab(92.37% -0.0441 0.1534)
OKLCHoklch(92.37% 0.16 106)
XYZxyz(69.3716, 80.0525, 22.6217)
Luminance0.8005 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4EC5F #5F67F4
analogous
#F4A25F #F4EC5F #B1F45F
triadic
#F4EC5F #5FF4EC #EC5FF4
tetradic
#F4EC5F #5FF4A2 #5F67F4 #F45FB1
square
#F4EC5F #5FF4A2 #5F67F4 #F45FB1
split-complementary
#F4EC5F #5FB1F4 #A25FF4
monochromatic
#CBC10E #F0E526 #F4EC5F #F8F398 #FCFAD2

Accessibility & contrast

On white

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

On black

17.01
#F4EC5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4EC5F
17.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4EC5F#FFFFFF#000000##000000
##F4EC5F1.001.2317.0117.01
#FFFFFF1.231.0021.0021.00
#00000017.0121.001.001.00
##00000017.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE44E
Deuteranopia (green-blind)
#FFEA67
Tritanopia (blue-blind)
#FFDDCE
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #f4ec5f;
/* rgb */ color: rgb(244, 236, 95);
/* oklch */ color: oklch(92.4% 0.160 106.0);
Tailwind
colors: {
  custom: {
    50: '#fbf192',
    500: '#f4ec5f',
    950: '#000000',
  },
}
SCSS
$custom: #f4ec5f;
$custom-light: #fbf192;
$custom-dark: #000000;
JSON
{
  "hex": "#f4ec5f",
  "rgb": {
    "r": 244,
    "g": 236,
    "b": 95
  },
  "hsl": {
    "h": 56.779,
    "s": 87.135,
    "l": 66.471
  },
  "oklch": {
    "l": 0.92367,
    "c": 0.15959,
    "h": 106
  },
  "luminance": 0.8005
}

Semantic roles & 50–950 ramp

primary
#F4EC5F
secondary
#3038C7
accent
#0EE402
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160D
muted
#86857F

Preview Lab

Preview with #F4EC5F

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

Preview Lab → · Contrast checker → · Palette generator →

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