#F2ED93#F2ED93

#F2ED93 is a very light, moderate yellow. Relative luminance 0.816; OKLCH L 93.0% C 0.112 H 105.6°. Best body text is #000000 at 17.31:1 contrast (WCAG AA passes).

Color values

HEX#F2ED93
RGBrgb(242, 237, 147)
HSLhsl(57, 79%, 76%)
HSVhsv(57, 39%, 95%)
CMYKcmyk(0%, 2.1%, 39.3%, 5.1%)
CIE-LABlab(92.38, -10.99, 44.17)
CIE-LCHlch(92.38, 45.52, 103.98°)
OKLaboklab(93.05% -0.0301 0.1076)
OKLCHoklch(93.05% 0.112 105.6)
XYZxyz(72.1698, 81.5539, 39.5378)
Luminance0.8155 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2ED93 #9398F2
analogous
#F2BE93 #F2ED93 #C8F293
triadic
#F2ED93 #93F2ED #ED93F2
tetradic
#F2ED93 #93F2BE #9398F2 #F293C8
square
#F2ED93 #93F2BE #9398F2 #F293C8
split-complementary
#F2ED93 #93C8F2 #BE93F2
monochromatic
#E5DB26 #EBE45C #F2ED93 #F9F6CA #FCFAE4

Accessibility & contrast

On white

1.21
#F2ED93 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.31
#F2ED93 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2ED93
17.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2ED93#FFFFFF#000000##000000
##F2ED931.001.2117.3117.31
#FFFFFF1.211.0021.0021.00
#00000017.3121.001.001.00
##00000017.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE78C
Deuteranopia (green-blind)
#FEEB97
Tritanopia (blue-blind)
#FFE2D7
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f2ed93;
/* rgb */ color: rgb(242, 237, 147);
/* oklch */ color: oklch(93.0% 0.112 105.6);
Tailwind
colors: {
  custom: {
    50: '#f8f2b4',
    500: '#f2ed93',
    950: '#000000',
  },
}
SCSS
$custom: #f2ed93;
$custom-light: #f8f2b4;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ed93",
  "rgb": {
    "r": 242,
    "g": 237,
    "b": 147
  },
  "hsl": {
    "h": 56.842,
    "s": 78.512,
    "l": 76.275
  },
  "oklch": {
    "l": 0.93045,
    "c": 0.11177,
    "h": 105.6
  },
  "luminance": 0.81552
}

Semantic roles & 50–950 ramp

primary
#F2ED93
secondary
#5A60CF
accent
#16DB0B
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171611
muted
#858581

Preview Lab

Preview with #F2ED93

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

Preview Lab → · Contrast checker → · Palette generator →

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