#F2F678#F2F678

#F2F678 is a very light, vivid yellow. Relative luminance 0.861; OKLCH L 94.5% C 0.149 H 110.6°. Best body text is #000000 at 18.23:1 contrast (WCAG AA passes).

Color values

HEX#F2F678
RGBrgb(242, 246, 120)
HSLhsl(62, 88%, 72%)
HSVhsv(62, 51%, 96%)
CMYKcmyk(1.6%, 0%, 51.2%, 3.5%)
CIE-LABlab(94.37, -17.93, 59.37)
CIE-LCHlch(94.37, 62.02, 106.81°)
OKLaboklab(94.53% -0.0523 0.1394)
OKLCHoklch(94.53% 0.149 110.6)
XYZxyz(72.9655, 86.1464, 30.5499)
Luminance0.8615 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F678 #7C78F6
analogous
#F6BB78 #F2F678 #B3F678
triadic
#F2F678 #78F2F6 #F678F2
tetradic
#F2F678 #78F6BB #7C78F6 #F678B3
square
#F2F678 #78F6BB #7C78F6 #F678B3
split-complementary
#F2F678 #78B3F6 #BB78F6
monochromatic
#DEE40F #ECF23F #F2F678 #F8FAB1 #FCFDE2

Accessibility & contrast

On white

1.15
#F2F678 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.23
#F2F678 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F678
18.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F678#FFFFFF#000000##000000
##F2F6781.001.1518.2318.23
#FFFFFF1.151.0021.0021.00
#00000018.2321.001.001.00
##00000018.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED6C
Deuteranopia (green-blind)
#FFF17F
Tritanopia (blue-blind)
#FFE9DA
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f2f678;
/* rgb */ color: rgb(242, 246, 120);
/* oklch */ color: oklch(94.5% 0.149 110.6);
Tailwind
colors: {
  custom: {
    50: '#f9f9a2',
    500: '#f2f678',
    950: '#000000',
  },
}
SCSS
$custom: #f2f678;
$custom-light: #f9f9a2;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f678",
  "rgb": {
    "r": 242,
    "g": 246,
    "b": 120
  },
  "hsl": {
    "h": 61.905,
    "s": 87.5,
    "l": 71.765
  },
  "oklch": {
    "l": 0.94528,
    "c": 0.14893,
    "h": 110.6
  },
  "luminance": 0.86145
}

Semantic roles & 50–950 ramp

primary
#F2F678
secondary
#4541D1
accent
#01E409
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F2F678

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

Preview Lab → · Contrast checker → · Palette generator →

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