#F2D866#F2D866

#F2D866 is a very light, vivid yellow. Relative luminance 0.689; OKLCH L 88.2% C 0.136 H 96.6°. Best body text is #000000 at 14.79:1 contrast (WCAG AA passes).

Color values

HEX#F2D866
RGBrgb(242, 216, 102)
HSLhsl(49, 84%, 67%)
HSVhsv(49, 58%, 95%)
CMYKcmyk(0%, 10.7%, 57.9%, 5.1%)
CIE-LABlab(86.48, -4.45, 58.40)
CIE-LCHlch(86.48, 58.57, 94.36°)
OKLaboklab(88.2% -0.0157 0.1354)
OKLCHoklch(88.2% 0.136 96.6)
XYZxyz(63.5746, 68.9511, 22.5280)
Luminance0.6895 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D866 #6680F2
analogous
#F29266 #F2D866 #C6F266
triadic
#F2D866 #66F2D8 #D866F2
tetradic
#F2D866 #66F292 #6680F2 #F266C6
square
#F2D866 #66F292 #6680F2 #F266C6
split-complementary
#F2D866 #66C6F2 #9266F2
monochromatic
#CCAA11 #EDCA2E #F2D866 #F7E69E #FCF5D7

Accessibility & contrast

On white

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

On black

14.79
#F2D866 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D866
14.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D866#FFFFFF#000000##000000
##F2D8661.001.4214.7914.79
#FFFFFF1.421.0021.0021.00
#00000014.7921.001.001.00
##00000014.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD35A
Deuteranopia (green-blind)
#F2DC6B
Tritanopia (blue-blind)
#FFCABF
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #f2d866;
/* rgb */ color: rgb(242, 216, 102);
/* oklch */ color: oklch(88.2% 0.136 96.6);
Tailwind
colors: {
  custom: {
    50: '#f9e395',
    500: '#f2d866',
    950: '#000000',
  },
}
SCSS
$custom: #f2d866;
$custom-light: #f9e395;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d866",
  "rgb": {
    "r": 242,
    "g": 216,
    "b": 102
  },
  "hsl": {
    "h": 48.857,
    "s": 84.337,
    "l": 67.451
  },
  "oklch": {
    "l": 0.88196,
    "c": 0.13635,
    "h": 96.6
  },
  "luminance": 0.68948
}

Semantic roles & 50–950 ramp

primary
#F2D866
secondary
#344FC9
accent
#2EE105
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150D
muted
#86847F

Preview Lab

Preview with #F2D866

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

Preview Lab → · Contrast checker → · Palette generator →

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