#F2F461#F2F461

#F2F461 is a very light, vivid yellow. Relative luminance 0.844; OKLCH L 93.9% C 0.166 H 110.0°. Best body text is #000000 at 17.89:1 contrast (WCAG AA passes).

Color values

HEX#F2F461
RGBrgb(242, 244, 97)
HSLhsl(61, 87%, 67%)
HSVhsv(61, 60%, 96%)
CMYKcmyk(0.8%, 0%, 60.2%, 4.3%)
CIE-LABlab(93.64, -18.65, 68.46)
CIE-LCHlch(93.64, 70.96, 105.24°)
OKLaboklab(93.88% -0.0567 0.1563)
OKLCHoklch(93.88% 0.166 110)
XYZxyz(71.1284, 84.4435, 23.8593)
Luminance0.8444 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F461 #6361F4
analogous
#F4AC61 #F2F461 #A9F461
triadic
#F2F461 #61F2F4 #F461F2
tetradic
#F2F461 #61F4AC #6361F4 #F461A9
square
#F2F461 #61F4AC #6361F4 #F461A9
split-complementary
#F2F461 #61A9F4 #AC61F4
monochromatic
#CACC0E #EDF028 #F2F461 #F7F89A #FBFCD3

Accessibility & contrast

On white

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

On black

17.89
#F2F461 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F461
17.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F461#FFFFFF#000000##000000
##F2F4611.001.1717.8917.89
#FFFFFF1.171.0021.0021.00
#00000017.8921.001.001.00
##00000017.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA4F
Deuteranopia (green-blind)
#FFEF6A
Tritanopia (blue-blind)
#FFE6D5
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #f2f461;
/* rgb */ color: rgb(242, 244, 97);
/* oklch */ color: oklch(93.9% 0.166 110.0);
Tailwind
colors: {
  custom: {
    50: '#f9f794',
    500: '#f2f461',
    950: '#000000',
  },
}
SCSS
$custom: #f2f461;
$custom-light: #f9f794;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f461",
  "rgb": {
    "r": 242,
    "g": 244,
    "b": 97
  },
  "hsl": {
    "h": 60.816,
    "s": 86.982,
    "l": 66.863
  },
  "oklch": {
    "l": 0.93876,
    "c": 0.16624,
    "h": 110
  },
  "luminance": 0.84442
}

Semantic roles & 50–950 ramp

primary
#F2F461
secondary
#3331C8
accent
#02E405
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F2F461

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

Preview Lab → · Contrast checker → · Palette generator →

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