#F2E26E#F2E26E

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

Color values

HEX#F2E26E
RGBrgb(242, 226, 110)
HSLhsl(53, 84%, 69%)
HSVhsv(53, 55%, 95%)
CMYKcmyk(0%, 6.6%, 54.5%, 5.1%)
CIE-LABlab(89.11, -8.89, 57.79)
CIE-LCHlch(89.11, 58.47, 98.75°)
OKLaboklab(90.31% -0.0276 0.135)
OKLCHoklch(90.31% 0.138 101.5)
XYZxyz(66.6310, 74.3982, 25.5993)
Luminance0.7440 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E26E #6E7EF2
analogous
#F2A06E #F2E26E #C0F26E
triadic
#F2E26E #6EF2E2 #E26EF2
tetradic
#F2E26E #6EF2A0 #6E7EF2 #F26EC0
square
#F2E26E #6EF2A0 #6E7EF2 #F26EC0
split-complementary
#F2E26E #6EC0F2 #A06EF2
monochromatic
#D3BB13 #EDD736 #F2E26E #F7EDA6 #FCF8DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2E26E#FFFFFF#000000##000000
##F2E26E1.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)
#F4DC63
Deuteranopia (green-blind)
#F9E374
Tritanopia (blue-blind)
#FFD4C8
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f2e26e;
/* rgb */ color: rgb(242, 226, 110);
/* oklch */ color: oklch(90.3% 0.138 101.5);
Tailwind
colors: {
  custom: {
    50: '#f9ea9b',
    500: '#f2e26e',
    950: '#000000',
  },
}
SCSS
$custom: #f2e26e;
$custom-light: #f9ea9b;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e26e",
  "rgb": {
    "r": 242,
    "g": 226,
    "b": 110
  },
  "hsl": {
    "h": 52.727,
    "s": 83.544,
    "l": 69.02
  },
  "oklch": {
    "l": 0.90307,
    "c": 0.13779,
    "h": 101.5
  },
  "luminance": 0.74396
}

Semantic roles & 50–950 ramp

primary
#F2E26E
secondary
#394BCB
accent
#20E006
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F2E26E

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

Preview Lab → · Contrast checker → · Palette generator →

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