#F2E276#F2E276

#F2E276 is a very light, vivid yellow. Relative luminance 0.746; OKLCH L 90.4% C 0.130 H 101.0°. Best body text is #000000 at 15.92:1 contrast (WCAG AA passes).

Color values

HEX#F2E276
RGBrgb(242, 226, 118)
HSLhsl(52, 83%, 71%)
HSVhsv(52, 51%, 95%)
CMYKcmyk(0%, 6.6%, 51.2%, 5.1%)
CIE-LABlab(89.20, -8.25, 54.19)
CIE-LCHlch(89.20, 54.82, 98.66°)
OKLaboklab(90.4% -0.0249 0.128)
OKLCHoklch(90.4% 0.13 101)
XYZxyz(67.0864, 74.5803, 27.9977)
Luminance0.7458 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E276 #7686F2
analogous
#F2A476 #F2E276 #C4F276
triadic
#F2E276 #76F2E2 #E276F2
tetradic
#F2E276 #76F2A4 #7686F2 #F276C4
square
#F2E276 #76F2A4 #7686F2 #F276C4
split-complementary
#F2E276 #76C4F2 #A476F2
monochromatic
#D9C015 #EDD63E #F2E276 #F7EEAE #FCF9E3

Accessibility & contrast

On white

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

On black

15.92
#F2E276 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E276
15.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E276#FFFFFF#000000##000000
##F2E2761.001.3215.9215.92
#FFFFFF1.321.0021.0021.00
#00000015.9221.001.001.00
##00000015.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DC6C
Deuteranopia (green-blind)
#F8E37B
Tritanopia (blue-blind)
#FFD5C9
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f2e276;
/* rgb */ color: rgb(242, 226, 118);
/* oklch */ color: oklch(90.4% 0.130 101.0);
Tailwind
colors: {
  custom: {
    50: '#f9eaa0',
    500: '#f2e276',
    950: '#000000',
  },
}
SCSS
$custom: #f2e276;
$custom-light: #f9eaa0;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e276",
  "rgb": {
    "r": 242,
    "g": 226,
    "b": 118
  },
  "hsl": {
    "h": 52.258,
    "s": 82.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.90402,
    "c": 0.13038,
    "h": 101
  },
  "luminance": 0.74578
}

Semantic roles & 50–950 ramp

primary
#F2E276
secondary
#4052CC
accent
#22DF06
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F2E276

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

Preview Lab → · Contrast checker → · Palette generator →

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