#F2EA78#F2EA78

#F2EA78 is a very light, vivid yellow. Relative luminance 0.791; OKLCH L 92.1% C 0.136 H 105.1°. Best body text is #000000 at 16.82:1 contrast (WCAG AA passes).

Color values

HEX#F2EA78
RGBrgb(242, 234, 120)
HSLhsl(56, 82%, 71%)
HSVhsv(56, 50%, 95%)
CMYKcmyk(0%, 3.3%, 50.4%, 5.1%)
CIE-LABlab(91.27, -12.06, 55.72)
CIE-LCHlch(91.27, 57.01, 102.22°)
OKLaboklab(92.06% -0.0356 0.1315)
OKLCHoklch(92.06% 0.136 105.1)
XYZxyz(69.4328, 79.0810, 29.3723)
Luminance0.7908 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EA78 #7880F2
analogous
#F2AD78 #F2EA78 #BDF278
triadic
#F2EA78 #78F2EA #EA78F2
tetradic
#F2EA78 #78F2AD #7880F2 #F278BD
square
#F2EA78 #78F2AD #7880F2 #F278BD
split-complementary
#F2EA78 #78BDF2 #AD78F2
monochromatic
#DBCE15 #EDE140 #F2EA78 #F7F3B0 #FCFBE3

Accessibility & contrast

On white

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

On black

16.82
#F2EA78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EA78
16.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EA78#FFFFFF#000000##000000
##F2EA781.001.2516.8216.82
#FFFFFF1.251.0021.0021.00
#00000016.8221.001.001.00
##00000016.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE36E
Deuteranopia (green-blind)
#FEE97D
Tritanopia (blue-blind)
#FFDDD0
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #f2ea78;
/* rgb */ color: rgb(242, 234, 120);
/* oklch */ color: oklch(92.1% 0.136 105.1);
Tailwind
colors: {
  custom: {
    50: '#f8f0a2',
    500: '#f2ea78',
    950: '#000000',
  },
}
SCSS
$custom: #f2ea78;
$custom-light: #f8f0a2;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ea78",
  "rgb": {
    "r": 242,
    "g": 234,
    "b": 120
  },
  "hsl": {
    "h": 56.066,
    "s": 82.432,
    "l": 70.98
  },
  "oklch": {
    "l": 0.92057,
    "c": 0.13623,
    "h": 105.1
  },
  "luminance": 0.79079
}

Semantic roles & 50–950 ramp

primary
#F2EA78
secondary
#424BCC
accent
#15DF07
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #F2EA78

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

Preview Lab → · Contrast checker → · Palette generator →

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