#F2ED61#F2ED61

#F2ED61 is a very light, vivid yellow. Relative luminance 0.803; OKLCH L 92.4% C 0.159 H 107.2°. Best body text is #000000 at 17.06:1 contrast (WCAG AA passes).

Color values

HEX#F2ED61
RGBrgb(242, 237, 97)
HSLhsl(58, 85%, 66%)
HSVhsv(58, 60%, 95%)
CMYKcmyk(0%, 2.1%, 59.9%, 5.1%)
CIE-LABlab(91.82, -15.25, 66.50)
CIE-LCHlch(91.82, 68.23, 102.92°)
OKLaboklab(92.43% -0.0471 0.1521)
OKLCHoklch(92.43% 0.159 107.2)
XYZxyz(69.0620, 80.3108, 23.1705)
Luminance0.8031 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2ED61 #6166F2
analogous
#F2A561 #F2ED61 #AFF261
triadic
#F2ED61 #61F2ED #ED61F2
tetradic
#F2ED61 #61F2A5 #6166F2 #F261AF
square
#F2ED61 #61F2A5 #6166F2 #F261AF
split-complementary
#F2ED61 #61AFF2 #A561F2
monochromatic
#C8C210 #EDE728 #F2ED61 #F7F39A #FBFAD2

Accessibility & contrast

On white

1.23
#F2ED61 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.06
#F2ED61 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2ED61
17.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2ED61#FFFFFF#000000##000000
##F2ED611.001.2317.0617.06
#FFFFFF1.231.0021.0021.00
#00000017.0621.001.001.00
##00000017.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE451
Deuteranopia (green-blind)
#FFEA69
Tritanopia (blue-blind)
#FFDFCF
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f2ed61;
/* rgb */ color: rgb(242, 237, 97);
/* oklch */ color: oklch(92.4% 0.159 107.2);
Tailwind
colors: {
  custom: {
    50: '#f9f293',
    500: '#f2ed61',
    950: '#000000',
  },
}
SCSS
$custom: #f2ed61;
$custom-light: #f9f293;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ed61",
  "rgb": {
    "r": 242,
    "g": 237,
    "b": 97
  },
  "hsl": {
    "h": 57.931,
    "s": 84.795,
    "l": 66.471
  },
  "oklch": {
    "l": 0.92426,
    "c": 0.15922,
    "h": 107.2
  },
  "luminance": 0.80309
}

Semantic roles & 50–950 ramp

primary
#F2ED61
secondary
#3237C5
accent
#0CE104
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160D
muted
#86857F

Preview Lab

Preview with #F2ED61

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

Preview Lab → · Contrast checker → · Palette generator →

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