#F2ED75#F2ED75

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

Color values

HEX#F2ED75
RGBrgb(242, 237, 117)
HSLhsl(58, 83%, 70%)
HSVhsv(58, 52%, 95%)
CMYKcmyk(0%, 2.1%, 51.7%, 5.1%)
CIE-LABlab(92.01, -13.79, 57.97)
CIE-LCHlch(92.01, 59.59, 103.38°)
OKLaboklab(92.64% -0.0408 0.1361)
OKLCHoklch(92.64% 0.142 106.7)
XYZxyz(70.1149, 80.7320, 28.7156)
Luminance0.8073 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2ED75 #757AF2
analogous
#F2AE75 #F2ED75 #B8F275
triadic
#F2ED75 #75F2ED #ED75F2
tetradic
#F2ED75 #75F2AE #757AF2 #F275B8
square
#F2ED75 #75F2AE #757AF2 #F275B8
split-complementary
#F2ED75 #75B8F2 #AE75F2
monochromatic
#D8D014 #EDE63D #F2ED75 #F7F4AD #FCFBE3

Accessibility & contrast

On white

1.22
#F2ED75 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.15
#F2ED75 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2ED75
17.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2ED75#FFFFFF#000000##000000
##F2ED751.001.2217.1517.15
#FFFFFF1.221.0021.0021.00
#00000017.1521.001.001.00
##00000017.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2ed75;
/* rgb */ color: rgb(242, 237, 117);
/* oklch */ color: oklch(92.6% 0.142 106.7);
Tailwind
colors: {
  custom: {
    50: '#f9f2a0',
    500: '#f2ed75',
    950: '#000000',
  },
}
SCSS
$custom: #f2ed75;
$custom-light: #f9f2a0;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ed75",
  "rgb": {
    "r": 242,
    "g": 237,
    "b": 117
  },
  "hsl": {
    "h": 57.6,
    "s": 82.781,
    "l": 70.392
  },
  "oklch": {
    "l": 0.92636,
    "c": 0.14211,
    "h": 106.7
  },
  "luminance": 0.8073
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F2ED75

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

Preview Lab → · Contrast checker → · Palette generator →

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