#F2EA60#F2EA60

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

Color values

HEX#F2EA60
RGBrgb(242, 234, 96)
HSLhsl(57, 85%, 66%)
HSVhsv(57, 60%, 95%)
CMYKcmyk(0%, 3.3%, 60.3%, 5.1%)
CIE-LABlab(91.04, -13.85, 66.06)
CIE-LCHlch(91.04, 67.50, 101.84°)
OKLaboklab(91.8% -0.0432 0.151)
OKLCHoklch(91.8% 0.157 106)
XYZxyz(68.1544, 78.5697, 22.6394)
Luminance0.7857 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EA60 #6068F2
analogous
#F2A160 #F2EA60 #B1F260
triadic
#F2EA60 #60F2EA #EA60F2
tetradic
#F2EA60 #60F2A1 #6068F2 #F260B1
square
#F2EA60 #60F2A1 #6068F2 #F260B1
split-complementary
#F2EA60 #60B1F2 #A160F2
monochromatic
#C7BD10 #EDE327 #F2EA60 #F7F199 #FBF9D1

Accessibility & contrast

On white

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

On black

16.71
#F2EA60 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EA60
16.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EA60#FFFFFF#000000##000000
##F2EA601.001.2616.7116.71
#FFFFFF1.261.0021.0021.00
#00000016.7121.001.001.00
##00000016.7121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2ea60;
/* rgb */ color: rgb(242, 234, 96);
/* oklch */ color: oklch(91.8% 0.157 106.0);
Tailwind
colors: {
  custom: {
    50: '#f9f093',
    500: '#f2ea60',
    950: '#000000',
  },
}
SCSS
$custom: #f2ea60;
$custom-light: #f9f093;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ea60",
  "rgb": {
    "r": 242,
    "g": 234,
    "b": 96
  },
  "hsl": {
    "h": 56.712,
    "s": 84.884,
    "l": 66.275
  },
  "oklch": {
    "l": 0.91798,
    "c": 0.1571,
    "h": 106
  },
  "luminance": 0.78567
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F2EA60

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

Preview Lab → · Contrast checker → · Palette generator →

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