#F2F060#F2F060

#F2F060 is a very light, vivid yellow. Relative luminance 0.820; OKLCH L 93.0% C 0.163 H 108.4°. Best body text is #000000 at 17.41:1 contrast (WCAG AA passes).

Color values

HEX#F2F060
RGBrgb(242, 240, 96)
HSLhsl(59, 85%, 66%)
HSVhsv(59, 60%, 95%)
CMYKcmyk(0%, 0.8%, 60.3%, 5.1%)
CIE-LABlab(92.59, -16.78, 67.74)
CIE-LCHlch(92.59, 69.79, 103.91°)
OKLaboklab(93.04% -0.0515 0.1546)
OKLCHoklch(93.04% 0.163 108.4)
XYZxyz(69.8916, 82.0440, 23.2185)
Luminance0.8204 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F060 #6062F2
analogous
#F2A760 #F2F060 #ABF260
triadic
#F2F060 #60F2F0 #F060F2
tetradic
#F2F060 #60F2A7 #6062F2 #F260AB
square
#F2F060 #60F2A7 #6062F2 #F260AB
split-complementary
#F2F060 #60ABF2 #A760F2
monochromatic
#C7C510 #EDEB27 #F2F060 #F7F599 #FBFBD1

Accessibility & contrast

On white

1.21
#F2F060 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.41
#F2F060 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F060
17.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F060#FFFFFF#000000##000000
##F2F0601.001.2117.4117.41
#FFFFFF1.211.0021.0021.00
#00000017.4121.001.001.00
##00000017.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE74F
Deuteranopia (green-blind)
#FFEC69
Tritanopia (blue-blind)
#FFE2D2
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f2f060;
/* rgb */ color: rgb(242, 240, 96);
/* oklch */ color: oklch(93.0% 0.163 108.4);
Tailwind
colors: {
  custom: {
    50: '#f9f493',
    500: '#f2f060',
    950: '#000000',
  },
}
SCSS
$custom: #f2f060;
$custom-light: #f9f493;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f060",
  "rgb": {
    "r": 242,
    "g": 240,
    "b": 96
  },
  "hsl": {
    "h": 59.178,
    "s": 84.884,
    "l": 66.275
  },
  "oklch": {
    "l": 0.93037,
    "c": 0.16296,
    "h": 108.4
  },
  "luminance": 0.82042
}

Semantic roles & 50–950 ramp

primary
#F2F060
secondary
#3234C4
accent
#07E104
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F2F060

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

Preview Lab → · Contrast checker → · Palette generator →

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