#F2DF84#F2DF84

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

Color values

HEX#F2DF84
RGBrgb(242, 223, 132)
HSLhsl(50, 81%, 73%)
HSVhsv(50, 45%, 95%)
CMYKcmyk(0%, 7.9%, 45.5%, 5.1%)
CIE-LABlab(88.60, -5.49, 46.77)
CIE-LCHlch(88.60, 47.09, 96.70°)
OKLaboklab(89.99% -0.0155 0.1127)
OKLCHoklch(89.99% 0.114 97.8)
XYZxyz(67.1723, 73.3209, 32.4393)
Luminance0.7332 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DF84 #8497F2
analogous
#F2A884 #F2DF84 #CEF284
triadic
#F2DF84 #84F2DF #DF84F2
tetradic
#F2DF84 #84F2A8 #8497F2 #F284CE
square
#F2DF84 #84F2A8 #8497F2 #F284CE
split-complementary
#F2DF84 #84CEF2 #A884F2
monochromatic
#E4C018 #ECD14D #F2DF84 #F8EDBB #FCF8E3

Accessibility & contrast

On white

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

On black

15.66
#F2DF84 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DF84
15.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DF84#FFFFFF#000000##000000
##F2DF841.001.3415.6615.66
#FFFFFF1.341.0021.0021.00
#00000015.6621.001.001.00
##00000015.6621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2df84;
/* rgb */ color: rgb(242, 223, 132);
/* oklch */ color: oklch(90.0% 0.114 97.8);
Tailwind
colors: {
  custom: {
    50: '#f8e8a9',
    500: '#f2df84',
    950: '#000000',
  },
}
SCSS
$custom: #f2df84;
$custom-light: #f8e8a9;
$custom-dark: #000000;
JSON
{
  "hex": "#f2df84",
  "rgb": {
    "r": 242,
    "g": 223,
    "b": 132
  },
  "hsl": {
    "h": 49.636,
    "s": 80.882,
    "l": 73.333
  },
  "oklch": {
    "l": 0.89985,
    "c": 0.11372,
    "h": 97.8
  },
  "luminance": 0.73319
}

Semantic roles & 50–950 ramp

primary
#F2DF84
secondary
#4D63CE
accent
#2DDD08
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#171610
muted
#858481

Preview Lab

Preview with #F2DF84

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

Preview Lab → · Contrast checker → · Palette generator →

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