#F2E89E#F2E89E

#F2E89E is a very light, moderate yellow. Relative luminance 0.791; OKLCH L 92.2% C 0.094 H 101.5°. Best body text is #000000 at 16.81:1 contrast (WCAG AA passes).

Color values

HEX#F2E89E
RGBrgb(242, 232, 158)
HSLhsl(53, 76%, 78%)
HSVhsv(53, 35%, 95%)
CMYKcmyk(0%, 4.1%, 34.7%, 5.1%)
CIE-LABlab(91.26, -7.29, 37.26)
CIE-LCHlch(91.26, 37.97, 101.07°)
OKLaboklab(92.21% -0.0187 0.0922)
OKLCHoklch(92.21% 0.094 101.5)
XYZxyz(71.6471, 79.0609, 43.8272)
Luminance0.7906 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E89E #9EA8F2
analogous
#F2BE9E #F2E89E #D2F29E
triadic
#F2E89E #9EF2E8 #E89EF2
tetradic
#F2E89E #9EF2BE #9EA8F2 #F29ED2
square
#F2E89E #9EF2BE #9EA8F2 #F29ED2
split-complementary
#F2E89E #9ED2F2 #BE9EF2
monochromatic
#E4CE32 #EBDB68 #F2E89E #F9F5D4 #FBF9E4

Accessibility & contrast

On white

1.25
#F2E89E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.81
#F2E89E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E89E
16.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E89E#FFFFFF#000000##000000
##F2E89E1.001.2516.8116.81
#FFFFFF1.251.0021.0021.00
#00000016.8121.001.001.00
##00000016.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5E399
Deuteranopia (green-blind)
#F8E8A1
Tritanopia (blue-blind)
#FEDED5
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #f2e89e;
/* rgb */ color: rgb(242, 232, 158);
/* oklch */ color: oklch(92.2% 0.094 101.5);
Tailwind
colors: {
  custom: {
    50: '#f7efbb',
    500: '#f2e89e',
    950: '#000000',
  },
}
SCSS
$custom: #f2e89e;
$custom-light: #f7efbb;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e89e",
  "rgb": {
    "r": 242,
    "g": 232,
    "b": 158
  },
  "hsl": {
    "h": 52.857,
    "s": 76.364,
    "l": 78.431
  },
  "oklch": {
    "l": 0.92213,
    "c": 0.09408,
    "h": 101.5
  },
  "luminance": 0.79059
}

Semantic roles & 50–950 ramp

primary
#F2E89E
secondary
#6471D0
accent
#25D90D
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171612
muted
#858582

Preview Lab

Preview with #F2E89E

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

Preview Lab → · Contrast checker → · Palette generator →

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