#F2ED73#F2ED73

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

Color values

HEX#F2ED73
RGBrgb(242, 237, 115)
HSLhsl(58, 83%, 70%)
HSVhsv(58, 52%, 95%)
CMYKcmyk(0%, 2.1%, 52.5%, 5.1%)
CIE-LABlab(91.99, -13.95, 58.85)
CIE-LCHlch(91.99, 60.48, 103.33°)
OKLaboklab(92.61% -0.0415 0.1378)
OKLCHoklch(92.61% 0.144 106.8)
XYZxyz(69.9986, 80.6854, 28.1029)
Luminance0.8068 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2ED73 #7378F2
analogous
#F2AE73 #F2ED73 #B7F273
triadic
#F2ED73 #73F2ED #ED73F2
tetradic
#F2ED73 #73F2AE #7378F2 #F273B7
square
#F2ED73 #73F2AE #7378F2 #F273B7
split-complementary
#F2ED73 #73B7F2 #AE73F2
monochromatic
#D7CF14 #EDE63B #F2ED73 #F7F4AB #FCFBE3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2ED73#FFFFFF#000000##000000
##F2ED731.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)
#FEE567
Deuteranopia (green-blind)
#FFEA79
Tritanopia (blue-blind)
#FFE0D2
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f2ed73;
/* rgb */ color: rgb(242, 237, 115);
/* oklch */ color: oklch(92.6% 0.144 106.8);
Tailwind
colors: {
  custom: {
    50: '#f9f29e',
    500: '#f2ed73',
    950: '#000000',
  },
}
SCSS
$custom: #f2ed73;
$custom-light: #f9f29e;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ed73",
  "rgb": {
    "r": 242,
    "g": 237,
    "b": 115
  },
  "hsl": {
    "h": 57.638,
    "s": 83.007,
    "l": 70
  },
  "oklch": {
    "l": 0.92613,
    "c": 0.14395,
    "h": 106.8
  },
  "luminance": 0.80683
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F2ED73

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

Preview Lab → · Contrast checker → · Palette generator →

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