#F2F66F#F2F66F

#F2F66F is a very light, vivid yellow. Relative luminance 0.859; OKLCH L 94.4% C 0.157 H 110.6°. Best body text is #000000 at 18.19:1 contrast (WCAG AA passes).

Color values

HEX#F2F66F
RGBrgb(242, 246, 111)
HSLhsl(62, 88%, 70%)
HSVhsv(62, 55%, 96%)
CMYKcmyk(1.6%, 0%, 54.9%, 3.5%)
CIE-LABlab(94.29, -18.64, 63.26)
CIE-LCHlch(94.29, 65.95, 106.42°)
OKLaboklab(94.43% -0.0553 0.1469)
OKLCHoklch(94.43% 0.157 110.6)
XYZxyz(72.4448, 85.9381, 27.8073)
Luminance0.8594 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F66F #736FF6
analogous
#F6B76F #F2F66F #AEF66F
triadic
#F2F66F #6FF2F6 #F66FF2
tetradic
#F2F66F #6FF6B7 #736FF6 #F66FAE
square
#F2F66F #6FF6B7 #736FF6 #F66FAE
split-complementary
#F2F66F #6FAEF6 #B76FF6
monochromatic
#D7DD0E #EDF235 #F2F66F #F7FAA9 #FCFDE2

Accessibility & contrast

On white

1.15
#F2F66F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.19
#F2F66F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F66F
18.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F66F#FFFFFF#000000##000000
##F2F66F1.001.1518.1918.19
#FFFFFF1.151.0021.0021.00
#00000018.1921.001.001.00
##00000018.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC61
Deuteranopia (green-blind)
#FFF177
Tritanopia (blue-blind)
#FFE9D8
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f2f66f;
/* rgb */ color: rgb(242, 246, 111);
/* oklch */ color: oklch(94.4% 0.157 110.6);
Tailwind
colors: {
  custom: {
    50: '#f9f99c',
    500: '#f2f66f',
    950: '#000000',
  },
}
SCSS
$custom: #f2f66f;
$custom-light: #f9f99c;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f66f",
  "rgb": {
    "r": 242,
    "g": 246,
    "b": 111
  },
  "hsl": {
    "h": 61.778,
    "s": 88.235,
    "l": 70
  },
  "oklch": {
    "l": 0.94429,
    "c": 0.15693,
    "h": 110.6
  },
  "luminance": 0.85936
}

Semantic roles & 50–950 ramp

primary
#F2F66F
secondary
#3D39D0
accent
#01E507
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F2F66F

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

Preview Lab → · Contrast checker → · Palette generator →

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