#F2F06E#F2F06E

#F2F06E 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.46:1 contrast (WCAG AA passes).

Color values

HEX#F2F06E
RGBrgb(242, 240, 110)
HSLhsl(59, 84%, 69%)
HSVhsv(59, 55%, 95%)
CMYKcmyk(0%, 0.8%, 54.5%, 5.1%)
CIE-LABlab(92.72, -15.80, 61.92)
CIE-LCHlch(92.72, 63.90, 104.32°)
OKLaboklab(93.18% -0.0473 0.1439)
OKLCHoklch(93.18% 0.151 108.2)
XYZxyz(70.5945, 82.3251, 26.9205)
Luminance0.8232 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F06E #6E70F2
analogous
#F2AE6E #F2F06E #B2F26E
triadic
#F2F06E #6EF2F0 #F06EF2
tetradic
#F2F06E #6EF2AE #6E70F2 #F26EB2
square
#F2F06E #6EF2AE #6E70F2 #F26EB2
split-complementary
#F2F06E #6EB2F2 #AE6EF2
monochromatic
#D3D013 #EDEA36 #F2F06E #F7F6A6 #FCFCDE

Accessibility & contrast

On white

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

On black

17.46
#F2F06E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F06E
17.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F06E#FFFFFF#000000##000000
##F2F06E1.001.2017.4617.46
#FFFFFF1.201.0021.0021.00
#00000017.4621.001.001.00
##00000017.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE761
Deuteranopia (green-blind)
#FFEC75
Tritanopia (blue-blind)
#FFE3D3
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f2f06e;
/* rgb */ color: rgb(242, 240, 110);
/* oklch */ color: oklch(93.2% 0.151 108.2);
Tailwind
colors: {
  custom: {
    50: '#f9f49b',
    500: '#f2f06e',
    950: '#000000',
  },
}
SCSS
$custom: #f2f06e;
$custom-light: #f9f49b;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f06e",
  "rgb": {
    "r": 242,
    "g": 240,
    "b": 110
  },
  "hsl": {
    "h": 59.091,
    "s": 83.544,
    "l": 69.02
  },
  "oklch": {
    "l": 0.93175,
    "c": 0.15148,
    "h": 108.2
  },
  "luminance": 0.82323
}

Semantic roles & 50–950 ramp

primary
#F2F06E
secondary
#393BCB
accent
#09E006
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F2F06E

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

Preview Lab → · Contrast checker → · Palette generator →

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