#F2ED72#F2ED72

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

Color values

HEX#F2ED72
RGBrgb(242, 237, 114)
HSLhsl(58, 83%, 70%)
HSVhsv(58, 53%, 95%)
CMYKcmyk(0%, 2.1%, 52.9%, 5.1%)
CIE-LABlab(91.98, -14.03, 59.29)
CIE-LCHlch(91.98, 60.93, 103.31°)
OKLaboklab(92.6% -0.0418 0.1387)
OKLCHoklch(92.6% 0.145 106.8)
XYZxyz(69.9413, 80.6625, 27.8015)
Luminance0.8066 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2ED72 #7277F2
analogous
#F2AD72 #F2ED72 #B7F272
triadic
#F2ED72 #72F2ED #ED72F2
tetradic
#F2ED72 #72F2AD #7277F2 #F272B7
square
#F2ED72 #72F2AD #7277F2 #F272B7
split-complementary
#F2ED72 #72B7F2 #AD72F2
monochromatic
#D6CE14 #EDE63A #F2ED72 #F7F4AA #FCFBE2

Accessibility & contrast

On white

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

On black

17.13
#F2ED72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2ED72
17.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2ED72#FFFFFF#000000##000000
##F2ED721.001.2317.1317.13
#FFFFFF1.231.0021.0021.00
#00000017.1321.001.001.00
##00000017.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE566
Deuteranopia (green-blind)
#FFEA78
Tritanopia (blue-blind)
#FFE0D1
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f2ed72;
/* rgb */ color: rgb(242, 237, 114);
/* oklch */ color: oklch(92.6% 0.145 106.8);
Tailwind
colors: {
  custom: {
    50: '#f9f29e',
    500: '#f2ed72',
    950: '#000000',
  },
}
SCSS
$custom: #f2ed72;
$custom-light: #f9f29e;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ed72",
  "rgb": {
    "r": 242,
    "g": 237,
    "b": 114
  },
  "hsl": {
    "h": 57.656,
    "s": 83.117,
    "l": 69.804
  },
  "oklch": {
    "l": 0.92601,
    "c": 0.14484,
    "h": 106.8
  },
  "luminance": 0.80661
}

Semantic roles & 50–950 ramp

primary
#F2ED72
secondary
#3D42CC
accent
#0EE006
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #F2ED72

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

Preview Lab → · Contrast checker → · Palette generator →

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