#F2F39E#F2F39E

#F2F39E is a very light, moderate yellow. Relative luminance 0.854; OKLCH L 94.4% C 0.106 H 108.9°. Best body text is #000000 at 18.09:1 contrast (WCAG AA passes).

Color values

HEX#F2F39E
RGBrgb(242, 243, 158)
HSLhsl(61, 78%, 79%)
HSVhsv(61, 35%, 95%)
CMYKcmyk(0.4%, 0%, 35%, 4.7%)
CIE-LABlab(94.08, -12.75, 40.93)
CIE-LCHlch(94.08, 42.87, 107.31°)
OKLaboklab(94.45% -0.0344 0.1007)
OKLCHoklch(94.45% 0.106 108.9)
XYZxyz(74.8408, 85.4484, 44.8918)
Luminance0.8545 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F39E #9F9EF3
analogous
#F3C99E #F2F39E #C7F39E
triadic
#F2F39E #9EF2F3 #F39EF2
tetradic
#F2F39E #9EF3C9 #9F9EF3 #F39EC7
square
#F2F39E #9EF3C9 #9F9EF3 #F39EC7
split-complementary
#F2F39E #9EC7F3 #C99EF3
monochromatic
#E3E631 #EBEC68 #F2F39E #F9FAD4 #FBFCE4

Accessibility & contrast

On white

1.16
#F2F39E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.09
#F2F39E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F39E
18.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F39E#FFFFFF#000000##000000
##F2F39E1.001.1618.0918.09
#FFFFFF1.161.0021.0021.00
#00000018.0921.001.001.00
##00000018.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC98
Deuteranopia (green-blind)
#FFF0A2
Tritanopia (blue-blind)
#FDE9DE
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f2f39e;
/* rgb */ color: rgb(242, 243, 158);
/* oklch */ color: oklch(94.4% 0.106 108.9);
Tailwind
colors: {
  custom: {
    50: '#f7f7bb',
    500: '#f2f39e',
    950: '#000000',
  },
}
SCSS
$custom: #f2f39e;
$custom-light: #f7f7bb;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f39e",
  "rgb": {
    "r": 242,
    "g": 243,
    "b": 158
  },
  "hsl": {
    "h": 60.706,
    "s": 77.982,
    "l": 78.627
  },
  "oklch": {
    "l": 0.94445,
    "c": 0.10641,
    "h": 108.9
  },
  "luminance": 0.85447
}

Semantic roles & 50–950 ramp

primary
#F2F39E
secondary
#6564D1
accent
#0BDA0E
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171712
muted
#858582

Preview Lab

Preview with #F2F39E

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

Preview Lab → · Contrast checker → · Palette generator →

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