#F2EE68#F2EE68

#F2EE68 is a very light, vivid yellow. Relative luminance 0.810; OKLCH L 92.7% C 0.155 H 107.5°. Best body text is #000000 at 17.21:1 contrast (WCAG AA passes).

Color values

HEX#F2EE68
RGBrgb(242, 238, 104)
HSLhsl(58, 84%, 68%)
HSVhsv(58, 57%, 95%)
CMYKcmyk(0%, 1.7%, 57%, 5.1%)
CIE-LABlab(92.14, -15.27, 63.88)
CIE-LCHlch(92.14, 65.68, 103.44°)
OKLaboklab(92.7% -0.0464 0.1474)
OKLCHoklch(92.7% 0.155 107.5)
XYZxyz(69.6933, 81.0278, 25.0627)
Luminance0.8103 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EE68 #686CF2
analogous
#F2A968 #F2EE68 #B1F268
triadic
#F2EE68 #68F2EE #EE68F2
tetradic
#F2EE68 #68F2A9 #686CF2 #F268B1
square
#F2EE68 #68F2A9 #686CF2 #F268B1
split-complementary
#F2EE68 #68B1F2 #A968F2
monochromatic
#CEC812 #EDE830 #F2EE68 #F7F4A0 #FCFBD9

Accessibility & contrast

On white

1.22
#F2EE68 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.21
#F2EE68 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EE68
17.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EE68#FFFFFF#000000##000000
##F2EE681.001.2217.2117.21
#FFFFFF1.221.0021.0021.00
#00000017.2121.001.001.00
##00000017.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE659
Deuteranopia (green-blind)
#FFEB6F
Tritanopia (blue-blind)
#FFE0D1
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f2ee68;
/* rgb */ color: rgb(242, 238, 104);
/* oklch */ color: oklch(92.7% 0.155 107.5);
Tailwind
colors: {
  custom: {
    50: '#f9f398',
    500: '#f2ee68',
    950: '#000000',
  },
}
SCSS
$custom: #f2ee68;
$custom-light: #f9f398;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ee68",
  "rgb": {
    "r": 242,
    "g": 238,
    "b": 104
  },
  "hsl": {
    "h": 58.261,
    "s": 84.146,
    "l": 67.843
  },
  "oklch": {
    "l": 0.927,
    "c": 0.15455,
    "h": 107.5
  },
  "luminance": 0.81026
}

Semantic roles & 50–950 ramp

primary
#F2EE68
secondary
#3439CA
accent
#0BE105
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F2EE68

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

Preview Lab → · Contrast checker → · Palette generator →

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