#F2F263#F2F263

#F2F263 is a very light, vivid yellow. Relative luminance 0.833; OKLCH L 93.5% C 0.163 H 109.2°. Best body text is #000000 at 17.66:1 contrast (WCAG AA passes).

Color values

HEX#F2F263
RGBrgb(242, 242, 99)
HSLhsl(60, 85%, 67%)
HSVhsv(60, 59%, 95%)
CMYKcmyk(0%, 0%, 59.1%, 5.1%)
CIE-LABlab(93.14, -17.55, 67.09)
CIE-LCHlch(93.14, 69.35, 104.66°)
OKLaboklab(93.48% -0.0534 0.1536)
OKLCHoklch(93.48% 0.163 109.2)
XYZxyz(70.6243, 83.2843, 24.1572)
Luminance0.8328 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F263 #6363F2
analogous
#F2AB63 #F2F263 #ABF263
triadic
#F2F263 #63F2F2 #F263F2
tetradic
#F2F263 #63F2AB #6363F2 #F263AB
square
#F2F263 #63F2AB #6363F2 #F263AB
split-complementary
#F2F263 #63ABF2 #AB63F2
monochromatic
#CACA11 #EDED2B #F2F263 #F7F79B #FBFBD4

Accessibility & contrast

On white

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

On black

17.66
#F2F263 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F263
17.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F263#FFFFFF#000000##000000
##F2F2631.001.1917.6617.66
#FFFFFF1.191.0021.0021.00
#00000017.6621.001.001.00
##00000017.6621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2f263;
/* rgb */ color: rgb(242, 242, 99);
/* oklch */ color: oklch(93.5% 0.163 109.2);
Tailwind
colors: {
  custom: {
    50: '#f9f695',
    500: '#f2f263',
    950: '#000000',
  },
}
SCSS
$custom: #f2f263;
$custom-light: #f9f695;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f263",
  "rgb": {
    "r": 242,
    "g": 242,
    "b": 99
  },
  "hsl": {
    "h": 60,
    "s": 84.615,
    "l": 66.863
  },
  "oklch": {
    "l": 0.93479,
    "c": 0.16264,
    "h": 109.2
  },
  "luminance": 0.83282
}

Semantic roles & 50–950 ramp

primary
#F2F263
secondary
#3333C6
accent
#04E104
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F2F263

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

Preview Lab → · Contrast checker → · Palette generator →

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