#F2EF61#F2EF61

#F2EF61 is a very light, vivid yellow. Relative luminance 0.815; OKLCH L 92.8% C 0.161 H 108.0°. Best body text is #000000 at 17.29:1 contrast (WCAG AA passes).

Color values

HEX#F2EF61
RGBrgb(242, 239, 97)
HSLhsl(59, 85%, 66%)
HSVhsv(59, 60%, 95%)
CMYKcmyk(0%, 1.2%, 59.9%, 5.1%)
CIE-LABlab(92.34, -16.23, 67.06)
CIE-LCHlch(92.34, 69.00, 103.60°)
OKLaboklab(92.84% -0.0499 0.1533)
OKLCHoklch(92.84% 0.161 108)
XYZxyz(69.6443, 81.4754, 23.3646)
Luminance0.8147 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EF61 #6164F2
analogous
#F2A761 #F2EF61 #ADF261
triadic
#F2EF61 #61F2EF #EF61F2
tetradic
#F2EF61 #61F2A7 #6164F2 #F261AD
square
#F2EF61 #61F2A7 #6164F2 #F261AD
split-complementary
#F2EF61 #61ADF2 #A761F2
monochromatic
#C8C410 #EDE928 #F2EF61 #F7F59A #FBFAD2

Accessibility & contrast

On white

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

On black

17.29
#F2EF61 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EF61
17.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EF61#FFFFFF#000000##000000
##F2EF611.001.2117.2917.29
#FFFFFF1.211.0021.0021.00
#00000017.2921.001.001.00
##00000017.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE650
Deuteranopia (green-blind)
#FFEC69
Tritanopia (blue-blind)
#FFE1D1
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f2ef61;
/* rgb */ color: rgb(242, 239, 97);
/* oklch */ color: oklch(92.8% 0.161 108.0);
Tailwind
colors: {
  custom: {
    50: '#f9f493',
    500: '#f2ef61',
    950: '#000000',
  },
}
SCSS
$custom: #f2ef61;
$custom-light: #f9f493;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ef61",
  "rgb": {
    "r": 242,
    "g": 239,
    "b": 97
  },
  "hsl": {
    "h": 58.759,
    "s": 84.795,
    "l": 66.471
  },
  "oklch": {
    "l": 0.92839,
    "c": 0.1612,
    "h": 108
  },
  "luminance": 0.81473
}

Semantic roles & 50–950 ramp

primary
#F2EF61
secondary
#3235C5
accent
#09E104
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170D
muted
#86857F

Preview Lab

Preview with #F2EF61

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

Preview Lab → · Contrast checker → · Palette generator →

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