#F2F460#F2F460

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

Color values

HEX#F2F460
RGBrgb(242, 244, 96)
HSLhsl(61, 87%, 67%)
HSVhsv(61, 61%, 96%)
CMYKcmyk(0.8%, 0%, 60.7%, 4.3%)
CIE-LABlab(93.63, -18.72, 68.86)
CIE-LCHlch(93.63, 71.36, 105.20°)
OKLaboklab(93.87% -0.057 0.157)
OKLCHoklch(93.87% 0.167 110)
XYZxyz(71.0821, 84.4250, 23.6153)
Luminance0.8442 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F460 #6260F4
analogous
#F4AC60 #F2F460 #A8F460
triadic
#F2F460 #60F2F4 #F460F2
tetradic
#F2F460 #60F4AC #6260F4 #F460A8
square
#F2F460 #60F4AC #6260F4 #F460A8
split-complementary
#F2F460 #60A8F4 #AC60F4
monochromatic
#C9CC0E #EDF027 #F2F460 #F7F899 #FBFCD2

Accessibility & contrast

On white

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

On black

17.88
#F2F460 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F460
17.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F460#FFFFFF#000000##000000
##F2F4601.001.1717.8817.88
#FFFFFF1.171.0021.0021.00
#00000017.8821.001.001.00
##00000017.8821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2f460;
/* rgb */ color: rgb(242, 244, 96);
/* oklch */ color: oklch(93.9% 0.167 110.0);
Tailwind
colors: {
  custom: {
    50: '#f9f793',
    500: '#f2f460',
    950: '#000000',
  },
}
SCSS
$custom: #f2f460;
$custom-light: #f9f793;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f460",
  "rgb": {
    "r": 242,
    "g": 244,
    "b": 96
  },
  "hsl": {
    "h": 60.811,
    "s": 87.059,
    "l": 66.667
  },
  "oklch": {
    "l": 0.93867,
    "c": 0.16699,
    "h": 110
  },
  "luminance": 0.84423
}

Semantic roles & 50–950 ramp

primary
#F2F460
secondary
#3330C8
accent
#02E405
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170D
muted
#86857F

Preview Lab

Preview with #F2F460

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

Preview Lab → · Contrast checker → · Palette generator →

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