#F2F268#F2F268

#F2F268 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.68:1 contrast (WCAG AA passes).

Color values

HEX#F2F268
RGBrgb(242, 242, 104)
HSLhsl(60, 84%, 68%)
HSVhsv(60, 57%, 95%)
CMYKcmyk(0%, 0%, 57%, 5.1%)
CIE-LABlab(93.18, -17.21, 65.04)
CIE-LCHlch(93.18, 67.28, 104.82°)
OKLaboklab(93.53% -0.0519 0.1499)
OKLCHoklch(93.53% 0.159 109.1)
XYZxyz(70.8708, 83.3829, 25.4552)
Luminance0.8338 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F268 #6868F2
analogous
#F2AD68 #F2F268 #ADF268
triadic
#F2F268 #68F2F2 #F268F2
tetradic
#F2F268 #68F2AD #6868F2 #F268AD
square
#F2F268 #68F2AD #6868F2 #F268AD
split-complementary
#F2F268 #68ADF2 #AD68F2
monochromatic
#CECE12 #EDED30 #F2F268 #F7F7A0 #FCFCD9

Accessibility & contrast

On white

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

On black

17.68
#F2F268 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F268
17.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F268#FFFFFF#000000##000000
##F2F2681.001.1917.6817.68
#FFFFFF1.191.0021.0021.00
#00000017.6821.001.001.00
##00000017.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2f268;
/* rgb */ color: rgb(242, 242, 104);
/* oklch */ color: oklch(93.5% 0.159 109.1);
Tailwind
colors: {
  custom: {
    50: '#f9f698',
    500: '#f2f268',
    950: '#000000',
  },
}
SCSS
$custom: #f2f268;
$custom-light: #f9f698;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f268",
  "rgb": {
    "r": 242,
    "g": 242,
    "b": 104
  },
  "hsl": {
    "h": 60,
    "s": 84.146,
    "l": 67.843
  },
  "oklch": {
    "l": 0.93527,
    "c": 0.15861,
    "h": 109.1
  },
  "luminance": 0.83381
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F2F268

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

Preview Lab → · Contrast checker → · Palette generator →

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