#F2E268#F2E268

#F2E268 is a very light, vivid yellow. Relative luminance 0.743; OKLCH L 90.2% C 0.143 H 101.9°. Best body text is #000000 at 15.85:1 contrast (WCAG AA passes).

Color values

HEX#F2E268
RGBrgb(242, 226, 104)
HSLhsl(53, 84%, 68%)
HSVhsv(53, 57%, 95%)
CMYKcmyk(0%, 6.6%, 57%, 5.1%)
CIE-LABlab(89.05, -9.34, 60.42)
CIE-LCHlch(89.05, 61.13, 98.79°)
OKLaboklab(90.24% -0.0295 0.14)
OKLCHoklch(90.24% 0.143 101.9)
XYZxyz(66.3153, 74.2719, 23.9368)
Luminance0.7427 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E268 #6878F2
analogous
#F29D68 #F2E268 #BDF268
triadic
#F2E268 #68F2E2 #E268F2
tetradic
#F2E268 #68F29D #6878F2 #F268BD
square
#F2E268 #68F29D #6878F2 #F268BD
split-complementary
#F2E268 #68BDF2 #9D68F2
monochromatic
#CEB812 #EDD730 #F2E268 #F7EDA0 #FCF8D9

Accessibility & contrast

On white

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

On black

15.85
#F2E268 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E268
15.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E268#FFFFFF#000000##000000
##F2E2681.001.3215.8515.85
#FFFFFF1.321.0021.0021.00
#00000015.8521.001.001.00
##00000015.8521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2e268;
/* rgb */ color: rgb(242, 226, 104);
/* oklch */ color: oklch(90.2% 0.143 101.9);
Tailwind
colors: {
  custom: {
    50: '#f9ea97',
    500: '#f2e268',
    950: '#000000',
  },
}
SCSS
$custom: #f2e268;
$custom-light: #f9ea97;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e268",
  "rgb": {
    "r": 242,
    "g": 226,
    "b": 104
  },
  "hsl": {
    "h": 53.043,
    "s": 84.146,
    "l": 67.843
  },
  "oklch": {
    "l": 0.9024,
    "c": 0.14307,
    "h": 101.9
  },
  "luminance": 0.74269
}

Semantic roles & 50–950 ramp

primary
#F2E268
secondary
#3446CA
accent
#1EE105
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F2E268

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

Preview Lab → · Contrast checker → · Palette generator →

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