#F2D882#F2D882

#F2D882 is a very light, moderate yellow. Relative luminance 0.696; OKLCH L 88.6% C 0.110 H 93.1°. Best body text is #000000 at 14.92:1 contrast (WCAG AA passes).

Color values

HEX#F2D882
RGBrgb(242, 216, 130)
HSLhsl(46, 81%, 73%)
HSVhsv(46, 46%, 95%)
CMYKcmyk(0%, 10.7%, 46.3%, 5.1%)
CIE-LABlab(86.80, -2.13, 45.51)
CIE-LCHlch(86.80, 45.56, 92.68°)
OKLaboklab(88.56% -0.006 0.1097)
OKLCHoklch(88.56% 0.11 93.1)
XYZxyz(65.2051, 69.6033, 31.1149)
Luminance0.6960 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D882 #829CF2
analogous
#F2A082 #F2D882 #D4F282
triadic
#F2D882 #82F2D8 #D882F2
tetradic
#F2D882 #82F2A0 #829CF2 #F282D4
square
#F2D882 #82F2A0 #829CF2 #F282D4
split-complementary
#F2D882 #82D4F2 #A082F2
monochromatic
#E2B318 #ECC74B #F2D882 #F8E9B9 #FCF6E3

Accessibility & contrast

On white

1.41
#F2D882 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.92
#F2D882 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D882
14.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D882#FFFFFF#000000##000000
##F2D8821.001.4114.9214.92
#FFFFFF1.411.0021.0021.00
#00000014.9221.001.001.00
##00000014.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D57B
Deuteranopia (green-blind)
#EFDD85
Tritanopia (blue-blind)
#FFCCC3
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #f2d882;
/* rgb */ color: rgb(242, 216, 130);
/* oklch */ color: oklch(88.6% 0.110 93.1);
Tailwind
colors: {
  custom: {
    50: '#f8e3a8',
    500: '#f2d882',
    950: '#000000',
  },
}
SCSS
$custom: #f2d882;
$custom-light: #f8e3a8;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d882",
  "rgb": {
    "r": 242,
    "g": 216,
    "b": 130
  },
  "hsl": {
    "h": 46.071,
    "s": 81.159,
    "l": 72.941
  },
  "oklch": {
    "l": 0.88555,
    "c": 0.10987,
    "h": 93.1
  },
  "luminance": 0.69601
}

Semantic roles & 50–950 ramp

primary
#F2D882
secondary
#4B69CD
accent
#3ADE08
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#171510
muted
#858480

Preview Lab

Preview with #F2D882

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

Preview Lab → · Contrast checker → · Palette generator →

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