#F4F387#F4F387

#F4F387 is a very light, vivid yellow. Relative luminance 0.851; OKLCH L 94.3% C 0.131 H 108.2°. Best body text is #000000 at 18.02:1 contrast (WCAG AA passes).

Color values

HEX#F4F387
RGBrgb(244, 243, 135)
HSLhsl(59, 83%, 74%)
HSVhsv(59, 45%, 96%)
CMYKcmyk(0%, 0.4%, 44.7%, 4.3%)
CIE-LABlab(93.92, -14.37, 51.92)
CIE-LCHlch(93.92, 53.87, 105.47°)
OKLaboklab(94.26% -0.0409 0.1243)
OKLCHoklch(94.26% 0.131 108.2)
XYZxyz(73.7334, 85.0853, 35.4560)
Luminance0.8508 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4F387 #8788F4
analogous
#F4BD87 #F4F387 #BEF487
triadic
#F4F387 #87F4F3 #F387F4
tetradic
#F4F387 #87F4BD #8788F4 #F487BE
square
#F4F387 #87F4BD #8788F4 #F487BE
split-complementary
#F4F387 #87BEF4 #BD87F4
monochromatic
#EAE817 #EFED4F #F4F387 #F9F9BF #FCFCE3

Accessibility & contrast

On white

1.17
#F4F387 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.02
#F4F387 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4F387
18.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4F387#FFFFFF#000000##000000
##F4F3871.001.1718.0218.02
#FFFFFF1.171.0021.0021.00
#00000018.0221.001.001.00
##00000018.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB7E
Deuteranopia (green-blind)
#FFF08C
Tritanopia (blue-blind)
#FFE7DA
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #f4f387;
/* rgb */ color: rgb(244, 243, 135);
/* oklch */ color: oklch(94.3% 0.131 108.2);
Tailwind
colors: {
  custom: {
    50: '#f9f6ac',
    500: '#f4f387',
    950: '#000000',
  },
}
SCSS
$custom: #f4f387;
$custom-light: #f9f6ac;
$custom-dark: #000000;
JSON
{
  "hex": "#f4f387",
  "rgb": {
    "r": 244,
    "g": 243,
    "b": 135
  },
  "hsl": {
    "h": 59.45,
    "s": 83.206,
    "l": 74.314
  },
  "oklch": {
    "l": 0.94258,
    "c": 0.13086,
    "h": 108.2
  },
  "luminance": 0.85084
}

Semantic roles & 50–950 ramp

primary
#F4F387
secondary
#4F50D0
accent
#08E006
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #F4F387

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

Preview Lab → · Contrast checker → · Palette generator →

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