#F2D268#F2D268

#F2D268 is a very light, vivid yellow. Relative luminance 0.660; OKLCH L 87.0% C 0.130 H 92.7°. Best body text is #000000 at 14.19:1 contrast (WCAG AA passes).

Color values

HEX#F2D268
RGBrgb(242, 210, 104)
HSLhsl(46, 84%, 68%)
HSVhsv(46, 57%, 95%)
CMYKcmyk(0%, 13.2%, 57%, 5.1%)
CIE-LABlab(84.98, -1.25, 55.77)
CIE-LCHlch(84.98, 55.79, 91.29°)
OKLaboklab(87.02% -0.0062 0.13)
OKLCHoklch(87.02% 0.13 92.7)
XYZxyz(62.1658, 65.9730, 22.5536)
Luminance0.6597 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D268 #6888F2
analogous
#F28D68 #F2D268 #CDF268
triadic
#F2D268 #68F2D2 #D268F2
tetradic
#F2D268 #68F28D #6888F2 #F268CD
square
#F2D268 #68F28D #6888F2 #F268CD
split-complementary
#F2D268 #68CDF2 #8D68F2
monochromatic
#CEA212 #EDC130 #F2D268 #F7E3A0 #FCF4D9

Accessibility & contrast

On white

1.48
#F2D268 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.19
#F2D268 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D268
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D268#FFFFFF#000000##000000
##F2D2681.001.4814.1914.19
#FFFFFF1.481.0021.0021.00
#00000014.1921.001.001.00
##00000014.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CF5E
Deuteranopia (green-blind)
#EDD86C
Tritanopia (blue-blind)
#FFC4BA
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #f2d268;
/* rgb */ color: rgb(242, 210, 104);
/* oklch */ color: oklch(87.0% 0.130 92.7);
Tailwind
colors: {
  custom: {
    50: '#f9df96',
    500: '#f2d268',
    950: '#000000',
  },
}
SCSS
$custom: #f2d268;
$custom-light: #f9df96;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d268",
  "rgb": {
    "r": 242,
    "g": 210,
    "b": 104
  },
  "hsl": {
    "h": 46.087,
    "s": 84.146,
    "l": 67.843
  },
  "oklch": {
    "l": 0.87019,
    "c": 0.13017,
    "h": 92.7
  },
  "luminance": 0.6597
}

Semantic roles & 50–950 ramp

primary
#F2D268
secondary
#3457CA
accent
#38E105
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F2D268

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

Preview Lab → · Contrast checker → · Palette generator →

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