#F2ED74#F2ED74

#F2ED74 is a very light, vivid yellow. Relative luminance 0.807; OKLCH L 92.6% C 0.143 H 106.7°. Best body text is #000000 at 17.14:1 contrast (WCAG AA passes).

Color values

HEX#F2ED74
RGBrgb(242, 237, 116)
HSLhsl(58, 83%, 70%)
HSVhsv(58, 52%, 95%)
CMYKcmyk(0%, 2.1%, 52.1%, 5.1%)
CIE-LABlab(92.00, -13.87, 58.41)
CIE-LCHlch(92.00, 60.04, 103.36°)
OKLaboklab(92.62% -0.0412 0.137)
OKLCHoklch(92.62% 0.143 106.7)
XYZxyz(70.0564, 80.7086, 28.4076)
Luminance0.8071 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2ED74 #7479F2
analogous
#F2AE74 #F2ED74 #B8F274
triadic
#F2ED74 #74F2ED #ED74F2
tetradic
#F2ED74 #74F2AE #7479F2 #F274B8
square
#F2ED74 #74F2AE #7479F2 #F274B8
split-complementary
#F2ED74 #74B8F2 #AE74F2
monochromatic
#D7D014 #EDE63C #F2ED74 #F7F4AC #FCFBE3

Accessibility & contrast

On white

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

On black

17.14
#F2ED74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2ED74
17.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2ED74#FFFFFF#000000##000000
##F2ED741.001.2317.1417.14
#FFFFFF1.231.0021.0021.00
#00000017.1421.001.001.00
##00000017.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE568
Deuteranopia (green-blind)
#FFEA7A
Tritanopia (blue-blind)
#FFE0D2
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f2ed74;
/* rgb */ color: rgb(242, 237, 116);
/* oklch */ color: oklch(92.6% 0.143 106.7);
Tailwind
colors: {
  custom: {
    50: '#f9f29f',
    500: '#f2ed74',
    950: '#000000',
  },
}
SCSS
$custom: #f2ed74;
$custom-light: #f9f29f;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ed74",
  "rgb": {
    "r": 242,
    "g": 237,
    "b": 116
  },
  "hsl": {
    "h": 57.619,
    "s": 82.895,
    "l": 70.196
  },
  "oklch": {
    "l": 0.92624,
    "c": 0.14303,
    "h": 106.7
  },
  "luminance": 0.80707
}

Semantic roles & 50–950 ramp

primary
#F2ED74
secondary
#3E44CC
accent
#0FDF06
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #F2ED74

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

Preview Lab → · Contrast checker → · Palette generator →

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