#F2D784#F2D784

#F2D784 is a very light, moderate yellow. Relative luminance 0.691; OKLCH L 88.4% C 0.107 H 92.0°. Best body text is #000000 at 14.83:1 contrast (WCAG AA passes).

Color values

HEX#F2D784
RGBrgb(242, 215, 132)
HSLhsl(45, 81%, 73%)
HSVhsv(45, 45%, 95%)
CMYKcmyk(0%, 11.2%, 45.5%, 5.1%)
CIE-LABlab(86.58, -1.43, 44.24)
CIE-LCHlch(86.58, 44.26, 91.85°)
OKLaboklab(88.39% -0.0037 0.107)
OKLCHoklch(88.39% 0.107 92)
XYZxyz(65.0852, 69.1467, 31.7436)
Luminance0.6914 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D784 #849FF2
analogous
#F2A084 #F2D784 #D6F284
triadic
#F2D784 #84F2D7 #D784F2
tetradic
#F2D784 #84F2A0 #849FF2 #F284D6
square
#F2D784 #84F2A0 #849FF2 #F284D6
split-complementary
#F2D784 #84D6F2 #A084F2
monochromatic
#E4B218 #ECC54D #F2D784 #F8E9BB #FCF6E3

Accessibility & contrast

On white

1.42
#F2D784 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.83
#F2D784 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D784
14.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D784#FFFFFF#000000##000000
##F2D7841.001.4214.8314.83
#FFFFFF1.421.0021.0021.00
#00000014.8321.001.001.00
##00000014.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D47D
Deuteranopia (green-blind)
#EEDC87
Tritanopia (blue-blind)
#FFCBC3
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #f2d784;
/* rgb */ color: rgb(242, 215, 132);
/* oklch */ color: oklch(88.4% 0.107 92.0);
Tailwind
colors: {
  custom: {
    50: '#f8e3a9',
    500: '#f2d784',
    950: '#000000',
  },
}
SCSS
$custom: #f2d784;
$custom-light: #f8e3a9;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d784",
  "rgb": {
    "r": 242,
    "g": 215,
    "b": 132
  },
  "hsl": {
    "h": 45.273,
    "s": 80.882,
    "l": 73.333
  },
  "oklch": {
    "l": 0.88386,
    "c": 0.10705,
    "h": 92
  },
  "luminance": 0.69144
}

Semantic roles & 50–950 ramp

primary
#F2D784
secondary
#4D6CCE
accent
#3DDD08
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#171510
muted
#858481

Preview Lab

Preview with #F2D784

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

Preview Lab → · Contrast checker → · Palette generator →

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