#F2F26D#F2F26D

#F2F26D is a very light, vivid yellow. Relative luminance 0.835; OKLCH L 93.6% C 0.154 H 109.0°. Best body text is #000000 at 17.70:1 contrast (WCAG AA passes).

Color values

HEX#F2F26D
RGBrgb(242, 242, 109)
HSLhsl(60, 84%, 69%)
HSVhsv(60, 55%, 95%)
CMYKcmyk(0%, 0%, 55%, 5.1%)
CIE-LABlab(93.23, -16.85, 62.93)
CIE-LCHlch(93.23, 65.15, 104.99°)
OKLaboklab(93.58% -0.0504 0.146)
OKLCHoklch(93.58% 0.154 109)
XYZxyz(71.1323, 83.4875, 26.8327)
Luminance0.8349 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F26D #6D6DF2
analogous
#F2B06D #F2F26D #B0F26D
triadic
#F2F26D #6DF2F2 #F26DF2
tetradic
#F2F26D #6DF2B0 #6D6DF2 #F26DB0
square
#F2F26D #6DF2B0 #6D6DF2 #F26DB0
split-complementary
#F2F26D #6DB0F2 #B06DF2
monochromatic
#D2D213 #EDED35 #F2F26D #F7F7A5 #FCFCDD

Accessibility & contrast

On white

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

On black

17.70
#F2F26D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F26D
17.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F26D#FFFFFF#000000##000000
##F2F26D1.001.1917.7017.70
#FFFFFF1.191.0021.0021.00
#00000017.7021.001.001.00
##00000017.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE95F
Deuteranopia (green-blind)
#FFEE74
Tritanopia (blue-blind)
#FFE4D5
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f2f26d;
/* rgb */ color: rgb(242, 242, 109);
/* oklch */ color: oklch(93.6% 0.154 109.0);
Tailwind
colors: {
  custom: {
    50: '#f9f69b',
    500: '#f2f26d',
    950: '#000000',
  },
}
SCSS
$custom: #f2f26d;
$custom-light: #f9f69b;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f26d",
  "rgb": {
    "r": 242,
    "g": 242,
    "b": 109
  },
  "hsl": {
    "h": 60,
    "s": 83.648,
    "l": 68.824
  },
  "oklch": {
    "l": 0.93578,
    "c": 0.15441,
    "h": 109
  },
  "luminance": 0.83486
}

Semantic roles & 50–950 ramp

primary
#F2F26D
secondary
#3838CB
accent
#05E005
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F2F26D

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

Preview Lab → · Contrast checker → · Palette generator →

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