#F2F85F#F2F85F

#F2F85F is a very light, vivid yellow. Relative luminance 0.868; OKLCH L 94.7% C 0.172 H 111.4°. Best body text is #000000 at 18.37:1 contrast (WCAG AA passes).

Color values

HEX#F2F85F
RGBrgb(242, 248, 95)
HSLhsl(62, 92%, 67%)
HSVhsv(62, 62%, 97%)
CMYKcmyk(2.4%, 0%, 61.7%, 2.7%)
CIE-LABlab(94.67, -20.70, 70.37)
CIE-LCHlch(94.67, 73.35, 106.39°)
OKLaboklab(94.69% -0.0627 0.16)
OKLCHoklch(94.69% 0.172 111.4)
XYZxyz(72.2530, 86.8400, 23.7799)
Luminance0.8684 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F85F #655FF8
analogous
#F8B25F #F2F85F #A6F85F
triadic
#F2F85F #5FF2F8 #F85FF2
tetradic
#F2F85F #5FF8B2 #655FF8 #F85FA6
square
#F2F85F #5FF8B2 #655FF8 #F85FA6
split-complementary
#F2F85F #5FA6F8 #B25FF8
monochromatic
#CBD309 #EDF524 #F2F85F #F7FB9A #FCFDD4

Accessibility & contrast

On white

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

On black

18.37
#F2F85F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F85F
18.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F85F#FFFFFF#000000##000000
##F2F85F1.001.1418.3718.37
#FFFFFF1.141.0021.0021.00
#00000018.3721.001.001.00
##00000018.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE4C
Deuteranopia (green-blind)
#FFF269
Tritanopia (blue-blind)
#FFEAD8
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #f2f85f;
/* rgb */ color: rgb(242, 248, 95);
/* oklch */ color: oklch(94.7% 0.172 111.4);
Tailwind
colors: {
  custom: {
    50: '#f9fa93',
    500: '#f2f85f',
    950: '#000000',
  },
}
SCSS
$custom: #f2f85f;
$custom-light: #f9fa93;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f85f",
  "rgb": {
    "r": 242,
    "g": 248,
    "b": 95
  },
  "hsl": {
    "h": 62.353,
    "s": 91.617,
    "l": 67.255
  },
  "oklch": {
    "l": 0.94692,
    "c": 0.17186,
    "h": 111.4
  },
  "luminance": 0.86838
}

Semantic roles & 50–950 ramp

primary
#F2F85F
secondary
#332DCE
accent
#00E609
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170D
muted
#86857F

Preview Lab

Preview with #F2F85F

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

Preview Lab → · Contrast checker → · Palette generator →

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