#F2E282#F2E282

#F2E282 is a very light, moderate yellow. Relative luminance 0.749; OKLCH L 90.6% C 0.119 H 100.0°. Best body text is #000000 at 15.98:1 contrast (WCAG AA passes).

Color values

HEX#F2E282
RGBrgb(242, 226, 130)
HSLhsl(51, 81%, 73%)
HSVhsv(51, 46%, 95%)
CMYKcmyk(0%, 6.6%, 46.3%, 5.1%)
CIE-LABlab(89.34, -7.19, 48.65)
CIE-LCHlch(89.34, 49.18, 98.41°)
OKLaboklab(90.56% -0.0206 0.1167)
OKLCHoklch(90.56% 0.119 100)
XYZxyz(67.8454, 74.8839, 31.9950)
Luminance0.7488 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E282 #8292F2
analogous
#F2AA82 #F2E282 #CAF282
triadic
#F2E282 #82F2E2 #E282F2
tetradic
#F2E282 #82F2AA #8292F2 #F282CA
square
#F2E282 #82F2AA #8292F2 #F282CA
split-complementary
#F2E282 #82CAF2 #AA82F2
monochromatic
#E2C518 #ECD54B #F2E282 #F8EFB9 #FCF9E3

Accessibility & contrast

On white

1.31
#F2E282 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.98
#F2E282 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E282
15.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E282#FFFFFF#000000##000000
##F2E2821.001.3115.9815.98
#FFFFFF1.311.0021.0021.00
#00000015.9821.001.001.00
##00000015.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DD7A
Deuteranopia (green-blind)
#F7E386
Tritanopia (blue-blind)
#FFD6CB
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f2e282;
/* rgb */ color: rgb(242, 226, 130);
/* oklch */ color: oklch(90.6% 0.119 100.0);
Tailwind
colors: {
  custom: {
    50: '#f8eaa8',
    500: '#f2e282',
    950: '#000000',
  },
}
SCSS
$custom: #f2e282;
$custom-light: #f8eaa8;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e282",
  "rgb": {
    "r": 242,
    "g": 226,
    "b": 130
  },
  "hsl": {
    "h": 51.429,
    "s": 81.159,
    "l": 72.941
  },
  "oklch": {
    "l": 0.90561,
    "c": 0.11854,
    "h": 100
  },
  "luminance": 0.74882
}

Semantic roles & 50–950 ramp

primary
#F2E282
secondary
#4B5DCD
accent
#26DE08
background
#FFFEFC
surface
#FFFDF6
border
#D7D5D0
text
#171610
muted
#858480

Preview Lab

Preview with #F2E282

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

Preview Lab → · Contrast checker → · Palette generator →

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