#F2EA61#F2EA61

#F2EA61 is a very light, vivid yellow. Relative luminance 0.786; OKLCH L 91.8% C 0.156 H 105.9°. Best body text is #000000 at 16.72:1 contrast (WCAG AA passes).

Color values

HEX#F2EA61
RGBrgb(242, 234, 97)
HSLhsl(57, 85%, 66%)
HSVhsv(57, 60%, 95%)
CMYKcmyk(0%, 3.3%, 59.9%, 5.1%)
CIE-LABlab(91.05, -13.78, 65.66)
CIE-LCHlch(91.05, 67.09, 101.85°)
OKLaboklab(91.81% -0.0429 0.1503)
OKLCHoklch(91.81% 0.156 105.9)
XYZxyz(68.2007, 78.5882, 22.8834)
Luminance0.7859 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EA61 #6169F2
analogous
#F2A261 #F2EA61 #B2F261
triadic
#F2EA61 #61F2EA #EA61F2
tetradic
#F2EA61 #61F2A2 #6169F2 #F261B2
square
#F2EA61 #61F2A2 #6169F2 #F261B2
split-complementary
#F2EA61 #61B2F2 #A261F2
monochromatic
#C8BE10 #EDE228 #F2EA61 #F7F29A #FBF9D2

Accessibility & contrast

On white

1.26
#F2EA61 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.72
#F2EA61 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EA61
16.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EA61#FFFFFF#000000##000000
##F2EA611.001.2616.7216.72
#FFFFFF1.261.0021.0021.00
#00000016.7221.001.001.00
##00000016.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE251
Deuteranopia (green-blind)
#FFE869
Tritanopia (blue-blind)
#FFDCCD
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f2ea61;
/* rgb */ color: rgb(242, 234, 97);
/* oklch */ color: oklch(91.8% 0.156 105.9);
Tailwind
colors: {
  custom: {
    50: '#f9f093',
    500: '#f2ea61',
    950: '#000000',
  },
}
SCSS
$custom: #f2ea61;
$custom-light: #f9f093;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ea61",
  "rgb": {
    "r": 242,
    "g": 234,
    "b": 97
  },
  "hsl": {
    "h": 56.69,
    "s": 84.795,
    "l": 66.471
  },
  "oklch": {
    "l": 0.91807,
    "c": 0.15631,
    "h": 105.9
  },
  "luminance": 0.78586
}

Semantic roles & 50–950 ramp

primary
#F2EA61
secondary
#323AC5
accent
#10E104
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160D
muted
#86857F

Preview Lab

Preview with #F2EA61

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

Preview Lab → · Contrast checker → · Palette generator →

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