#F2F39B#F2F39B

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

Color values

HEX#F2F39B
RGBrgb(242, 243, 155)
HSLhsl(61, 79%, 78%)
HSVhsv(61, 36%, 95%)
CMYKcmyk(0.4%, 0%, 36.2%, 4.7%)
CIE-LABlab(94.03, -13.09, 42.35)
CIE-LCHlch(94.03, 44.33, 107.18°)
OKLaboklab(94.4% -0.0355 0.1039)
OKLCHoklch(94.4% 0.11 108.9)
XYZxyz(74.5858, 85.3464, 43.5484)
Luminance0.8535 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F39B #9C9BF3
analogous
#F3C89B #F2F39B #C6F39B
triadic
#F2F39B #9BF2F3 #F39BF2
tetradic
#F2F39B #9BF3C8 #9C9BF3 #F39BC6
square
#F2F39B #9BF3C8 #9C9BF3 #F39BC6
split-complementary
#F2F39B #9BC6F3 #C89BF3
monochromatic
#E4E62E #EBEC64 #F2F39B #F9FAD2 #FBFCE4

Accessibility & contrast

On white

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

On black

18.07
#F2F39B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F39B
18.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F39B#FFFFFF#000000##000000
##F2F39B1.001.1618.0718.07
#FFFFFF1.161.0021.0021.00
#00000018.0721.001.001.00
##00000018.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC94
Deuteranopia (green-blind)
#FFEF9F
Tritanopia (blue-blind)
#FEE9DD
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f2f39b;
/* rgb */ color: rgb(242, 243, 155);
/* oklch */ color: oklch(94.4% 0.110 108.9);
Tailwind
colors: {
  custom: {
    50: '#f7f7b9',
    500: '#f2f39b',
    950: '#000000',
  },
}
SCSS
$custom: #f2f39b;
$custom-light: #f7f7b9;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f39b",
  "rgb": {
    "r": 242,
    "g": 243,
    "b": 155
  },
  "hsl": {
    "h": 60.682,
    "s": 78.571,
    "l": 78.039
  },
  "oklch": {
    "l": 0.94396,
    "c": 0.10976,
    "h": 108.9
  },
  "luminance": 0.85345
}

Semantic roles & 50–950 ramp

primary
#F2F39B
secondary
#6261D1
accent
#0BDB0D
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171711
muted
#858581

Preview Lab

Preview with #F2F39B

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

Preview Lab → · Contrast checker → · Palette generator →

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