#F3EF98#F3EF98

#F3EF98 is a very light, moderate yellow. Relative luminance 0.831; OKLCH L 93.6% C 0.108 H 106.0°. Best body text is #000000 at 17.61:1 contrast (WCAG AA passes).

Color values

HEX#F3EF98
RGBrgb(243, 239, 152)
HSLhsl(57, 79%, 77%)
HSVhsv(57, 37%, 95%)
CMYKcmyk(0%, 1.6%, 37.4%, 4.7%)
CIE-LABlab(93.04, -11.06, 42.57)
CIE-LCHlch(93.04, 43.99, 104.57°)
OKLaboklab(93.61% -0.03 0.1042)
OKLCHoklch(93.61% 0.108 106)
XYZxyz(73.4972, 83.0563, 41.8595)
Luminance0.8306 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F3EF98 #989CF3
analogous
#F3C298 #F3EF98 #C9F398
triadic
#F3EF98 #98F3EF #EF98F3
tetradic
#F3EF98 #98F3C2 #989CF3 #F398C9
square
#F3EF98 #98F3C2 #989CF3 #F398C9
split-complementary
#F3EF98 #98C9F3 #C298F3
monochromatic
#E6DE2A #EDE661 #F3EF98 #F9F8CF #FCFBE4

Accessibility & contrast

On white

1.19
#F3EF98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.61
#F3EF98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F3EF98
17.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F3EF98#FFFFFF#000000##000000
##F3EF981.001.1917.6117.61
#FFFFFF1.191.0021.0021.00
#00000017.6121.001.001.00
##00000017.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE992
Deuteranopia (green-blind)
#FFED9C
Tritanopia (blue-blind)
#FFE4D9
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #f3ef98;
/* rgb */ color: rgb(243, 239, 152);
/* oklch */ color: oklch(93.6% 0.108 106.0);
Tailwind
colors: {
  custom: {
    50: '#f8f4b7',
    500: '#f3ef98',
    950: '#000000',
  },
}
SCSS
$custom: #f3ef98;
$custom-light: #f8f4b7;
$custom-dark: #000000;
JSON
{
  "hex": "#f3ef98",
  "rgb": {
    "r": 243,
    "g": 239,
    "b": 152
  },
  "hsl": {
    "h": 57.363,
    "s": 79.13,
    "l": 77.451
  },
  "oklch": {
    "l": 0.93612,
    "c": 0.10844,
    "h": 106
  },
  "luminance": 0.83055
}

Semantic roles & 50–950 ramp

primary
#F3EF98
secondary
#5E63D1
accent
#13DB0A
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171711
muted
#858581

Preview Lab

Preview with #F3EF98

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

Preview Lab → · Contrast checker → · Palette generator →

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