#F4F258#F4F258

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

Color values

HEX#F4F258
RGBrgb(244, 242, 88)
HSLhsl(59, 88%, 65%)
HSVhsv(59, 64%, 96%)
CMYKcmyk(0%, 0.8%, 63.9%, 4.3%)
CIE-LABlab(93.21, -17.43, 71.64)
CIE-LCHlch(93.21, 73.72, 103.67°)
OKLaboklab(93.55% -0.0543 0.1616)
OKLCHoklch(93.55% 0.171 108.6)
XYZxyz(70.8242, 83.4440, 21.6062)
Luminance0.8344 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4F258 #585AF4
analogous
#F4A458 #F4F258 #A8F458
triadic
#F4F258 #58F4F2 #F258F4
tetradic
#F4F258 #58F4A4 #585AF4 #F458A8
square
#F4F258 #58F4A4 #585AF4 #F458A8
split-complementary
#F4F258 #58A8F4 #A458F4
monochromatic
#C5C20D #F0EE1F #F4F258 #F8F691 #FCFBCB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F4F258#FFFFFF#000000##000000
##F4F2581.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)
#FFE943
Deuteranopia (green-blind)
#FFEE62
Tritanopia (blue-blind)
#FFE3D2
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #f4f258;
/* rgb */ color: rgb(244, 242, 88);
/* oklch */ color: oklch(93.5% 0.171 108.6);
Tailwind
colors: {
  custom: {
    50: '#fbf68e',
    500: '#f4f258',
    950: '#000000',
  },
}
SCSS
$custom: #f4f258;
$custom-light: #fbf68e;
$custom-dark: #000000;
JSON
{
  "hex": "#f4f258",
  "rgb": {
    "r": 244,
    "g": 242,
    "b": 88
  },
  "hsl": {
    "h": 59.231,
    "s": 87.64,
    "l": 65.098
  },
  "oklch": {
    "l": 0.93545,
    "c": 0.17052,
    "h": 108.6
  },
  "luminance": 0.83442
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F4F258

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

Preview Lab → · Contrast checker → · Palette generator →

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