#F2E26D#F2E26D

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

Color values

HEX#F2E26D
RGBrgb(242, 226, 109)
HSLhsl(53, 84%, 69%)
HSVhsv(53, 55%, 95%)
CMYKcmyk(0%, 6.6%, 55%, 5.1%)
CIE-LABlab(89.10, -8.97, 58.23)
CIE-LCHlch(89.10, 58.91, 98.76°)
OKLaboklab(90.3% -0.0279 0.1359)
OKLCHoklch(90.3% 0.139 101.6)
XYZxyz(66.5769, 74.3765, 25.3142)
Luminance0.7437 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E26D #6D7DF2
analogous
#F2A06D #F2E26D #C0F26D
triadic
#F2E26D #6DF2E2 #E26DF2
tetradic
#F2E26D #6DF2A0 #6D7DF2 #F26DC0
square
#F2E26D #6DF2A0 #6D7DF2 #F26DC0
split-complementary
#F2E26D #6DC0F2 #A06DF2
monochromatic
#D2BB13 #EDD735 #F2E26D #F7EDA5 #FCF8DD

Accessibility & contrast

On white

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

On black

15.87
#F2E26D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E26D
15.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E26D#FFFFFF#000000##000000
##F2E26D1.001.3215.8715.87
#FFFFFF1.321.0021.0021.00
#00000015.8721.001.001.00
##00000015.8721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2e26d;
/* rgb */ color: rgb(242, 226, 109);
/* oklch */ color: oklch(90.3% 0.139 101.6);
Tailwind
colors: {
  custom: {
    50: '#f9ea9a',
    500: '#f2e26d',
    950: '#000000',
  },
}
SCSS
$custom: #f2e26d;
$custom-light: #f9ea9a;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e26d",
  "rgb": {
    "r": 242,
    "g": 226,
    "b": 109
  },
  "hsl": {
    "h": 52.782,
    "s": 83.648,
    "l": 68.824
  },
  "oklch": {
    "l": 0.90295,
    "c": 0.13869,
    "h": 101.6
  },
  "luminance": 0.74374
}

Semantic roles & 50–950 ramp

primary
#F2E26D
secondary
#384ACB
accent
#20E005
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F2E26D

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

Preview Lab → · Contrast checker → · Palette generator →

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