#F2F06F#F2F06F

#F2F06F is a very light, vivid yellow. Relative luminance 0.823; OKLCH L 93.2% C 0.151 H 108.2°. Best body text is #000000 at 17.47:1 contrast (WCAG AA passes).

Color values

HEX#F2F06F
RGBrgb(242, 240, 111)
HSLhsl(59, 83%, 69%)
HSVhsv(59, 54%, 95%)
CMYKcmyk(0%, 0.8%, 54.1%, 5.1%)
CIE-LABlab(92.73, -15.73, 61.49)
CIE-LCHlch(92.73, 63.47, 104.35°)
OKLaboklab(93.19% -0.047 0.1431)
OKLCHoklch(93.19% 0.151 108.2)
XYZxyz(70.6492, 82.3470, 27.2088)
Luminance0.8235 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F06F #6F71F2
analogous
#F2AF6F #F2F06F #B3F26F
triadic
#F2F06F #6FF2F0 #F06FF2
tetradic
#F2F06F #6FF2AF #6F71F2 #F26FB3
square
#F2F06F #6FF2AF #6F71F2 #F26FB3
split-complementary
#F2F06F #6FB3F2 #AF6FF2
monochromatic
#D4D113 #EDEA37 #F2F06F #F7F6A7 #FCFCDF

Accessibility & contrast

On white

1.20
#F2F06F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.47
#F2F06F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F06F
17.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F06F#FFFFFF#000000##000000
##F2F06F1.001.2017.4717.47
#FFFFFF1.201.0021.0021.00
#00000017.4721.001.001.00
##00000017.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE762
Deuteranopia (green-blind)
#FFEC76
Tritanopia (blue-blind)
#FFE3D4
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f2f06f;
/* rgb */ color: rgb(242, 240, 111);
/* oklch */ color: oklch(93.2% 0.151 108.2);
Tailwind
colors: {
  custom: {
    50: '#f9f49c',
    500: '#f2f06f',
    950: '#000000',
  },
}
SCSS
$custom: #f2f06f;
$custom-light: #f9f49c;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f06f",
  "rgb": {
    "r": 242,
    "g": 240,
    "b": 111
  },
  "hsl": {
    "h": 59.084,
    "s": 83.439,
    "l": 69.216
  },
  "oklch": {
    "l": 0.93186,
    "c": 0.15061,
    "h": 108.2
  },
  "luminance": 0.82345
}

Semantic roles & 50–950 ramp

primary
#F2F06F
secondary
#3A3CCB
accent
#09E006
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F2F06F

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

Preview Lab → · Contrast checker → · Palette generator →

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