#F2ED90#F2ED90

#F2ED90 is a very light, moderate yellow. Relative luminance 0.815; OKLCH L 93.0% C 0.115 H 105.7°. Best body text is #000000 at 17.29:1 contrast (WCAG AA passes).

Color values

HEX#F2ED90
RGBrgb(242, 237, 144)
HSLhsl(57, 79%, 76%)
HSVhsv(57, 40%, 95%)
CMYKcmyk(0%, 2.1%, 40.5%, 5.1%)
CIE-LABlab(92.34, -11.31, 45.59)
CIE-LCHlch(92.34, 46.97, 103.93°)
OKLaboklab(93% -0.0312 0.1107)
OKLCHoklch(93% 0.115 105.7)
XYZxyz(71.9374, 81.4610, 38.3142)
Luminance0.8146 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2ED90 #9095F2
analogous
#F2BC90 #F2ED90 #C6F290
triadic
#F2ED90 #90F2ED #ED90F2
tetradic
#F2ED90 #90F2BC #9095F2 #F290C6
square
#F2ED90 #90F2BC #9095F2 #F290C6
split-complementary
#F2ED90 #90C6F2 #BC90F2
monochromatic
#E5DB22 #ECE459 #F2ED90 #F8F6C7 #FCFBE4

Accessibility & contrast

On white

1.21
#F2ED90 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.29
#F2ED90 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2ED90
17.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2ED90#FFFFFF#000000##000000
##F2ED901.001.2117.2917.29
#FFFFFF1.211.0021.0021.00
#00000017.2921.001.001.00
##00000017.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE789
Deuteranopia (green-blind)
#FEEB94
Tritanopia (blue-blind)
#FFE2D6
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f2ed90;
/* rgb */ color: rgb(242, 237, 144);
/* oklch */ color: oklch(93.0% 0.115 105.7);
Tailwind
colors: {
  custom: {
    50: '#f8f2b2',
    500: '#f2ed90',
    950: '#000000',
  },
}
SCSS
$custom: #f2ed90;
$custom-light: #f8f2b2;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ed90",
  "rgb": {
    "r": 242,
    "g": 237,
    "b": 144
  },
  "hsl": {
    "h": 56.939,
    "s": 79.032,
    "l": 75.686
  },
  "oklch": {
    "l": 0.92999,
    "c": 0.11502,
    "h": 105.7
  },
  "luminance": 0.81459
}

Semantic roles & 50–950 ramp

primary
#F2ED90
secondary
#575DCF
accent
#15DB0A
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171611
muted
#858581

Preview Lab

Preview with #F2ED90

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

Preview Lab → · Contrast checker → · Palette generator →

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