#F2F85C#F2F85C

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

Color values

HEX#F2F85C
RGBrgb(242, 248, 92)
HSLhsl(62, 92%, 67%)
HSVhsv(62, 63%, 97%)
CMYKcmyk(2.4%, 0%, 62.9%, 2.7%)
CIE-LABlab(94.65, -20.88, 71.53)
CIE-LCHlch(94.65, 74.52, 106.28°)
OKLaboklab(94.67% -0.0635 0.1621)
OKLCHoklch(94.67% 0.174 111.4)
XYZxyz(72.1192, 86.7865, 23.0755)
Luminance0.8679 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F85C #625CF8
analogous
#F8B05C #F2F85C #A4F85C
triadic
#F2F85C #5CF2F8 #F85CF2
tetradic
#F2F85C #5CF8B0 #625CF8 #F85CA4
square
#F2F85C #5CF8B0 #625CF8 #F85CA4
split-complementary
#F2F85C #5CA4F8 #B05CF8
monochromatic
#C9D109 #EDF521 #F2F85C #F7FB97 #FBFDD1

Accessibility & contrast

On white

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

On black

18.36
#F2F85C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F85C
18.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F85C#FFFFFF#000000##000000
##F2F85C1.001.1418.3618.36
#FFFFFF1.141.0021.0021.00
#00000018.3621.001.001.00
##00000018.3621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2f85c;
/* rgb */ color: rgb(242, 248, 92);
/* oklch */ color: oklch(94.7% 0.174 111.4);
Tailwind
colors: {
  custom: {
    50: '#fafa91',
    500: '#f2f85c',
    950: '#000000',
  },
}
SCSS
$custom: #f2f85c;
$custom-light: #fafa91;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f85c",
  "rgb": {
    "r": 242,
    "g": 248,
    "b": 92
  },
  "hsl": {
    "h": 62.308,
    "s": 91.765,
    "l": 66.667
  },
  "oklch": {
    "l": 0.94666,
    "c": 0.17405,
    "h": 111.4
  },
  "luminance": 0.86785
}

Semantic roles & 50–950 ramp

primary
#F2F85C
secondary
#332CCC
accent
#00E609
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F2F85C

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

Preview Lab → · Contrast checker → · Palette generator →

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