#F2DF82#F2DF82

#F2DF82 is a very light, moderate yellow. Relative luminance 0.733; OKLCH L 90.0% C 0.116 H 98.1°. Best body text is #000000 at 15.65:1 contrast (WCAG AA passes).

Color values

HEX#F2DF82
RGBrgb(242, 223, 130)
HSLhsl(50, 81%, 73%)
HSVhsv(50, 46%, 95%)
CMYKcmyk(0%, 7.9%, 46.3%, 5.1%)
CIE-LABlab(88.57, -5.68, 47.71)
CIE-LCHlch(88.57, 48.05, 96.79°)
OKLaboklab(89.96% -0.0162 0.1146)
OKLCHoklch(89.96% 0.116 98.1)
XYZxyz(67.0367, 73.2667, 31.7254)
Luminance0.7326 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DF82 #8295F2
analogous
#F2A782 #F2DF82 #CDF282
triadic
#F2DF82 #82F2DF #DF82F2
tetradic
#F2DF82 #82F2A7 #8295F2 #F282CD
square
#F2DF82 #82F2A7 #8295F2 #F282CD
split-complementary
#F2DF82 #82CDF2 #A782F2
monochromatic
#E2C018 #ECD14B #F2DF82 #F8EDB9 #FCF8E3

Accessibility & contrast

On white

1.34
#F2DF82 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.65
#F2DF82 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DF82
15.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DF82#FFFFFF#000000##000000
##F2DF821.001.3415.6515.65
#FFFFFF1.341.0021.0021.00
#00000015.6521.001.001.00
##00000015.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFDA7A
Deuteranopia (green-blind)
#F5E186
Tritanopia (blue-blind)
#FFD3C9
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #f2df82;
/* rgb */ color: rgb(242, 223, 130);
/* oklch */ color: oklch(90.0% 0.116 98.1);
Tailwind
colors: {
  custom: {
    50: '#f8e8a8',
    500: '#f2df82',
    950: '#000000',
  },
}
SCSS
$custom: #f2df82;
$custom-light: #f8e8a8;
$custom-dark: #000000;
JSON
{
  "hex": "#f2df82",
  "rgb": {
    "r": 242,
    "g": 223,
    "b": 130
  },
  "hsl": {
    "h": 49.821,
    "s": 81.159,
    "l": 72.941
  },
  "oklch": {
    "l": 0.89956,
    "c": 0.11578,
    "h": 98.1
  },
  "luminance": 0.73264
}

Semantic roles & 50–950 ramp

primary
#F2DF82
secondary
#4B61CD
accent
#2CDE08
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#171610
muted
#858480

Preview Lab

Preview with #F2DF82

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

Preview Lab → · Contrast checker → · Palette generator →

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