#F2E26F#F2E26F

#F2E26F is a very light, vivid yellow. Relative luminance 0.744; OKLCH L 90.3% C 0.137 H 101.5°. Best body text is #000000 at 15.88:1 contrast (WCAG AA passes).

Color values

HEX#F2E26F
RGBrgb(242, 226, 111)
HSLhsl(53, 83%, 69%)
HSVhsv(53, 54%, 95%)
CMYKcmyk(0%, 6.6%, 54.1%, 5.1%)
CIE-LABlab(89.12, -8.81, 57.34)
CIE-LCHlch(89.12, 58.02, 98.74°)
OKLaboklab(90.32% -0.0272 0.1342)
OKLCHoklch(90.32% 0.137 101.5)
XYZxyz(66.6857, 74.4201, 25.8877)
Luminance0.7442 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E26F #6F7FF2
analogous
#F2A16F #F2E26F #C1F26F
triadic
#F2E26F #6FF2E2 #E26FF2
tetradic
#F2E26F #6FF2A1 #6F7FF2 #F26FC1
square
#F2E26F #6FF2A1 #6F7FF2 #F26FC1
split-complementary
#F2E26F #6FC1F2 #A16FF2
monochromatic
#D4BC13 #EDD737 #F2E26F #F7EDA7 #FCF9DF

Accessibility & contrast

On white

1.32
#F2E26F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.88
#F2E26F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E26F
15.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E26F#FFFFFF#000000##000000
##F2E26F1.001.3215.8815.88
#FFFFFF1.321.0021.0021.00
#00000015.8821.001.001.00
##00000015.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DC64
Deuteranopia (green-blind)
#F9E374
Tritanopia (blue-blind)
#FFD4C8
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f2e26f;
/* rgb */ color: rgb(242, 226, 111);
/* oklch */ color: oklch(90.3% 0.137 101.5);
Tailwind
colors: {
  custom: {
    50: '#f9ea9b',
    500: '#f2e26f',
    950: '#000000',
  },
}
SCSS
$custom: #f2e26f;
$custom-light: #f9ea9b;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e26f",
  "rgb": {
    "r": 242,
    "g": 226,
    "b": 111
  },
  "hsl": {
    "h": 52.672,
    "s": 83.439,
    "l": 69.216
  },
  "oklch": {
    "l": 0.90318,
    "c": 0.13689,
    "h": 101.5
  },
  "luminance": 0.74418
}

Semantic roles & 50–950 ramp

primary
#F2E26F
secondary
#3A4CCB
accent
#20E006
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F2E26F

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

Preview Lab → · Contrast checker → · Palette generator →

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