#F2EF78#F2EF78

#F2EF78 is a very light, vivid yellow. Relative luminance 0.820; OKLCH L 93.1% C 0.141 H 107.6°. Best body text is #000000 at 17.39:1 contrast (WCAG AA passes).

Color values

HEX#F2EF78
RGBrgb(242, 239, 120)
HSLhsl(59, 82%, 71%)
HSVhsv(59, 50%, 95%)
CMYKcmyk(0%, 1.2%, 50.4%, 5.1%)
CIE-LABlab(92.56, -14.52, 57.24)
CIE-LCHlch(92.56, 59.06, 104.24°)
OKLaboklab(93.08% -0.0426 0.1348)
OKLCHoklch(93.08% 0.141 107.6)
XYZxyz(70.8764, 81.9682, 29.8535)
Luminance0.8197 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EF78 #787BF2
analogous
#F2B278 #F2EF78 #B8F278
triadic
#F2EF78 #78F2EF #EF78F2
tetradic
#F2EF78 #78F2B2 #787BF2 #F278B8
square
#F2EF78 #78F2B2 #787BF2 #F278B8
split-complementary
#F2EF78 #78B8F2 #B278F2
monochromatic
#DBD615 #EDE840 #F2EF78 #F7F6B0 #FCFCE3

Accessibility & contrast

On white

1.21
#F2EF78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.39
#F2EF78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EF78
17.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EF78#FFFFFF#000000##000000
##F2EF781.001.2117.3917.39
#FFFFFF1.211.0021.0021.00
#00000017.3921.001.001.00
##00000017.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE76D
Deuteranopia (green-blind)
#FFEC7E
Tritanopia (blue-blind)
#FFE2D4
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f2ef78;
/* rgb */ color: rgb(242, 239, 120);
/* oklch */ color: oklch(93.1% 0.141 107.6);
Tailwind
colors: {
  custom: {
    50: '#f9f4a2',
    500: '#f2ef78',
    950: '#000000',
  },
}
SCSS
$custom: #f2ef78;
$custom-light: #f9f4a2;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ef78",
  "rgb": {
    "r": 242,
    "g": 239,
    "b": 120
  },
  "hsl": {
    "h": 58.525,
    "s": 82.432,
    "l": 70.98
  },
  "oklch": {
    "l": 0.93083,
    "c": 0.1414,
    "h": 107.6
  },
  "luminance": 0.81966
}

Semantic roles & 50–950 ramp

primary
#F2EF78
secondary
#4245CC
accent
#0CDF07
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F2EF78

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

Preview Lab → · Contrast checker → · Palette generator →

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