#F2E676#F2E676

#F2E676 is a very light, vivid yellow. Relative luminance 0.768; OKLCH L 91.2% C 0.134 H 103.2°. Best body text is #000000 at 16.36:1 contrast (WCAG AA passes).

Color values

HEX#F2E676
RGBrgb(242, 230, 118)
HSLhsl(54, 83%, 71%)
HSVhsv(54, 51%, 95%)
CMYKcmyk(0%, 5%, 51.2%, 5.1%)
CIE-LABlab(90.22, -10.25, 55.41)
CIE-LCHlch(90.22, 56.35, 100.48°)
OKLaboklab(91.22% -0.0306 0.1306)
OKLCHoklch(91.22% 0.134 103.2)
XYZxyz(68.1868, 76.7811, 28.3645)
Luminance0.7678 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E676 #7682F2
analogous
#F2A876 #F2E676 #C0F276
triadic
#F2E676 #76F2E6 #E676F2
tetradic
#F2E676 #76F2A8 #7682F2 #F276C0
square
#F2E676 #76F2A8 #7682F2 #F276C0
split-complementary
#F2E676 #76C0F2 #A876F2
monochromatic
#D9C615 #EDDC3E #F2E676 #F7F0AE #FCFAE3

Accessibility & contrast

On white

1.28
#F2E676 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.36
#F2E676 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E676
16.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E676#FFFFFF#000000##000000
##F2E6761.001.2816.3616.36
#FFFFFF1.281.0021.0021.00
#00000016.3621.001.001.00
##00000016.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7E06C
Deuteranopia (green-blind)
#FBE67B
Tritanopia (blue-blind)
#FFD9CC
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f2e676;
/* rgb */ color: rgb(242, 230, 118);
/* oklch */ color: oklch(91.2% 0.134 103.2);
Tailwind
colors: {
  custom: {
    50: '#f9eda0',
    500: '#f2e676',
    950: '#000000',
  },
}
SCSS
$custom: #f2e676;
$custom-light: #f9eda0;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e676",
  "rgb": {
    "r": 242,
    "g": 230,
    "b": 118
  },
  "hsl": {
    "h": 54.194,
    "s": 82.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.91215,
    "c": 0.13418,
    "h": 103.2
  },
  "luminance": 0.76779
}

Semantic roles & 50–950 ramp

primary
#F2E676
secondary
#404ECC
accent
#1BDF06
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F2E676

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

Preview Lab → · Contrast checker → · Palette generator →

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