#F2EB91#F2EB91

#F2EB91 is a very light, moderate yellow. Relative luminance 0.803; OKLCH L 92.6% C 0.112 H 104.5°. Best body text is #000000 at 17.07:1 contrast (WCAG AA passes).

Color values

HEX#F2EB91
RGBrgb(242, 235, 145)
HSLhsl(56, 79%, 76%)
HSVhsv(56, 40%, 95%)
CMYKcmyk(0%, 2.9%, 40.1%, 5.1%)
CIE-LABlab(91.84, -10.21, 44.47)
CIE-LCHlch(91.84, 45.62, 102.93°)
OKLaboklab(92.61% -0.028 0.1082)
OKLCHoklch(92.61% 0.112 104.5)
XYZxyz(71.4384, 80.3400, 38.5266)
Luminance0.8034 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EB91 #9198F2
analogous
#F2BA91 #F2EB91 #C8F291
triadic
#F2EB91 #91F2EB #EB91F2
tetradic
#F2EB91 #91F2BA #9198F2 #F291C8
square
#F2EB91 #91F2BA #9198F2 #F291C8
split-complementary
#F2EB91 #91C8F2 #BA91F2
monochromatic
#E5D724 #ECE15A #F2EB91 #F8F5C8 #FCFAE4

Accessibility & contrast

On white

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

On black

17.07
#F2EB91 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EB91
17.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EB91#FFFFFF#000000##000000
##F2EB911.001.2317.0717.07
#FFFFFF1.231.0021.0021.00
#00000017.0721.001.001.00
##00000017.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE58A
Deuteranopia (green-blind)
#FCEA95
Tritanopia (blue-blind)
#FFE0D5
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f2eb91;
/* rgb */ color: rgb(242, 235, 145);
/* oklch */ color: oklch(92.6% 0.112 104.5);
Tailwind
colors: {
  custom: {
    50: '#f8f1b2',
    500: '#f2eb91',
    950: '#000000',
  },
}
SCSS
$custom: #f2eb91;
$custom-light: #f8f1b2;
$custom-dark: #000000;
JSON
{
  "hex": "#f2eb91",
  "rgb": {
    "r": 242,
    "g": 235,
    "b": 145
  },
  "hsl": {
    "h": 55.67,
    "s": 78.862,
    "l": 75.882
  },
  "oklch": {
    "l": 0.92607,
    "c": 0.11177,
    "h": 104.5
  },
  "luminance": 0.80338
}

Semantic roles & 50–950 ramp

primary
#F2EB91
secondary
#5861CF
accent
#19DB0A
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171611
muted
#858581

Preview Lab

Preview with #F2EB91

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

Preview Lab → · Contrast checker → · Palette generator →

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