#F2EF74#F2EF74

#F2EF74 is a very light, vivid yellow. Relative luminance 0.819; OKLCH L 93.0% C 0.145 H 107.6°. Best body text is #000000 at 17.37:1 contrast (WCAG AA passes).

Color values

HEX#F2EF74
RGBrgb(242, 239, 116)
HSLhsl(59, 83%, 70%)
HSVhsv(59, 52%, 95%)
CMYKcmyk(0%, 1.2%, 52.1%, 5.1%)
CIE-LABlab(92.52, -14.85, 59.01)
CIE-LCHlch(92.52, 60.85, 104.13°)
OKLaboklab(93.04% -0.044 0.1383)
OKLCHoklch(93.04% 0.145 107.6)
XYZxyz(70.6387, 81.8731, 28.6017)
Luminance0.8187 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EF74 #7477F2
analogous
#F2B074 #F2EF74 #B6F274
triadic
#F2EF74 #74F2EF #EF74F2
tetradic
#F2EF74 #74F2B0 #7477F2 #F274B6
square
#F2EF74 #74F2B0 #7477F2 #F274B6
split-complementary
#F2EF74 #74B6F2 #B074F2
monochromatic
#D7D314 #EDE93C #F2EF74 #F7F5AC #FCFCE3

Accessibility & contrast

On white

1.21
#F2EF74 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.37
#F2EF74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EF74
17.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EF74#FFFFFF#000000##000000
##F2EF741.001.2117.3717.37
#FFFFFF1.211.0021.0021.00
#00000017.3721.001.001.00
##00000017.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE768
Deuteranopia (green-blind)
#FFEC7A
Tritanopia (blue-blind)
#FFE2D3
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f2ef74;
/* rgb */ color: rgb(242, 239, 116);
/* oklch */ color: oklch(93.0% 0.145 107.6);
Tailwind
colors: {
  custom: {
    50: '#f9f49f',
    500: '#f2ef74',
    950: '#000000',
  },
}
SCSS
$custom: #f2ef74;
$custom-light: #f9f49f;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ef74",
  "rgb": {
    "r": 242,
    "g": 239,
    "b": 116
  },
  "hsl": {
    "h": 58.571,
    "s": 82.895,
    "l": 70.196
  },
  "oklch": {
    "l": 0.93036,
    "c": 0.14509,
    "h": 107.6
  },
  "luminance": 0.81871
}

Semantic roles & 50–950 ramp

primary
#F2EF74
secondary
#3E42CC
accent
#0BDF06
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F2EF74

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

Preview Lab → · Contrast checker → · Palette generator →

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