#F2E490#F2E490

#F2E490 is a very light, moderate yellow. Relative luminance 0.764; OKLCH L 91.2% C 0.106 H 100.0°. Best body text is #000000 at 16.28:1 contrast (WCAG AA passes).

Color values

HEX#F2E490
RGBrgb(242, 228, 144)
HSLhsl(51, 79%, 76%)
HSVhsv(51, 40%, 95%)
CMYKcmyk(0%, 5.8%, 40.5%, 5.1%)
CIE-LABlab(90.04, -6.82, 42.67)
CIE-LCHlch(90.04, 43.21, 99.08°)
OKLaboklab(91.17% -0.0183 0.1041)
OKLCHoklch(91.17% 0.106 100)
XYZxyz(69.3968, 76.3797, 37.4673)
Luminance0.7638 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E490 #909EF2
analogous
#F2B390 #F2E490 #CFF290
triadic
#F2E490 #90F2E4 #E490F2
tetradic
#F2E490 #90F2B3 #909EF2 #F290CF
square
#F2E490 #90F2B3 #909EF2 #F290CF
split-complementary
#F2E490 #90CFF2 #B390F2
monochromatic
#E5C922 #ECD759 #F2E490 #F8F1C7 #FCF8E4

Accessibility & contrast

On white

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

On black

16.28
#F2E490 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E490
16.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E490#FFFFFF#000000##000000
##F2E4901.001.2916.2816.28
#FFFFFF1.291.0021.0021.00
#00000016.2821.001.001.00
##00000016.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DF8A
Deuteranopia (green-blind)
#F7E593
Tritanopia (blue-blind)
#FFD9CF
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #f2e490;
/* rgb */ color: rgb(242, 228, 144);
/* oklch */ color: oklch(91.2% 0.106 100.0);
Tailwind
colors: {
  custom: {
    50: '#f8ecb1',
    500: '#f2e490',
    950: '#000000',
  },
}
SCSS
$custom: #f2e490;
$custom-light: #f8ecb1;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e490",
  "rgb": {
    "r": 242,
    "g": 228,
    "b": 144
  },
  "hsl": {
    "h": 51.429,
    "s": 79.032,
    "l": 75.686
  },
  "oklch": {
    "l": 0.91174,
    "c": 0.10568,
    "h": 100
  },
  "luminance": 0.76378
}

Semantic roles & 50–950 ramp

primary
#F2E490
secondary
#5768CF
accent
#28DB0A
background
#FFFEFD
surface
#FFFDF8
border
#D7D5D1
text
#171611
muted
#858481

Preview Lab

Preview with #F2E490

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

Preview Lab → · Contrast checker → · Palette generator →

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