#F2F867#F2F867

#F2F867 is a very light, vivid yellow. Relative luminance 0.870; OKLCH L 94.8% C 0.166 H 111.4°. Best body text is #000000 at 18.40:1 contrast (WCAG AA passes).

Color values

HEX#F2F867
RGBrgb(242, 248, 103)
HSLhsl(62, 91%, 69%)
HSVhsv(62, 58%, 97%)
CMYKcmyk(2.4%, 0%, 58.5%, 2.7%)
CIE-LABlab(94.74, -20.18, 67.17)
CIE-LCHlch(94.74, 70.14, 106.72°)
OKLaboklab(94.76% -0.0604 0.1543)
OKLCHoklch(94.76% 0.166 111.4)
XYZxyz(72.6354, 86.9930, 25.7944)
Luminance0.8699 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F867 #6D67F8
analogous
#F8B667 #F2F867 #AAF867
triadic
#F2F867 #67F2F8 #F867F2
tetradic
#F2F867 #67F8B6 #6D67F8 #F867AA
square
#F2F867 #67F8B6 #6D67F8 #F867AA
split-complementary
#F2F867 #67AAF8 #B667F8
monochromatic
#D2DB0A #EDF52C #F2F867 #F7FBA2 #FCFDDC

Accessibility & contrast

On white

1.14
#F2F867 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.40
#F2F867 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F867
18.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F867#FFFFFF#000000##000000
##F2F8671.001.1418.4018.40
#FFFFFF1.141.0021.0021.00
#00000018.4021.001.001.00
##00000018.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE56
Deuteranopia (green-blind)
#FFF270
Tritanopia (blue-blind)
#FFEAD9
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #f2f867;
/* rgb */ color: rgb(242, 248, 103);
/* oklch */ color: oklch(94.8% 0.166 111.4);
Tailwind
colors: {
  custom: {
    50: '#f9fa98',
    500: '#f2f867',
    950: '#000000',
  },
}
SCSS
$custom: #f2f867;
$custom-light: #f9fa98;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f867",
  "rgb": {
    "r": 242,
    "g": 248,
    "b": 103
  },
  "hsl": {
    "h": 62.483,
    "s": 91.195,
    "l": 68.824
  },
  "oklch": {
    "l": 0.94764,
    "c": 0.1657,
    "h": 111.4
  },
  "luminance": 0.86991
}

Semantic roles & 50–950 ramp

primary
#F2F867
secondary
#3832D2
accent
#00E609
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F2F867

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

Preview Lab → · Contrast checker → · Palette generator →

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