#F2F061#F2F061

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

Color values

HEX#F2F061
RGBrgb(242, 240, 97)
HSLhsl(59, 85%, 66%)
HSVhsv(59, 60%, 95%)
CMYKcmyk(0%, 0.8%, 59.9%, 5.1%)
CIE-LABlab(92.60, -16.71, 67.34)
CIE-LCHlch(92.60, 69.38, 103.94°)
OKLaboklab(93.05% -0.0512 0.1539)
OKLCHoklch(93.05% 0.162 108.4)
XYZxyz(69.9379, 82.0625, 23.4625)
Luminance0.8206 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F061 #6163F2
analogous
#F2A861 #F2F061 #ACF261
triadic
#F2F061 #61F2F0 #F061F2
tetradic
#F2F061 #61F2A8 #6163F2 #F261AC
square
#F2F061 #61F2A8 #6163F2 #F261AC
split-complementary
#F2F061 #61ACF2 #A861F2
monochromatic
#C8C610 #EDEB28 #F2F061 #F7F59A #FBFBD2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2F061#FFFFFF#000000##000000
##F2F0611.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)
#FFE750
Deuteranopia (green-blind)
#FFEC6A
Tritanopia (blue-blind)
#FFE2D2
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f2f061;
/* rgb */ color: rgb(242, 240, 97);
/* oklch */ color: oklch(93.0% 0.162 108.4);
Tailwind
colors: {
  custom: {
    50: '#f9f494',
    500: '#f2f061',
    950: '#000000',
  },
}
SCSS
$custom: #f2f061;
$custom-light: #f9f494;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f061",
  "rgb": {
    "r": 242,
    "g": 240,
    "b": 97
  },
  "hsl": {
    "h": 59.172,
    "s": 84.795,
    "l": 66.471
  },
  "oklch": {
    "l": 0.93046,
    "c": 0.16219,
    "h": 108.4
  },
  "luminance": 0.8206
}

Semantic roles & 50–950 ramp

primary
#F2F061
secondary
#3234C5
accent
#07E104
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170D
muted
#86857F

Preview Lab

Preview with #F2F061

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

Preview Lab → · Contrast checker → · Palette generator →

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