#F2F673#F2F673

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

Color values

HEX#F2F673
RGBrgb(242, 246, 115)
HSLhsl(62, 88%, 71%)
HSVhsv(62, 53%, 96%)
CMYKcmyk(1.6%, 0%, 53.3%, 3.5%)
CIE-LABlab(94.32, -18.33, 61.54)
CIE-LCHlch(94.32, 64.22, 106.59°)
OKLaboklab(94.47% -0.054 0.1436)
OKLCHoklch(94.47% 0.153 110.6)
XYZxyz(72.6700, 86.0282, 28.9933)
Luminance0.8603 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F673 #7773F6
analogous
#F6B873 #F2F673 #B0F673
triadic
#F2F673 #73F2F6 #F673F2
tetradic
#F2F673 #73F6B8 #7773F6 #F673B0
square
#F2F673 #73F6B8 #7773F6 #F673B0
split-complementary
#F2F673 #73B0F6 #B873F6
monochromatic
#DAE00E #EDF239 #F2F673 #F7FAAD #FCFDE2

Accessibility & contrast

On white

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

On black

18.21
#F2F673 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F673
18.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F673#FFFFFF#000000##000000
##F2F6731.001.1518.2118.21
#FFFFFF1.151.0021.0021.00
#00000018.2121.001.001.00
##00000018.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED66
Deuteranopia (green-blind)
#FFF17A
Tritanopia (blue-blind)
#FFE9D9
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f2f673;
/* rgb */ color: rgb(242, 246, 115);
/* oklch */ color: oklch(94.5% 0.153 110.6);
Tailwind
colors: {
  custom: {
    50: '#f9f99f',
    500: '#f2f673',
    950: '#000000',
  },
}
SCSS
$custom: #f2f673;
$custom-light: #f9f99f;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f673",
  "rgb": {
    "r": 242,
    "g": 246,
    "b": 115
  },
  "hsl": {
    "h": 61.832,
    "s": 87.919,
    "l": 70.784
  },
  "oklch": {
    "l": 0.94472,
    "c": 0.15344,
    "h": 110.6
  },
  "luminance": 0.86027
}

Semantic roles & 50–950 ramp

primary
#F2F673
secondary
#413DD1
accent
#01E408
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F2F673

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

Preview Lab → · Contrast checker → · Palette generator →

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