#F2ED89#F2ED89

#F2ED89 is a very light, vivid yellow. Relative luminance 0.813; OKLCH L 92.9% C 0.122 H 106.0°. Best body text is #000000 at 17.25:1 contrast (WCAG AA passes).

Color values

HEX#F2ED89
RGBrgb(242, 237, 137)
HSLhsl(57, 80%, 74%)
HSVhsv(57, 43%, 95%)
CMYKcmyk(0%, 2.1%, 43.4%, 5.1%)
CIE-LABlab(92.24, -12.01, 48.87)
CIE-LCHlch(92.24, 50.32, 103.80°)
OKLaboklab(92.9% -0.0338 0.1177)
OKLCHoklch(92.9% 0.122 106)
XYZxyz(71.4189, 81.2536, 35.5834)
Luminance0.8125 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2ED89 #898EF2
analogous
#F2B989 #F2ED89 #C3F289
triadic
#F2ED89 #89F2ED #ED89F2
tetradic
#F2ED89 #89F2B9 #898EF2 #F289C3
square
#F2ED89 #89F2B9 #898EF2 #F289C3
split-complementary
#F2ED89 #89C3F2 #B989F2
monochromatic
#E6DC1B #ECE552 #F2ED89 #F8F5C0 #FCFBE3

Accessibility & contrast

On white

1.22
#F2ED89 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.25
#F2ED89 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2ED89
17.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2ED89#FFFFFF#000000##000000
##F2ED891.001.2217.2517.25
#FFFFFF1.221.0021.0021.00
#00000017.2521.001.001.00
##00000017.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE681
Deuteranopia (green-blind)
#FFEB8D
Tritanopia (blue-blind)
#FFE1D5
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f2ed89;
/* rgb */ color: rgb(242, 237, 137);
/* oklch */ color: oklch(92.9% 0.122 106.0);
Tailwind
colors: {
  custom: {
    50: '#f8f2ad',
    500: '#f2ed89',
    950: '#000000',
  },
}
SCSS
$custom: #f2ed89;
$custom-light: #f8f2ad;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ed89",
  "rgb": {
    "r": 242,
    "g": 237,
    "b": 137
  },
  "hsl": {
    "h": 57.143,
    "s": 80.153,
    "l": 74.314
  },
  "oklch": {
    "l": 0.92896,
    "c": 0.12243,
    "h": 106
  },
  "luminance": 0.81252
}

Semantic roles & 50–950 ramp

primary
#F2ED89
secondary
#5157CE
accent
#13DC09
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#171610
muted
#858581

Preview Lab

Preview with #F2ED89

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

Preview Lab → · Contrast checker → · Palette generator →

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