#F2E39B#F2E39B

#F2E39B is a very light, moderate yellow. Relative luminance 0.762; OKLCH L 91.2% C 0.092 H 97.8°. Best body text is #000000 at 16.24:1 contrast (WCAG AA passes).

Color values

HEX#F2E39B
RGBrgb(242, 227, 155)
HSLhsl(50, 77%, 78%)
HSVhsv(50, 36%, 95%)
CMYKcmyk(0%, 6.2%, 36%, 5.1%)
CIE-LABlab(89.94, -5.11, 37.05)
CIE-LCHlch(89.94, 37.40, 97.86°)
OKLaboklab(91.16% -0.0126 0.0916)
OKLCHoklch(91.16% 0.092 97.8)
XYZxyz(70.0046, 76.1840, 42.0213)
Luminance0.7618 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E39B #9BAAF2
analogous
#F2B79B #F2E39B #D5F29B
triadic
#F2E39B #9BF2E3 #E39BF2
tetradic
#F2E39B #9BF2B7 #9BAAF2 #F29BD5
square
#F2E39B #9BF2B7 #9BAAF2 #F29BD5
split-complementary
#F2E39B #9BD5F2 #B79BF2
monochromatic
#E4C52F #EBD465 #F2E39B #F9F2D1 #FBF7E4

Accessibility & contrast

On white

1.29
#F2E39B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.24
#F2E39B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E39B
16.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E39B#FFFFFF#000000##000000
##F2E39B1.001.2916.2416.24
#FFFFFF1.291.0021.0021.00
#00000016.2421.001.001.00
##00000016.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1DF96
Deuteranopia (green-blind)
#F5E59E
Tritanopia (blue-blind)
#FFD9D1
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #f2e39b;
/* rgb */ color: rgb(242, 227, 155);
/* oklch */ color: oklch(91.2% 0.092 97.8);
Tailwind
colors: {
  custom: {
    50: '#f7ebb9',
    500: '#f2e39b',
    950: '#000000',
  },
}
SCSS
$custom: #f2e39b;
$custom-light: #f7ebb9;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e39b",
  "rgb": {
    "r": 242,
    "g": 227,
    "b": 155
  },
  "hsl": {
    "h": 49.655,
    "s": 76.991,
    "l": 77.843
  },
  "oklch": {
    "l": 0.91156,
    "c": 0.09246,
    "h": 97.8
  },
  "luminance": 0.76182
}

Semantic roles & 50–950 ramp

primary
#F2E39B
secondary
#6174D0
accent
#30D90C
background
#FFFEFD
surface
#FFFDF8
border
#D7D5D1
text
#171611
muted
#858481

Preview Lab

Preview with #F2E39B

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

Preview Lab → · Contrast checker → · Palette generator →

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