#F2F06C#F2F06C

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

Color values

HEX#F2F06C
RGBrgb(242, 240, 108)
HSLhsl(59, 84%, 69%)
HSVhsv(59, 55%, 95%)
CMYKcmyk(0%, 0.8%, 55.4%, 5.1%)
CIE-LABlab(92.70, -15.95, 62.77)
CIE-LCHlch(92.70, 64.77, 104.26°)
OKLaboklab(93.15% -0.0479 0.1455)
OKLCHoklch(93.15% 0.153 108.2)
XYZxyz(70.4868, 82.2821, 26.3534)
Luminance0.8228 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F06C #6C6EF2
analogous
#F2AD6C #F2F06C #B1F26C
triadic
#F2F06C #6CF2F0 #F06CF2
tetradic
#F2F06C #6CF2AD #6C6EF2 #F26CB1
square
#F2F06C #6CF2AD #6C6EF2 #F26CB1
split-complementary
#F2F06C #6CB1F2 #AD6CF2
monochromatic
#D1CE12 #EDEA34 #F2F06C #F7F6A4 #FCFBDC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2F06C#FFFFFF#000000##000000
##F2F06C1.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)
#FFE75E
Deuteranopia (green-blind)
#FFEC73
Tritanopia (blue-blind)
#FFE2D3
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f2f06c;
/* rgb */ color: rgb(242, 240, 108);
/* oklch */ color: oklch(93.2% 0.153 108.2);
Tailwind
colors: {
  custom: {
    50: '#f9f49a',
    500: '#f2f06c',
    950: '#000000',
  },
}
SCSS
$custom: #f2f06c;
$custom-light: #f9f49a;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f06c",
  "rgb": {
    "r": 242,
    "g": 240,
    "b": 108
  },
  "hsl": {
    "h": 59.104,
    "s": 83.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.93154,
    "c": 0.1532,
    "h": 108.2
  },
  "luminance": 0.8228
}

Semantic roles & 50–950 ramp

primary
#F2F06C
secondary
#3739CB
accent
#09E005
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F2F06C

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

Preview Lab → · Contrast checker → · Palette generator →

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