#F2F679#F2F679

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

Color values

HEX#F2F679
RGBrgb(242, 246, 121)
HSLhsl(62, 87%, 72%)
HSVhsv(62, 51%, 96%)
CMYKcmyk(1.6%, 0%, 50.8%, 3.5%)
CIE-LABlab(94.39, -17.85, 58.93)
CIE-LCHlch(94.39, 61.57, 106.85°)
OKLaboklab(94.54% -0.052 0.1386)
OKLCHoklch(94.54% 0.148 110.6)
XYZxyz(73.0265, 86.1708, 30.8712)
Luminance0.8617 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F679 #7D79F6
analogous
#F6BC79 #F2F679 #B4F679
triadic
#F2F679 #79F2F6 #F679F2
tetradic
#F2F679 #79F6BC #7D79F6 #F679B4
square
#F2F679 #79F6BC #7D79F6 #F679B4
split-complementary
#F2F679 #79B4F6 #BC79F6
monochromatic
#DEE50F #ECF240 #F2F679 #F8FAB2 #FCFDE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2F679#FFFFFF#000000##000000
##F2F6791.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)
#FFED6D
Deuteranopia (green-blind)
#FFF180
Tritanopia (blue-blind)
#FFE9DA
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f2f679;
/* rgb */ color: rgb(242, 246, 121);
/* oklch */ color: oklch(94.5% 0.148 110.6);
Tailwind
colors: {
  custom: {
    50: '#f9f9a3',
    500: '#f2f679',
    950: '#000000',
  },
}
SCSS
$custom: #f2f679;
$custom-light: #f9f9a3;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f679",
  "rgb": {
    "r": 242,
    "g": 246,
    "b": 121
  },
  "hsl": {
    "h": 61.92,
    "s": 87.413,
    "l": 71.961
  },
  "oklch": {
    "l": 0.9454,
    "c": 0.14801,
    "h": 110.6
  },
  "luminance": 0.86169
}

Semantic roles & 50–950 ramp

primary
#F2F679
secondary
#4642D1
accent
#02E409
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F2F679

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

Preview Lab → · Contrast checker → · Palette generator →

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