#F2E082#F2E082

#F2E082 is a very light, moderate yellow. Relative luminance 0.738; OKLCH L 90.2% C 0.117 H 98.7°. Best body text is #000000 at 15.76:1 contrast (WCAG AA passes).

Color values

HEX#F2E082
RGBrgb(242, 224, 130)
HSLhsl(50, 81%, 73%)
HSVhsv(50, 46%, 95%)
CMYKcmyk(0%, 7.4%, 46.3%, 5.1%)
CIE-LABlab(88.83, -6.19, 48.02)
CIE-LCHlch(88.83, 48.42, 97.34°)
OKLaboklab(90.16% -0.0177 0.1153)
OKLCHoklch(90.16% 0.117 98.7)
XYZxyz(67.3047, 73.8026, 31.8148)
Luminance0.7380 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E082 #8294F2
analogous
#F2A882 #F2E082 #CCF282
triadic
#F2E082 #82F2E0 #E082F2
tetradic
#F2E082 #82F2A8 #8294F2 #F282CC
square
#F2E082 #82F2A8 #8294F2 #F282CC
split-complementary
#F2E082 #82CCF2 #A882F2
monochromatic
#E2C218 #ECD24B #F2E082 #F8EEB9 #FCF8E3

Accessibility & contrast

On white

1.33
#F2E082 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.76
#F2E082 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E082
15.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E082#FFFFFF#000000##000000
##F2E0821.001.3315.7615.76
#FFFFFF1.331.0021.0021.00
#00000015.7621.001.001.00
##00000015.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0DB7A
Deuteranopia (green-blind)
#F5E286
Tritanopia (blue-blind)
#FFD4CA
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #f2e082;
/* rgb */ color: rgb(242, 224, 130);
/* oklch */ color: oklch(90.2% 0.117 98.7);
Tailwind
colors: {
  custom: {
    50: '#f8e9a8',
    500: '#f2e082',
    950: '#000000',
  },
}
SCSS
$custom: #f2e082;
$custom-light: #f8e9a8;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e082",
  "rgb": {
    "r": 242,
    "g": 224,
    "b": 130
  },
  "hsl": {
    "h": 50.357,
    "s": 81.159,
    "l": 72.941
  },
  "oklch": {
    "l": 0.90158,
    "c": 0.11668,
    "h": 98.7
  },
  "luminance": 0.738
}

Semantic roles & 50–950 ramp

primary
#F2E082
secondary
#4B60CD
accent
#2ADE08
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#171610
muted
#858480

Preview Lab

Preview with #F2E082

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

Preview Lab → · Contrast checker → · Palette generator →

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