#F2F458#F2F458

#F2F458 is a very light, vivid yellow. Relative luminance 0.843; OKLCH L 93.8% C 0.173 H 110.0°. Best body text is #000000 at 17.86:1 contrast (WCAG AA passes).

Color values

HEX#F2F458
RGBrgb(242, 244, 88)
HSLhsl(61, 88%, 65%)
HSVhsv(61, 64%, 96%)
CMYKcmyk(0.8%, 0%, 63.9%, 4.3%)
CIE-LABlab(93.57, -19.20, 71.97)
CIE-LCHlch(93.57, 74.48, 104.94°)
OKLaboklab(93.8% -0.0592 0.1624)
OKLCHoklch(93.8% 0.173 110)
XYZxyz(70.7323, 84.2851, 21.7733)
Luminance0.8428 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F458 #5A58F4
analogous
#F4A858 #F2F458 #A4F458
triadic
#F2F458 #58F2F4 #F458F2
tetradic
#F2F458 #58F4A8 #5A58F4 #F458A4
square
#F2F458 #58F4A8 #5A58F4 #F458A4
split-complementary
#F2F458 #58A4F4 #A858F4
monochromatic
#C2C50D #EEF01F #F2F458 #F6F891 #FBFCCB

Accessibility & contrast

On white

1.18
#F2F458 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.86
#F2F458 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F458
17.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F458#FFFFFF#000000##000000
##F2F4581.001.1817.8617.86
#FFFFFF1.181.0021.0021.00
#00000017.8621.001.001.00
##00000017.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA43
Deuteranopia (green-blind)
#FFEF62
Tritanopia (blue-blind)
#FFE5D4
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #f2f458;
/* rgb */ color: rgb(242, 244, 88);
/* oklch */ color: oklch(93.8% 0.173 110.0);
Tailwind
colors: {
  custom: {
    50: '#faf78f',
    500: '#f2f458',
    950: '#000000',
  },
}
SCSS
$custom: #f2f458;
$custom-light: #faf78f;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f458",
  "rgb": {
    "r": 242,
    "g": 244,
    "b": 88
  },
  "hsl": {
    "h": 60.769,
    "s": 87.64,
    "l": 65.098
  },
  "oklch": {
    "l": 0.93799,
    "c": 0.17284,
    "h": 110
  },
  "luminance": 0.84283
}

Semantic roles & 50–950 ramp

primary
#F2F458
secondary
#302EC2
accent
#01E404
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F2F458

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

Preview Lab → · Contrast checker → · Palette generator →

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