#F4F259#F4F259

#F4F259 is a very light, vivid yellow. Relative luminance 0.835; OKLCH L 93.6% C 0.170 H 108.6°. Best body text is #000000 at 17.69:1 contrast (WCAG AA passes).

Color values

HEX#F4F259
RGBrgb(244, 242, 89)
HSLhsl(59, 88%, 65%)
HSVhsv(59, 64%, 96%)
CMYKcmyk(0%, 0.8%, 63.5%, 4.3%)
CIE-LABlab(93.22, -17.37, 71.25)
CIE-LCHlch(93.22, 73.34, 103.70°)
OKLaboklab(93.55% -0.054 0.161)
OKLCHoklch(93.55% 0.17 108.6)
XYZxyz(70.8659, 83.4607, 21.8258)
Luminance0.8346 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4F259 #595BF4
analogous
#F4A559 #F4F259 #A8F459
triadic
#F4F259 #59F4F2 #F259F4
tetradic
#F4F259 #59F4A5 #595BF4 #F459A8
square
#F4F259 #59F4A5 #595BF4 #F459A8
split-complementary
#F4F259 #59A8F4 #A559F4
monochromatic
#C6C30D #F0EE20 #F4F259 #F8F692 #FCFBCC

Accessibility & contrast

On white

1.19
#F4F259 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.69
#F4F259 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4F259
17.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4F259#FFFFFF#000000##000000
##F4F2591.001.1917.6917.69
#FFFFFF1.191.0021.0021.00
#00000017.6921.001.001.00
##00000017.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE945
Deuteranopia (green-blind)
#FFEE63
Tritanopia (blue-blind)
#FFE3D3
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #f4f259;
/* rgb */ color: rgb(244, 242, 89);
/* oklch */ color: oklch(93.6% 0.170 108.6);
Tailwind
colors: {
  custom: {
    50: '#fbf68f',
    500: '#f4f259',
    950: '#000000',
  },
}
SCSS
$custom: #f4f259;
$custom-light: #fbf68f;
$custom-dark: #000000;
JSON
{
  "hex": "#f4f259",
  "rgb": {
    "r": 244,
    "g": 242,
    "b": 89
  },
  "hsl": {
    "h": 59.226,
    "s": 87.571,
    "l": 65.294
  },
  "oklch": {
    "l": 0.93553,
    "c": 0.16981,
    "h": 108.6
  },
  "luminance": 0.83459
}

Semantic roles & 50–950 ramp

primary
#F4F259
secondary
#2F31C3
accent
#04E401
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F4F259

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

Preview Lab → · Contrast checker → · Palette generator →

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