#F2EC75#F2EC75

#F2EC75 is a very light, vivid yellow. Relative luminance 0.802; OKLCH L 92.4% C 0.141 H 106.2°. Best body text is #000000 at 17.03:1 contrast (WCAG AA passes).

Color values

HEX#F2EC75
RGBrgb(242, 236, 117)
HSLhsl(57, 83%, 70%)
HSVhsv(57, 52%, 95%)
CMYKcmyk(0%, 2.5%, 51.7%, 5.1%)
CIE-LABlab(91.75, -13.30, 57.67)
CIE-LCHlch(91.75, 59.18, 102.98°)
OKLaboklab(92.43% -0.0394 0.1355)
OKLCHoklch(92.43% 0.141 106.2)
XYZxyz(69.8262, 80.1545, 28.6193)
Luminance0.8015 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EC75 #757BF2
analogous
#F2AD75 #F2EC75 #B9F275
triadic
#F2EC75 #75F2EC #EC75F2
tetradic
#F2EC75 #75F2AD #757BF2 #F275B9
square
#F2EC75 #75F2AD #757BF2 #F275B9
split-complementary
#F2EC75 #75B9F2 #AD75F2
monochromatic
#D8CF14 #EDE43D #F2EC75 #F7F4AD #FCFBE3

Accessibility & contrast

On white

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

On black

17.03
#F2EC75 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EC75
17.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EC75#FFFFFF#000000##000000
##F2EC751.001.2317.0317.03
#FFFFFF1.231.0021.0021.00
#00000017.0321.001.001.00
##00000017.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE46A
Deuteranopia (green-blind)
#FFEA7B
Tritanopia (blue-blind)
#FFDFD1
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #f2ec75;
/* rgb */ color: rgb(242, 236, 117);
/* oklch */ color: oklch(92.4% 0.141 106.2);
Tailwind
colors: {
  custom: {
    50: '#f9f1a0',
    500: '#f2ec75',
    950: '#000000',
  },
}
SCSS
$custom: #f2ec75;
$custom-light: #f9f1a0;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ec75",
  "rgb": {
    "r": 242,
    "g": 236,
    "b": 117
  },
  "hsl": {
    "h": 57.12,
    "s": 82.781,
    "l": 70.392
  },
  "oklch": {
    "l": 0.92431,
    "c": 0.14108,
    "h": 106.2
  },
  "luminance": 0.80153
}

Semantic roles & 50–950 ramp

primary
#F2EC75
secondary
#3F46CC
accent
#11DF06
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #F2EC75

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

Preview Lab → · Contrast checker → · Palette generator →

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