#F2EA98#F2EA98

#F2EA98 is a very light, moderate yellow. Relative luminance 0.800; OKLCH L 92.5% C 0.103 H 103.4°. Best body text is #000000 at 17.00:1 contrast (WCAG AA passes).

Color values

HEX#F2EA98
RGBrgb(242, 234, 152)
HSLhsl(55, 78%, 77%)
HSVhsv(55, 37%, 95%)
CMYKcmyk(0%, 3.3%, 37.2%, 5.1%)
CIE-LABlab(91.68, -8.96, 40.81)
CIE-LCHlch(91.68, 41.78, 102.39°)
OKLaboklab(92.52% -0.0239 0.1002)
OKLCHoklch(92.52% 0.103 103.4)
XYZxyz(71.7093, 79.9916, 41.3621)
Luminance0.7999 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EA98 #98A0F2
analogous
#F2BD98 #F2EA98 #CDF298
triadic
#F2EA98 #98F2EA #EA98F2
tetradic
#F2EA98 #98F2BD #98A0F2 #F298CD
square
#F2EA98 #98F2BD #98A0F2 #F298CD
split-complementary
#F2EA98 #98CDF2 #BD98F2
monochromatic
#E4D42B #EBDF62 #F2EA98 #F9F5CE #FCF9E4

Accessibility & contrast

On white

1.24
#F2EA98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.00
#F2EA98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EA98
17.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EA98#FFFFFF#000000##000000
##F2EA981.001.2417.0017.00
#FFFFFF1.241.0021.0021.00
#00000017.0021.001.001.00
##00000017.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E592
Deuteranopia (green-blind)
#FBE99B
Tritanopia (blue-blind)
#FEE0D5
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #f2ea98;
/* rgb */ color: rgb(242, 234, 152);
/* oklch */ color: oklch(92.5% 0.103 103.4);
Tailwind
colors: {
  custom: {
    50: '#f7f0b7',
    500: '#f2ea98',
    950: '#000000',
  },
}
SCSS
$custom: #f2ea98;
$custom-light: #f7f0b7;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ea98",
  "rgb": {
    "r": 242,
    "g": 234,
    "b": 152
  },
  "hsl": {
    "h": 54.667,
    "s": 77.586,
    "l": 77.255
  },
  "oklch": {
    "l": 0.92516,
    "c": 0.10299,
    "h": 103.4
  },
  "luminance": 0.7999
}

Semantic roles & 50–950 ramp

primary
#F2EA98
secondary
#5F69D0
accent
#1EDA0C
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171611
muted
#858581

Preview Lab

Preview with #F2EA98

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

Preview Lab → · Contrast checker → · Palette generator →

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