#F2F66B#F2F66B

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

Color values

HEX#F2F66B
RGBrgb(242, 246, 107)
HSLhsl(62, 89%, 69%)
HSVhsv(62, 57%, 96%)
CMYKcmyk(1.6%, 0%, 56.5%, 3.5%)
CIE-LABlab(94.25, -18.93, 64.94)
CIE-LCHlch(94.25, 67.65, 106.25°)
OKLaboklab(94.39% -0.0565 0.15)
OKLCHoklch(94.39% 0.16 110.6)
XYZxyz(72.2294, 85.8520, 26.6733)
Luminance0.8585 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F66B #6F6BF6
analogous
#F6B56B #F2F66B #ACF66B
triadic
#F2F66B #6BF2F6 #F66BF2
tetradic
#F2F66B #6BF6B5 #6F6BF6 #F66BAC
square
#F2F66B #6BF6B5 #6F6BF6 #F66BAC
split-complementary
#F2F66B #6BACF6 #B56BF6
monochromatic
#D4D90D #EDF231 #F2F66B #F7FAA5 #FCFDDE

Accessibility & contrast

On white

1.16
#F2F66B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.17
#F2F66B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F66B
18.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F66B#FFFFFF#000000##000000
##F2F66B1.001.1618.1718.17
#FFFFFF1.161.0021.0021.00
#00000018.1721.001.001.00
##00000018.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC5C
Deuteranopia (green-blind)
#FFF073
Tritanopia (blue-blind)
#FFE8D8
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f2f66b;
/* rgb */ color: rgb(242, 246, 107);
/* oklch */ color: oklch(94.4% 0.160 110.6);
Tailwind
colors: {
  custom: {
    50: '#f9f99a',
    500: '#f2f66b',
    950: '#000000',
  },
}
SCSS
$custom: #f2f66b;
$custom-light: #f9f99a;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f66b",
  "rgb": {
    "r": 242,
    "g": 246,
    "b": 107
  },
  "hsl": {
    "h": 61.727,
    "s": 88.535,
    "l": 69.216
  },
  "oklch": {
    "l": 0.94387,
    "c": 0.16032,
    "h": 110.6
  },
  "luminance": 0.8585
}

Semantic roles & 50–950 ramp

primary
#F2F66B
secondary
#3A36D0
accent
#00E507
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F2F66B

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

Preview Lab → · Contrast checker → · Palette generator →

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