#F2ED60#F2ED60

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

Color values

HEX#F2ED60
RGBrgb(242, 237, 96)
HSLhsl(58, 85%, 66%)
HSVhsv(58, 60%, 95%)
CMYKcmyk(0%, 2.1%, 60.3%, 5.1%)
CIE-LABlab(91.82, -15.32, 66.91)
CIE-LCHlch(91.82, 68.64, 102.89°)
OKLaboklab(92.42% -0.0474 0.1528)
OKLCHoklch(92.42% 0.16 107.2)
XYZxyz(69.0157, 80.2923, 22.9265)
Luminance0.8029 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2ED60 #6065F2
analogous
#F2A460 #F2ED60 #AEF260
triadic
#F2ED60 #60F2ED #ED60F2
tetradic
#F2ED60 #60F2A4 #6065F2 #F260AE
square
#F2ED60 #60F2A4 #6065F2 #F260AE
split-complementary
#F2ED60 #60AEF2 #A460F2
monochromatic
#C7C110 #EDE727 #F2ED60 #F7F399 #FBFAD1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2ED60#FFFFFF#000000##000000
##F2ED601.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)
#FFE44F
Deuteranopia (green-blind)
#FFEA68
Tritanopia (blue-blind)
#FFDFCF
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #f2ed60;
/* rgb */ color: rgb(242, 237, 96);
/* oklch */ color: oklch(92.4% 0.160 107.2);
Tailwind
colors: {
  custom: {
    50: '#f9f293',
    500: '#f2ed60',
    950: '#000000',
  },
}
SCSS
$custom: #f2ed60;
$custom-light: #f9f293;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ed60",
  "rgb": {
    "r": 242,
    "g": 237,
    "b": 96
  },
  "hsl": {
    "h": 57.945,
    "s": 84.884,
    "l": 66.275
  },
  "oklch": {
    "l": 0.92416,
    "c": 0.16,
    "h": 107.2
  },
  "luminance": 0.8029
}

Semantic roles & 50–950 ramp

primary
#F2ED60
secondary
#3237C4
accent
#0CE104
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160D
muted
#86857F

Preview Lab

Preview with #F2ED60

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

Preview Lab → · Contrast checker → · Palette generator →

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