#F2ED59#F2ED59

#F2ED59 is a very light, vivid yellow. Relative luminance 0.802; OKLCH L 92.4% C 0.165 H 107.4°. Best body text is #000000 at 17.03:1 contrast (WCAG AA passes).

Color values

HEX#F2ED59
RGBrgb(242, 237, 89)
HSLhsl(58, 85%, 65%)
HSVhsv(58, 63%, 95%)
CMYKcmyk(0%, 2.1%, 63.2%, 5.1%)
CIE-LABlab(91.76, -15.75, 69.69)
CIE-LCHlch(91.76, 71.44, 102.73°)
OKLaboklab(92.36% -0.0493 0.1577)
OKLCHoklch(92.36% 0.165 107.4)
XYZxyz(68.7077, 80.1691, 21.3042)
Luminance0.8017 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2ED59 #595EF2
analogous
#F2A059 #F2ED59 #ABF259
triadic
#F2ED59 #59F2ED #ED59F2
tetradic
#F2ED59 #59F2A0 #595EF2 #F259AB
square
#F2ED59 #59F2A0 #595EF2 #F259AB
split-complementary
#F2ED59 #59ABF2 #A059F2
monochromatic
#C1BC0F #EEE720 #F2ED59 #F6F392 #FBF9CB

Accessibility & contrast

On white

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

On black

17.03
#F2ED59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2ED59
17.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2ED59#FFFFFF#000000##000000
##F2ED591.001.2317.0317.03
#FFFFFF1.231.0021.0021.00
#00000017.0321.001.001.00
##00000017.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE446
Deuteranopia (green-blind)
#FFEA62
Tritanopia (blue-blind)
#FFDECE
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #f2ed59;
/* rgb */ color: rgb(242, 237, 89);
/* oklch */ color: oklch(92.4% 0.165 107.4);
Tailwind
colors: {
  custom: {
    50: '#faf28f',
    500: '#f2ed59',
    950: '#000000',
  },
}
SCSS
$custom: #f2ed59;
$custom-light: #faf28f;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ed59",
  "rgb": {
    "r": 242,
    "g": 237,
    "b": 89
  },
  "hsl": {
    "h": 58.039,
    "s": 85.475,
    "l": 64.902
  },
  "oklch": {
    "l": 0.92355,
    "c": 0.16526,
    "h": 107.4
  },
  "luminance": 0.80167
}

Semantic roles & 50–950 ramp

primary
#F2ED59
secondary
#3035BF
accent
#0BE204
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160D
muted
#86857F

Preview Lab

Preview with #F2ED59

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

Preview Lab → · Contrast checker → · Palette generator →

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