#F2F593#F2F593

#F2F593 is a very light, vivid yellow. Relative luminance 0.863; OKLCH L 94.7% C 0.121 H 110.0°. Best body text is #000000 at 18.26:1 contrast (WCAG AA passes).

Color values

HEX#F2F593
RGBrgb(242, 245, 147)
HSLhsl(62, 83%, 77%)
HSVhsv(62, 40%, 96%)
CMYKcmyk(1.2%, 0%, 40%, 3.9%)
CIE-LABlab(94.44, -14.93, 46.78)
CIE-LCHlch(94.44, 49.10, 107.70°)
OKLaboklab(94.68% -0.0414 0.1136)
OKLCHoklch(94.68% 0.121 110)
XYZxyz(74.5378, 86.2900, 40.3272)
Luminance0.8629 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F593 #9693F5
analogous
#F5C793 #F2F593 #C1F593
triadic
#F2F593 #93F2F5 #F593F2
tetradic
#F2F593 #93F5C7 #9693F5 #F593C1
square
#F2F593 #93F5C7 #9693F5 #F593C1
split-complementary
#F2F593 #93C1F5 #C793F5
monochromatic
#E5EB23 #EBF05B #F2F593 #F9FACB #FCFCE3

Accessibility & contrast

On white

1.15
#F2F593 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.26
#F2F593 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F593
18.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F593#FFFFFF#000000##000000
##F2F5931.001.1518.2618.26
#FFFFFF1.151.0021.0021.00
#00000018.2621.001.001.00
##00000018.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED8B
Deuteranopia (green-blind)
#FFF197
Tritanopia (blue-blind)
#FEEADD
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f2f593;
/* rgb */ color: rgb(242, 245, 147);
/* oklch */ color: oklch(94.7% 0.121 110.0);
Tailwind
colors: {
  custom: {
    50: '#f8f8b4',
    500: '#f2f593',
    950: '#000000',
  },
}
SCSS
$custom: #f2f593;
$custom-light: #f8f8b4;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f593",
  "rgb": {
    "r": 242,
    "g": 245,
    "b": 147
  },
  "hsl": {
    "h": 61.837,
    "s": 83.051,
    "l": 76.863
  },
  "oklch": {
    "l": 0.94681,
    "c": 0.12085,
    "h": 110
  },
  "luminance": 0.86289
}

Semantic roles & 50–950 ramp

primary
#F2F593
secondary
#5D59D3
accent
#06DF0D
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171711
muted
#858581

Preview Lab

Preview with #F2F593

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

Preview Lab → · Contrast checker → · Palette generator →

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