#F2EA68#F2EA68

#F2EA68 is a very light, vivid yellow. Relative luminance 0.787; OKLCH L 91.9% C 0.151 H 105.7°. Best body text is #000000 at 16.74:1 contrast (WCAG AA passes).

Color values

HEX#F2EA68
RGBrgb(242, 234, 104)
HSLhsl(57, 84%, 68%)
HSVhsv(57, 57%, 95%)
CMYKcmyk(0%, 3.3%, 57%, 5.1%)
CIE-LABlab(91.11, -13.30, 62.73)
CIE-LCHlch(91.11, 64.13, 101.97°)
OKLaboklab(91.88% -0.0408 0.145)
OKLCHoklch(91.88% 0.151 105.7)
XYZxyz(68.5416, 78.7246, 24.6789)
Luminance0.7872 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EA68 #6870F2
analogous
#F2A568 #F2EA68 #B5F268
triadic
#F2EA68 #68F2EA #EA68F2
tetradic
#F2EA68 #68F2A5 #6870F2 #F268B5
square
#F2EA68 #68F2A5 #6870F2 #F268B5
split-complementary
#F2EA68 #68B5F2 #A568F2
monochromatic
#CEC312 #EDE230 #F2EA68 #F7F2A0 #FCFAD9

Accessibility & contrast

On white

1.25
#F2EA68 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.74
#F2EA68 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EA68
16.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EA68#FFFFFF#000000##000000
##F2EA681.001.2516.7416.74
#FFFFFF1.251.0021.0021.00
#00000016.7421.001.001.00
##00000016.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE25A
Deuteranopia (green-blind)
#FFE86F
Tritanopia (blue-blind)
#FFDCCE
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f2ea68;
/* rgb */ color: rgb(242, 234, 104);
/* oklch */ color: oklch(91.9% 0.151 105.7);
Tailwind
colors: {
  custom: {
    50: '#f9f097',
    500: '#f2ea68',
    950: '#000000',
  },
}
SCSS
$custom: #f2ea68;
$custom-light: #f9f097;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ea68",
  "rgb": {
    "r": 242,
    "g": 234,
    "b": 104
  },
  "hsl": {
    "h": 56.522,
    "s": 84.146,
    "l": 67.843
  },
  "oklch": {
    "l": 0.91876,
    "c": 0.15059,
    "h": 105.7
  },
  "luminance": 0.78722
}

Semantic roles & 50–950 ramp

primary
#F2EA68
secondary
#343DCA
accent
#12E105
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #F2EA68

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

Preview Lab → · Contrast checker → · Palette generator →

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