#F2D868#F2D868

#F2D868 is a very light, vivid yellow. Relative luminance 0.690; OKLCH L 88.2% C 0.135 H 96.4°. Best body text is #000000 at 14.80:1 contrast (WCAG AA passes).

Color values

HEX#F2D868
RGBrgb(242, 216, 104)
HSLhsl(49, 84%, 68%)
HSVhsv(49, 57%, 95%)
CMYKcmyk(0%, 10.7%, 57%, 5.1%)
CIE-LABlab(86.50, -4.31, 57.51)
CIE-LCHlch(86.50, 57.68, 94.28°)
OKLaboklab(88.22% -0.015 0.1338)
OKLCHoklch(88.22% 0.135 96.4)
XYZxyz(63.6750, 68.9913, 23.0567)
Luminance0.6899 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D868 #6882F2
analogous
#F29368 #F2D868 #C7F268
triadic
#F2D868 #68F2D8 #D868F2
tetradic
#F2D868 #68F293 #6882F2 #F268C7
square
#F2D868 #68F293 #6882F2 #F268C7
split-complementary
#F2D868 #68C7F2 #9368F2
monochromatic
#CEAA12 #EDC930 #F2D868 #F7E7A0 #FCF5D9

Accessibility & contrast

On white

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

On black

14.80
#F2D868 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D868
14.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D868#FFFFFF#000000##000000
##F2D8681.001.4214.8014.80
#FFFFFF1.421.0021.0021.00
#00000014.8021.001.001.00
##00000014.8021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2d868;
/* rgb */ color: rgb(242, 216, 104);
/* oklch */ color: oklch(88.2% 0.135 96.4);
Tailwind
colors: {
  custom: {
    50: '#f9e396',
    500: '#f2d868',
    950: '#000000',
  },
}
SCSS
$custom: #f2d868;
$custom-light: #f9e396;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d868",
  "rgb": {
    "r": 242,
    "g": 216,
    "b": 104
  },
  "hsl": {
    "h": 48.696,
    "s": 84.146,
    "l": 67.843
  },
  "oklch": {
    "l": 0.88218,
    "c": 0.13461,
    "h": 96.4
  },
  "luminance": 0.68988
}

Semantic roles & 50–950 ramp

primary
#F2D868
secondary
#3450CA
accent
#2EE105
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F2D868

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

Preview Lab → · Contrast checker → · Palette generator →

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