#F2ED91#F2ED91

#F2ED91 is a very light, moderate yellow. Relative luminance 0.815; OKLCH L 93.0% C 0.114 H 105.7°. Best body text is #000000 at 17.30:1 contrast (WCAG AA passes).

Color values

HEX#F2ED91
RGBrgb(242, 237, 145)
HSLhsl(57, 79%, 76%)
HSVhsv(57, 40%, 95%)
CMYKcmyk(0%, 2.1%, 40.1%, 5.1%)
CIE-LABlab(92.35, -11.20, 45.12)
CIE-LCHlch(92.35, 46.49, 103.94°)
OKLaboklab(93.01% -0.0308 0.1097)
OKLCHoklch(93.01% 0.114 105.7)
XYZxyz(72.0142, 81.4917, 38.7185)
Luminance0.8149 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2ED91 #9196F2
analogous
#F2BC91 #F2ED91 #C6F291
triadic
#F2ED91 #91F2ED #ED91F2
tetradic
#F2ED91 #91F2BC #9196F2 #F291C6
square
#F2ED91 #91F2BC #9196F2 #F291C6
split-complementary
#F2ED91 #91C6F2 #BC91F2
monochromatic
#E5DB24 #ECE45A #F2ED91 #F8F6C8 #FCFBE4

Accessibility & contrast

On white

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

On black

17.30
#F2ED91 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2ED91
17.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2ED91#FFFFFF#000000##000000
##F2ED911.001.2117.3017.30
#FFFFFF1.211.0021.0021.00
#00000017.3021.001.001.00
##00000017.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE78A
Deuteranopia (green-blind)
#FEEB95
Tritanopia (blue-blind)
#FFE2D6
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f2ed91;
/* rgb */ color: rgb(242, 237, 145);
/* oklch */ color: oklch(93.0% 0.114 105.7);
Tailwind
colors: {
  custom: {
    50: '#f8f2b2',
    500: '#f2ed91',
    950: '#000000',
  },
}
SCSS
$custom: #f2ed91;
$custom-light: #f8f2b2;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ed91",
  "rgb": {
    "r": 242,
    "g": 237,
    "b": 145
  },
  "hsl": {
    "h": 56.907,
    "s": 78.862,
    "l": 75.882
  },
  "oklch": {
    "l": 0.93014,
    "c": 0.11394,
    "h": 105.7
  },
  "luminance": 0.8149
}

Semantic roles & 50–950 ramp

primary
#F2ED91
secondary
#585ECF
accent
#15DB0A
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171611
muted
#858581

Preview Lab

Preview with #F2ED91

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

Preview Lab → · Contrast checker → · Palette generator →

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