#F2DE82#F2DE82

#F2DE82 is a very light, moderate yellow. Relative luminance 0.727; OKLCH L 89.8% C 0.115 H 97.4°. Best body text is #000000 at 15.55:1 contrast (WCAG AA passes).

Color values

HEX#F2DE82
RGBrgb(242, 222, 130)
HSLhsl(49, 81%, 73%)
HSVhsv(49, 46%, 95%)
CMYKcmyk(0%, 8.3%, 46.3%, 5.1%)
CIE-LABlab(88.32, -5.18, 47.40)
CIE-LCHlch(88.32, 47.68, 96.24°)
OKLaboklab(89.76% -0.0148 0.1139)
OKLCHoklch(89.76% 0.115 97.4)
XYZxyz(66.7704, 72.7339, 31.6367)
Luminance0.7273 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DE82 #8296F2
analogous
#F2A682 #F2DE82 #CEF282
triadic
#F2DE82 #82F2DE #DE82F2
tetradic
#F2DE82 #82F2A6 #8296F2 #F282CE
square
#F2DE82 #82F2A6 #8296F2 #F282CE
split-complementary
#F2DE82 #82CEF2 #A682F2
monochromatic
#E2BE18 #ECCF4B #F2DE82 #F8EDB9 #FCF8E3

Accessibility & contrast

On white

1.35
#F2DE82 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.55
#F2DE82 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DE82
15.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DE82#FFFFFF#000000##000000
##F2DE821.001.3515.5515.55
#FFFFFF1.351.0021.0021.00
#00000015.5521.001.001.00
##00000015.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EEDA7A
Deuteranopia (green-blind)
#F4E186
Tritanopia (blue-blind)
#FFD2C8
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #f2de82;
/* rgb */ color: rgb(242, 222, 130);
/* oklch */ color: oklch(89.8% 0.115 97.4);
Tailwind
colors: {
  custom: {
    50: '#f8e8a8',
    500: '#f2de82',
    950: '#000000',
  },
}
SCSS
$custom: #f2de82;
$custom-light: #f8e8a8;
$custom-dark: #000000;
JSON
{
  "hex": "#f2de82",
  "rgb": {
    "r": 242,
    "g": 222,
    "b": 130
  },
  "hsl": {
    "h": 49.286,
    "s": 81.159,
    "l": 72.941
  },
  "oklch": {
    "l": 0.89755,
    "c": 0.11489,
    "h": 97.4
  },
  "luminance": 0.72732
}

Semantic roles & 50–950 ramp

primary
#F2DE82
secondary
#4B62CD
accent
#2EDE08
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#171610
muted
#858480

Preview Lab

Preview with #F2DE82

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

Preview Lab → · Contrast checker → · Palette generator →

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