#F2E26C#F2E26C

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

Color values

HEX#F2E26C
RGBrgb(242, 226, 108)
HSLhsl(53, 84%, 69%)
HSVhsv(53, 55%, 95%)
CMYKcmyk(0%, 6.6%, 55.4%, 5.1%)
CIE-LABlab(89.09, -9.04, 58.67)
CIE-LCHlch(89.09, 59.36, 98.76°)
OKLaboklab(90.28% -0.0282 0.1367)
OKLCHoklch(90.28% 0.14 101.7)
XYZxyz(66.5233, 74.3551, 25.0323)
Luminance0.7435 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E26C #6C7CF2
analogous
#F29F6C #F2E26C #BFF26C
triadic
#F2E26C #6CF2E2 #E26CF2
tetradic
#F2E26C #6CF29F #6C7CF2 #F26CBF
square
#F2E26C #6CF29F #6C7CF2 #F26CBF
split-complementary
#F2E26C #6CBFF2 #9F6CF2
monochromatic
#D1BA12 #EDD734 #F2E26C #F7EDA4 #FCF8DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2E26C#FFFFFF#000000##000000
##F2E26C1.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)
#F4DC60
Deuteranopia (green-blind)
#F9E372
Tritanopia (blue-blind)
#FFD4C8
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f2e26c;
/* rgb */ color: rgb(242, 226, 108);
/* oklch */ color: oklch(90.3% 0.140 101.7);
Tailwind
colors: {
  custom: {
    50: '#f9ea99',
    500: '#f2e26c',
    950: '#000000',
  },
}
SCSS
$custom: #f2e26c;
$custom-light: #f9ea99;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e26c",
  "rgb": {
    "r": 242,
    "g": 226,
    "b": 108
  },
  "hsl": {
    "h": 52.836,
    "s": 83.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.90284,
    "c": 0.13958,
    "h": 101.7
  },
  "luminance": 0.74353
}

Semantic roles & 50–950 ramp

primary
#F2E26C
secondary
#3749CB
accent
#1FE005
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F2E26C

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

Preview Lab → · Contrast checker → · Palette generator →

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