#F2EE78#F2EE78

#F2EE78 is a very light, vivid yellow. Relative luminance 0.814; OKLCH L 92.9% C 0.140 H 107.1°. Best body text is #000000 at 17.28:1 contrast (WCAG AA passes).

Color values

HEX#F2EE78
RGBrgb(242, 238, 120)
HSLhsl(58, 82%, 71%)
HSVhsv(58, 50%, 95%)
CMYKcmyk(0%, 1.7%, 50.4%, 5.1%)
CIE-LABlab(92.30, -14.03, 56.94)
CIE-LCHlch(92.30, 58.64, 103.85°)
OKLaboklab(92.88% -0.0412 0.1342)
OKLCHoklch(92.88% 0.14 107.1)
XYZxyz(70.5844, 81.3843, 29.7562)
Luminance0.8138 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EE78 #787CF2
analogous
#F2B178 #F2EE78 #B9F278
triadic
#F2EE78 #78F2EE #EE78F2
tetradic
#F2EE78 #78F2B1 #787CF2 #F278B9
square
#F2EE78 #78F2B1 #787CF2 #F278B9
split-complementary
#F2EE78 #78B9F2 #B178F2
monochromatic
#DBD415 #EDE740 #F2EE78 #F7F5B0 #FCFBE3

Accessibility & contrast

On white

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

On black

17.28
#F2EE78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EE78
17.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EE78#FFFFFF#000000##000000
##F2EE781.001.2217.2817.28
#FFFFFF1.221.0021.0021.00
#00000017.2821.001.001.00
##00000017.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE66D
Deuteranopia (green-blind)
#FFEB7E
Tritanopia (blue-blind)
#FFE1D3
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f2ee78;
/* rgb */ color: rgb(242, 238, 120);
/* oklch */ color: oklch(92.9% 0.140 107.1);
Tailwind
colors: {
  custom: {
    50: '#f9f3a2',
    500: '#f2ee78',
    950: '#000000',
  },
}
SCSS
$custom: #f2ee78;
$custom-light: #f9f3a2;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ee78",
  "rgb": {
    "r": 242,
    "g": 238,
    "b": 120
  },
  "hsl": {
    "h": 58.033,
    "s": 82.432,
    "l": 70.98
  },
  "oklch": {
    "l": 0.92877,
    "c": 0.14035,
    "h": 107.1
  },
  "luminance": 0.81382
}

Semantic roles & 50–950 ramp

primary
#F2EE78
secondary
#4246CC
accent
#0EDF07
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F2EE78

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

Preview Lab → · Contrast checker → · Palette generator →

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