#F2F665#F2F665

#F2F665 is a very light, vivid yellow. Relative luminance 0.857; OKLCH L 94.3% C 0.165 H 110.7°. Best body text is #000000 at 18.15:1 contrast (WCAG AA passes).

Color values

HEX#F2F665
RGBrgb(242, 246, 101)
HSLhsl(62, 89%, 68%)
HSVhsv(62, 59%, 96%)
CMYKcmyk(1.6%, 0%, 58.9%, 3.5%)
CIE-LABlab(94.20, -19.35, 67.42)
CIE-LCHlch(94.20, 70.14, 106.02°)
OKLaboklab(94.33% -0.0583 0.1546)
OKLCHoklch(94.33% 0.165 110.7)
XYZxyz(71.9247, 85.7301, 25.0681)
Luminance0.8573 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F665 #6965F6
analogous
#F6B165 #F2F665 #A9F665
triadic
#F2F665 #65F2F6 #F665F2
tetradic
#F2F665 #65F6B1 #6965F6 #F665A9
square
#F2F665 #65F6B1 #6965F6 #F665A9
split-complementary
#F2F665 #65A9F6 #B165F6
monochromatic
#CFD40C #EDF32B #F2F665 #F7F99F #FCFDD9

Accessibility & contrast

On white

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

On black

18.15
#F2F665 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F665
18.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F665#FFFFFF#000000##000000
##F2F6651.001.1618.1518.15
#FFFFFF1.161.0021.0021.00
#00000018.1521.001.001.00
##00000018.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC54
Deuteranopia (green-blind)
#FFF06E
Tritanopia (blue-blind)
#FFE8D7
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f2f665;
/* rgb */ color: rgb(242, 246, 101);
/* oklch */ color: oklch(94.3% 0.165 110.7);
Tailwind
colors: {
  custom: {
    50: '#f9f996',
    500: '#f2f665',
    950: '#000000',
  },
}
SCSS
$custom: #f2f665;
$custom-light: #f9f996;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f665",
  "rgb": {
    "r": 242,
    "g": 246,
    "b": 101
  },
  "hsl": {
    "h": 61.655,
    "s": 88.957,
    "l": 68.039
  },
  "oklch": {
    "l": 0.94329,
    "c": 0.16519,
    "h": 110.7
  },
  "luminance": 0.85728
}

Semantic roles & 50–950 ramp

primary
#F2F665
secondary
#3530CF
accent
#00E606
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F2F665

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

Preview Lab → · Contrast checker → · Palette generator →

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