#F2F459#F2F459

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

Color values

HEX#F2F459
RGBrgb(242, 244, 89)
HSLhsl(61, 88%, 65%)
HSVhsv(61, 64%, 96%)
CMYKcmyk(0.8%, 0%, 63.5%, 4.3%)
CIE-LABlab(93.58, -19.14, 71.59)
CIE-LCHlch(93.58, 74.10, 104.97°)
OKLaboklab(93.81% -0.0589 0.1617)
OKLCHoklch(93.81% 0.172 110)
XYZxyz(70.7740, 84.3018, 21.9930)
Luminance0.8430 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F459 #5B59F4
analogous
#F4A859 #F2F459 #A5F459
triadic
#F2F459 #59F2F4 #F459F2
tetradic
#F2F459 #59F4A8 #5B59F4 #F459A5
square
#F2F459 #59F4A8 #5B59F4 #F459A5
split-complementary
#F2F459 #59A5F4 #A859F4
monochromatic
#C3C60D #EEF020 #F2F459 #F6F892 #FBFCCC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2F459#FFFFFF#000000##000000
##F2F4591.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)
#FFEA44
Deuteranopia (green-blind)
#FFEF63
Tritanopia (blue-blind)
#FFE5D4
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #f2f459;
/* rgb */ color: rgb(242, 244, 89);
/* oklch */ color: oklch(93.8% 0.172 110.0);
Tailwind
colors: {
  custom: {
    50: '#faf78f',
    500: '#f2f459',
    950: '#000000',
  },
}
SCSS
$custom: #f2f459;
$custom-light: #faf78f;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f459",
  "rgb": {
    "r": 242,
    "g": 244,
    "b": 89
  },
  "hsl": {
    "h": 60.774,
    "s": 87.571,
    "l": 65.294
  },
  "oklch": {
    "l": 0.93807,
    "c": 0.17212,
    "h": 110
  },
  "luminance": 0.843
}

Semantic roles & 50–950 ramp

primary
#F2F459
secondary
#312FC3
accent
#01E404
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F2F459

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

Preview Lab → · Contrast checker → · Palette generator →

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