#F2ED68#F2ED68

#F2ED68 is a very light, vivid yellow. Relative luminance 0.804; OKLCH L 92.5% C 0.154 H 107.0°. Best body text is #000000 at 17.09:1 contrast (WCAG AA passes).

Color values

HEX#F2ED68
RGBrgb(242, 237, 104)
HSLhsl(58, 84%, 68%)
HSVhsv(58, 57%, 95%)
CMYKcmyk(0%, 2.1%, 57%, 5.1%)
CIE-LABlab(91.89, -14.78, 63.60)
CIE-LCHlch(91.89, 65.29, 103.08°)
OKLaboklab(92.49% -0.045 0.1468)
OKLCHoklch(92.49% 0.154 107)
XYZxyz(69.4029, 80.4472, 24.9660)
Luminance0.8044 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2ED68 #686DF2
analogous
#F2A868 #F2ED68 #B2F268
triadic
#F2ED68 #68F2ED #ED68F2
tetradic
#F2ED68 #68F2A8 #686DF2 #F268B2
square
#F2ED68 #68F2A8 #686DF2 #F268B2
split-complementary
#F2ED68 #68B2F2 #A868F2
monochromatic
#CEC712 #EDE630 #F2ED68 #F7F4A0 #FCFAD9

Accessibility & contrast

On white

1.23
#F2ED68 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.09
#F2ED68 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2ED68
17.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2ED68#FFFFFF#000000##000000
##F2ED681.001.2317.0917.09
#FFFFFF1.231.0021.0021.00
#00000017.0921.001.001.00
##00000017.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE55A
Deuteranopia (green-blind)
#FFEA6F
Tritanopia (blue-blind)
#FFDFD0
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f2ed68;
/* rgb */ color: rgb(242, 237, 104);
/* oklch */ color: oklch(92.5% 0.154 107.0);
Tailwind
colors: {
  custom: {
    50: '#f9f298',
    500: '#f2ed68',
    950: '#000000',
  },
}
SCSS
$custom: #f2ed68;
$custom-light: #f9f298;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ed68",
  "rgb": {
    "r": 242,
    "g": 237,
    "b": 104
  },
  "hsl": {
    "h": 57.826,
    "s": 84.146,
    "l": 67.843
  },
  "oklch": {
    "l": 0.92494,
    "c": 0.15355,
    "h": 107
  },
  "luminance": 0.80445
}

Semantic roles & 50–950 ramp

primary
#F2ED68
secondary
#343ACA
accent
#0DE105
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #F2ED68

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

Preview Lab → · Contrast checker → · Palette generator →

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