#F2DF91#F2DF91

#F2DF91 is a very light, moderate yellow. Relative luminance 0.737; OKLCH L 90.2% C 0.100 H 96.1°. Best body text is #000000 at 15.74:1 contrast (WCAG AA passes).

Color values

HEX#F2DF91
RGBrgb(242, 223, 145)
HSLhsl(48, 79%, 76%)
HSVhsv(48, 40%, 95%)
CMYKcmyk(0%, 7.9%, 40.1%, 5.1%)
CIE-LABlab(88.78, -4.19, 40.56)
CIE-LCHlch(88.78, 40.78, 95.90°)
OKLaboklab(90.19% -0.0106 0.0993)
OKLCHoklch(90.19% 0.1 96.1)
XYZxyz(68.1179, 73.6992, 37.4197)
Luminance0.7370 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DF91 #91A4F2
analogous
#F2AE91 #F2DF91 #D5F291
triadic
#F2DF91 #91F2DF #DF91F2
tetradic
#F2DF91 #91F2AE #91A4F2 #F291D5
square
#F2DF91 #91F2AE #91A4F2 #F291D5
split-complementary
#F2DF91 #91D5F2 #AE91F2
monochromatic
#E5BF24 #ECCF5A #F2DF91 #F8EFC8 #FCF7E4

Accessibility & contrast

On white

1.33
#F2DF91 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.74
#F2DF91 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DF91
15.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DF91#FFFFFF#000000##000000
##F2DF911.001.3315.7415.74
#FFFFFF1.331.0021.0021.00
#00000015.7421.001.001.00
##00000015.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EEDB8B
Deuteranopia (green-blind)
#F3E294
Tritanopia (blue-blind)
#FFD4CB
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #f2df91;
/* rgb */ color: rgb(242, 223, 145);
/* oklch */ color: oklch(90.2% 0.100 96.1);
Tailwind
colors: {
  custom: {
    50: '#f8e8b2',
    500: '#f2df91',
    950: '#000000',
  },
}
SCSS
$custom: #f2df91;
$custom-light: #f8e8b2;
$custom-dark: #000000;
JSON
{
  "hex": "#f2df91",
  "rgb": {
    "r": 242,
    "g": 223,
    "b": 145
  },
  "hsl": {
    "h": 48.247,
    "s": 78.862,
    "l": 75.882
  },
  "oklch": {
    "l": 0.90186,
    "c": 0.09988,
    "h": 96.1
  },
  "luminance": 0.73697
}

Semantic roles & 50–950 ramp

primary
#F2DF91
secondary
#5870CF
accent
#33DB0A
background
#FFFEFD
surface
#FFFCF8
border
#D7D5D1
text
#171611
muted
#858481

Preview Lab

Preview with #F2DF91

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

Preview Lab → · Contrast checker → · Palette generator →

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