#F2F670#F2F670

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

Color values

HEX#F2F670
RGBrgb(242, 246, 112)
HSLhsl(62, 88%, 70%)
HSVhsv(62, 54%, 96%)
CMYKcmyk(1.6%, 0%, 54.5%, 3.5%)
CIE-LABlab(94.30, -18.56, 62.83)
CIE-LCHlch(94.30, 65.52, 106.46°)
OKLaboklab(94.44% -0.0549 0.1461)
OKLCHoklch(94.44% 0.156 110.6)
XYZxyz(72.5001, 85.9603, 28.0989)
Luminance0.8596 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F670 #7470F6
analogous
#F6B770 #F2F670 #AFF670
triadic
#F2F670 #70F2F6 #F670F2
tetradic
#F2F670 #70F6B7 #7470F6 #F670AF
square
#F2F670 #70F6B7 #7470F6 #F670AF
split-complementary
#F2F670 #70AFF6 #B770F6
monochromatic
#D7DE0E #EDF236 #F2F670 #F7FAAA #FCFDE2

Accessibility & contrast

On white

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

On black

18.19
#F2F670 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F670
18.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F670#FFFFFF#000000##000000
##F2F6701.001.1518.1918.19
#FFFFFF1.151.0021.0021.00
#00000018.1921.001.001.00
##00000018.1921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2f670;
/* rgb */ color: rgb(242, 246, 112);
/* oklch */ color: oklch(94.4% 0.156 110.6);
Tailwind
colors: {
  custom: {
    50: '#f9f99d',
    500: '#f2f670',
    950: '#000000',
  },
}
SCSS
$custom: #f2f670;
$custom-light: #f9f99d;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f670",
  "rgb": {
    "r": 242,
    "g": 246,
    "b": 112
  },
  "hsl": {
    "h": 61.791,
    "s": 88.158,
    "l": 70.196
  },
  "oklch": {
    "l": 0.94439,
    "c": 0.15607,
    "h": 110.6
  },
  "luminance": 0.85959
}

Semantic roles & 50–950 ramp

primary
#F2F670
secondary
#3E3AD0
accent
#01E508
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F2F670

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

Preview Lab → · Contrast checker → · Palette generator →

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