#F2F267#F2F267

#F2F267 is a very light, vivid yellow. Relative luminance 0.834; OKLCH L 93.5% C 0.159 H 109.1°. Best body text is #000000 at 17.67:1 contrast (WCAG AA passes).

Color values

HEX#F2F267
RGBrgb(242, 242, 103)
HSLhsl(60, 84%, 68%)
HSVhsv(60, 57%, 95%)
CMYKcmyk(0%, 0%, 57.4%, 5.1%)
CIE-LABlab(93.17, -17.28, 65.45)
CIE-LCHlch(93.17, 67.70, 104.79°)
OKLaboklab(93.52% -0.0522 0.1506)
OKLCHoklch(93.52% 0.159 109.1)
XYZxyz(70.8203, 83.3627, 25.1893)
Luminance0.8336 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F267 #6767F2
analogous
#F2AC67 #F2F267 #ACF267
triadic
#F2F267 #67F2F2 #F267F2
tetradic
#F2F267 #67F2AC #6767F2 #F267AC
square
#F2F267 #67F2AC #6767F2 #F267AC
split-complementary
#F2F267 #67ACF2 #AC67F2
monochromatic
#CDCD12 #EDED2F #F2F267 #F7F79F #FCFCD8

Accessibility & contrast

On white

1.19
#F2F267 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.67
#F2F267 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F267
17.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F267#FFFFFF#000000##000000
##F2F2671.001.1917.6717.67
#FFFFFF1.191.0021.0021.00
#00000017.6721.001.001.00
##00000017.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE958
Deuteranopia (green-blind)
#FFEE6F
Tritanopia (blue-blind)
#FFE4D4
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #f2f267;
/* rgb */ color: rgb(242, 242, 103);
/* oklch */ color: oklch(93.5% 0.159 109.1);
Tailwind
colors: {
  custom: {
    50: '#f9f697',
    500: '#f2f267',
    950: '#000000',
  },
}
SCSS
$custom: #f2f267;
$custom-light: #f9f697;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f267",
  "rgb": {
    "r": 242,
    "g": 242,
    "b": 103
  },
  "hsl": {
    "h": 60,
    "s": 84.242,
    "l": 67.647
  },
  "oklch": {
    "l": 0.93517,
    "c": 0.15944,
    "h": 109.1
  },
  "luminance": 0.83361
}

Semantic roles & 50–950 ramp

primary
#F2F267
secondary
#3434C9
accent
#05E105
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F2F267

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

Preview Lab → · Contrast checker → · Palette generator →

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