#F2E26A#F2E26A

#F2E26A is a very light, vivid yellow. Relative luminance 0.743; OKLCH L 90.3% C 0.141 H 101.8°. Best body text is #000000 at 15.86:1 contrast (WCAG AA passes).

Color values

HEX#F2E26A
RGBrgb(242, 226, 106)
HSLhsl(53, 84%, 68%)
HSVhsv(53, 56%, 95%)
CMYKcmyk(0%, 6.6%, 56.2%, 5.1%)
CIE-LABlab(89.07, -9.19, 59.55)
CIE-LCHlch(89.07, 60.25, 98.78°)
OKLaboklab(90.26% -0.0289 0.1384)
OKLCHoklch(90.26% 0.141 101.8)
XYZxyz(66.4181, 74.3130, 24.4781)
Luminance0.7431 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E26A #6A7AF2
analogous
#F29E6A #F2E26A #BEF26A
triadic
#F2E26A #6AF2E2 #E26AF2
tetradic
#F2E26A #6AF29E #6A7AF2 #F26ABE
square
#F2E26A #6AF29E #6A7AF2 #F26ABE
split-complementary
#F2E26A #6ABEF2 #9E6AF2
monochromatic
#CFB912 #EDD732 #F2E26A #F7EDA2 #FCF8DB

Accessibility & contrast

On white

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

On black

15.86
#F2E26A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E26A
15.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E26A#FFFFFF#000000##000000
##F2E26A1.001.3215.8615.86
#FFFFFF1.321.0021.0021.00
#00000015.8621.001.001.00
##00000015.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DC5E
Deuteranopia (green-blind)
#F9E370
Tritanopia (blue-blind)
#FFD4C7
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f2e26a;
/* rgb */ color: rgb(242, 226, 106);
/* oklch */ color: oklch(90.3% 0.141 101.8);
Tailwind
colors: {
  custom: {
    50: '#f9ea98',
    500: '#f2e26a',
    950: '#000000',
  },
}
SCSS
$custom: #f2e26a;
$custom-light: #f9ea98;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e26a",
  "rgb": {
    "r": 242,
    "g": 226,
    "b": 106
  },
  "hsl": {
    "h": 52.941,
    "s": 83.951,
    "l": 68.235
  },
  "oklch": {
    "l": 0.90262,
    "c": 0.14134,
    "h": 101.8
  },
  "luminance": 0.74311
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F2E26A

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

Preview Lab → · Contrast checker → · Palette generator →

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