#F2F06D#F2F06D

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

Color values

HEX#F2F06D
RGBrgb(242, 240, 109)
HSLhsl(59, 84%, 69%)
HSVhsv(59, 55%, 95%)
CMYKcmyk(0%, 0.8%, 55%, 5.1%)
CIE-LABlab(92.71, -15.88, 62.35)
CIE-LCHlch(92.71, 64.34, 104.29°)
OKLaboklab(93.17% -0.0476 0.1447)
OKLCHoklch(93.17% 0.152 108.2)
XYZxyz(70.5403, 82.3035, 26.6353)
Luminance0.8230 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F06D #6D6FF2
analogous
#F2AE6D #F2F06D #B2F26D
triadic
#F2F06D #6DF2F0 #F06DF2
tetradic
#F2F06D #6DF2AE #6D6FF2 #F26DB2
square
#F2F06D #6DF2AE #6D6FF2 #F26DB2
split-complementary
#F2F06D #6DB2F2 #AE6DF2
monochromatic
#D2CF13 #EDEA35 #F2F06D #F7F6A5 #FCFCDD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2F06D#FFFFFF#000000##000000
##F2F06D1.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)
#FFE75F
Deuteranopia (green-blind)
#FFEC74
Tritanopia (blue-blind)
#FFE2D3
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f2f06d;
/* rgb */ color: rgb(242, 240, 109);
/* oklch */ color: oklch(93.2% 0.152 108.2);
Tailwind
colors: {
  custom: {
    50: '#f9f49b',
    500: '#f2f06d',
    950: '#000000',
  },
}
SCSS
$custom: #f2f06d;
$custom-light: #f9f49b;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f06d",
  "rgb": {
    "r": 242,
    "g": 240,
    "b": 109
  },
  "hsl": {
    "h": 59.098,
    "s": 83.648,
    "l": 68.824
  },
  "oklch": {
    "l": 0.93165,
    "c": 0.15234,
    "h": 108.2
  },
  "luminance": 0.82302
}

Semantic roles & 50–950 ramp

primary
#F2F06D
secondary
#383ACB
accent
#09E005
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F2F06D

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

Preview Lab → · Contrast checker → · Palette generator →

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