#F2E98E#F2E98E

#F2E98E is a very light, moderate yellow. Relative luminance 0.791; OKLCH L 92.2% C 0.113 H 103.5°. Best body text is #000000 at 16.82:1 contrast (WCAG AA passes).

Color values

HEX#F2E98E
RGBrgb(242, 233, 142)
HSLhsl(55, 79%, 75%)
HSVhsv(55, 41%, 95%)
CMYKcmyk(0%, 3.7%, 41.3%, 5.1%)
CIE-LABlab(91.28, -9.52, 45.24)
CIE-LCHlch(91.28, 46.23, 101.89°)
OKLaboklab(92.16% -0.0263 0.1098)
OKLCHoklch(92.16% 0.113 103.5)
XYZxyz(70.6407, 79.1100, 37.1345)
Luminance0.7911 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E98E #8E97F2
analogous
#F2B78E #F2E98E #C9F28E
triadic
#F2E98E #8EF2E9 #E98EF2
tetradic
#F2E98E #8EF2B7 #8E97F2 #F28EC9
square
#F2E98E #8EF2B7 #8E97F2 #F28EC9
split-complementary
#F2E98E #8EC9F2 #B78EF2
monochromatic
#E5D420 #ECDE57 #F2E98E #F8F4C5 #FCFAE4

Accessibility & contrast

On white

1.25
#F2E98E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.82
#F2E98E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E98E
16.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E98E#FFFFFF#000000##000000
##F2E98E1.001.2516.8216.82
#FFFFFF1.251.0021.0021.00
#00000016.8221.001.001.00
##00000016.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E387
Deuteranopia (green-blind)
#FBE892
Tritanopia (blue-blind)
#FFDED3
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #f2e98e;
/* rgb */ color: rgb(242, 233, 142);
/* oklch */ color: oklch(92.2% 0.113 103.5);
Tailwind
colors: {
  custom: {
    50: '#f8efb0',
    500: '#f2e98e',
    950: '#000000',
  },
}
SCSS
$custom: #f2e98e;
$custom-light: #f8efb0;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e98e",
  "rgb": {
    "r": 242,
    "g": 233,
    "b": 142
  },
  "hsl": {
    "h": 54.6,
    "s": 79.365,
    "l": 75.294
  },
  "oklch": {
    "l": 0.92155,
    "c": 0.1129,
    "h": 103.5
  },
  "luminance": 0.79108
}

Semantic roles & 50–950 ramp

primary
#F2E98E
secondary
#5660CF
accent
#1DDC0A
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#171611
muted
#858581

Preview Lab

Preview with #F2E98E

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

Preview Lab → · Contrast checker → · Palette generator →

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