#F2EF73#F2EF73

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

Color values

HEX#F2EF73
RGBrgb(242, 239, 115)
HSLhsl(59, 83%, 70%)
HSVhsv(59, 52%, 95%)
CMYKcmyk(0%, 1.2%, 52.5%, 5.1%)
CIE-LABlab(92.51, -14.93, 59.45)
CIE-LCHlch(92.51, 61.30, 104.10°)
OKLaboklab(93.02% -0.0443 0.1391)
OKLCHoklch(93.02% 0.146 107.7)
XYZxyz(70.5808, 81.8500, 28.2970)
Luminance0.8185 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EF73 #7376F2
analogous
#F2B073 #F2EF73 #B5F273
triadic
#F2EF73 #73F2EF #EF73F2
tetradic
#F2EF73 #73F2B0 #7376F2 #F273B5
square
#F2EF73 #73F2B0 #7376F2 #F273B5
split-complementary
#F2EF73 #73B5F2 #B073F2
monochromatic
#D7D214 #EDE93B #F2EF73 #F7F5AB #FCFCE3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2EF73#FFFFFF#000000##000000
##F2EF731.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)
#FFE767
Deuteranopia (green-blind)
#FFEC79
Tritanopia (blue-blind)
#FFE2D3
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f2ef73;
/* rgb */ color: rgb(242, 239, 115);
/* oklch */ color: oklch(93.0% 0.146 107.7);
Tailwind
colors: {
  custom: {
    50: '#f9f49f',
    500: '#f2ef73',
    950: '#000000',
  },
}
SCSS
$custom: #f2ef73;
$custom-light: #f9f49f;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ef73",
  "rgb": {
    "r": 242,
    "g": 239,
    "b": 115
  },
  "hsl": {
    "h": 58.583,
    "s": 83.007,
    "l": 70
  },
  "oklch": {
    "l": 0.93024,
    "c": 0.146,
    "h": 107.7
  },
  "luminance": 0.81848
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F2EF73

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

Preview Lab → · Contrast checker → · Palette generator →

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