#F2D368#F2D368

#F2D368 is a very light, vivid yellow. Relative luminance 0.665; OKLCH L 87.2% C 0.131 H 93.4°. Best body text is #000000 at 14.29:1 contrast (WCAG AA passes).

Color values

HEX#F2D368
RGBrgb(242, 211, 104)
HSLhsl(47, 84%, 68%)
HSVhsv(47, 57%, 95%)
CMYKcmyk(0%, 12.8%, 57%, 5.1%)
CIE-LABlab(85.23, -1.76, 56.06)
CIE-LCHlch(85.23, 56.09, 91.80°)
OKLaboklab(87.22% -0.0077 0.1306)
OKLCHoklch(87.22% 0.131 93.4)
XYZxyz(62.4135, 66.4683, 22.6361)
Luminance0.6646 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D368 #6887F2
analogous
#F28E68 #F2D368 #CCF268
triadic
#F2D368 #68F2D3 #D368F2
tetradic
#F2D368 #68F28E #6887F2 #F268CC
square
#F2D368 #68F28E #6887F2 #F268CC
split-complementary
#F2D368 #68CCF2 #8E68F2
monochromatic
#CEA412 #EDC330 #F2D368 #F7E3A0 #FCF4D9

Accessibility & contrast

On white

1.47
#F2D368 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.29
#F2D368 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D368
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D368#FFFFFF#000000##000000
##F2D3681.001.4714.2914.29
#FFFFFF1.471.0021.0021.00
#00000014.2921.001.001.00
##00000014.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D05E
Deuteranopia (green-blind)
#EED96D
Tritanopia (blue-blind)
#FFC5BB
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #f2d368;
/* rgb */ color: rgb(242, 211, 104);
/* oklch */ color: oklch(87.2% 0.131 93.4);
Tailwind
colors: {
  custom: {
    50: '#f9e096',
    500: '#f2d368',
    950: '#000000',
  },
}
SCSS
$custom: #f2d368;
$custom-light: #f9e096;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d368",
  "rgb": {
    "r": 242,
    "g": 211,
    "b": 104
  },
  "hsl": {
    "h": 46.522,
    "s": 84.146,
    "l": 67.843
  },
  "oklch": {
    "l": 0.87218,
    "c": 0.13087,
    "h": 93.4
  },
  "luminance": 0.66465
}

Semantic roles & 50–950 ramp

primary
#F2D368
secondary
#3456CA
accent
#36E105
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F2D368

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

Preview Lab → · Contrast checker → · Palette generator →

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