#F2E26B#F2E26B

#F2E26B is a very light, vivid yellow. Relative luminance 0.743; 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#F2E26B
RGBrgb(242, 226, 107)
HSLhsl(53, 84%, 68%)
HSVhsv(53, 56%, 95%)
CMYKcmyk(0%, 6.6%, 55.8%, 5.1%)
CIE-LABlab(89.08, -9.12, 59.11)
CIE-LCHlch(89.08, 59.81, 98.77°)
OKLaboklab(90.27% -0.0285 0.1375)
OKLCHoklch(90.27% 0.14 101.7)
XYZxyz(66.4704, 74.3340, 24.7536)
Luminance0.7433 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E26B #6B7BF2
analogous
#F29E6B #F2E26B #BEF26B
triadic
#F2E26B #6BF2E2 #E26BF2
tetradic
#F2E26B #6BF29E #6B7BF2 #F26BBE
square
#F2E26B #6BF29E #6B7BF2 #F26BBE
split-complementary
#F2E26B #6BBEF2 #9E6BF2
monochromatic
#D0BA12 #EDD733 #F2E26B #F7EDA3 #FCF8DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2E26B#FFFFFF#000000##000000
##F2E26B1.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)
#F4DC5F
Deuteranopia (green-blind)
#F9E371
Tritanopia (blue-blind)
#FFD4C8
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f2e26b;
/* rgb */ color: rgb(242, 226, 107);
/* oklch */ color: oklch(90.3% 0.140 101.7);
Tailwind
colors: {
  custom: {
    50: '#f9ea99',
    500: '#f2e26b',
    950: '#000000',
  },
}
SCSS
$custom: #f2e26b;
$custom-light: #f9ea99;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e26b",
  "rgb": {
    "r": 242,
    "g": 226,
    "b": 107
  },
  "hsl": {
    "h": 52.889,
    "s": 83.851,
    "l": 68.431
  },
  "oklch": {
    "l": 0.90273,
    "c": 0.14046,
    "h": 101.7
  },
  "luminance": 0.74331
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F2E26B

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

Preview Lab → · Contrast checker → · Palette generator →

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