#F2F985#F2F985

#F2F985 is a very light, vivid yellow. Relative luminance 0.883; OKLCH L 95.3% C 0.140 H 111.8°. Best body text is #000000 at 18.66:1 contrast (WCAG AA passes).

Color values

HEX#F2F985
RGBrgb(242, 249, 133)
HSLhsl(64, 91%, 75%)
HSVhsv(64, 47%, 98%)
CMYKcmyk(2.8%, 0%, 46.6%, 2.4%)
CIE-LABlab(95.30, -18.25, 54.50)
CIE-LCHlch(95.30, 57.47, 108.51°)
OKLaboklab(95.31% -0.052 0.1299)
OKLCHoklch(95.31% 0.14 111.8)
XYZxyz(74.7285, 88.3234, 35.2973)
Luminance0.8832 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F985 #8C85F9
analogous
#F9C685 #F2F985 #B8F985
triadic
#F2F985 #85F2F9 #F985F2
tetradic
#F2F985 #85F9C6 #8C85F9 #F985B8
square
#F2F985 #85F9C6 #8C85F9 #F985B8
split-complementary
#F2F985 #85B8F9 #C685F9
monochromatic
#E6F310 #ECF64B #F2F985 #F8FCBF #FCFEE2

Accessibility & contrast

On white

1.13
#F2F985 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.66
#F2F985 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F985
18.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F985#FFFFFF#000000##000000
##F2F9851.001.1318.6618.66
#FFFFFF1.131.0021.0021.00
#00000018.6621.001.001.00
##00000018.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF07B
Deuteranopia (green-blind)
#FFF38B
Tritanopia (blue-blind)
#FFEDDE
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f2f985;
/* rgb */ color: rgb(242, 249, 133);
/* oklch */ color: oklch(95.3% 0.140 111.8);
Tailwind
colors: {
  custom: {
    50: '#f8fbab',
    500: '#f2f985',
    950: '#000000',
  },
}
SCSS
$custom: #f2f985;
$custom-light: #f8fbab;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f985",
  "rgb": {
    "r": 242,
    "g": 249,
    "b": 133
  },
  "hsl": {
    "h": 63.621,
    "s": 90.625,
    "l": 74.902
  },
  "oklch": {
    "l": 0.9531,
    "c": 0.13992,
    "h": 111.8
  },
  "luminance": 0.88322
}

Semantic roles & 50–950 ramp

primary
#F2F985
secondary
#544BD7
accent
#00E60E
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#171710
muted
#858581

Preview Lab

Preview with #F2F985

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

Preview Lab → · Contrast checker → · Palette generator →

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