#F2DE91#F2DE91

#F2DE91 is a very light, moderate yellow. Relative luminance 0.732; OKLCH L 90.0% C 0.099 H 95.3°. Best body text is #000000 at 15.63:1 contrast (WCAG AA passes).

Color values

HEX#F2DE91
RGBrgb(242, 222, 145)
HSLhsl(48, 79%, 76%)
HSVhsv(48, 40%, 95%)
CMYKcmyk(0%, 8.3%, 40.1%, 5.1%)
CIE-LABlab(88.53, -3.68, 40.24)
CIE-LCHlch(88.53, 40.41, 95.23°)
OKLaboklab(89.99% -0.0091 0.0986)
OKLCHoklch(89.99% 0.099 95.3)
XYZxyz(67.8516, 73.1664, 37.3310)
Luminance0.7316 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DE91 #91A5F2
analogous
#F2AD91 #F2DE91 #D5F291
triadic
#F2DE91 #91F2DE #DE91F2
tetradic
#F2DE91 #91F2AD #91A5F2 #F291D5
square
#F2DE91 #91F2AD #91A5F2 #F291D5
split-complementary
#F2DE91 #91D5F2 #AD91F2
monochromatic
#E5BD24 #ECCE5A #F2DE91 #F8EEC8 #FCF7E4

Accessibility & contrast

On white

1.34
#F2DE91 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.63
#F2DE91 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DE91
15.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DE91#FFFFFF#000000##000000
##F2DE911.001.3415.6315.63
#FFFFFF1.341.0021.0021.00
#00000015.6321.001.001.00
##00000015.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDDA8B
Deuteranopia (green-blind)
#F2E194
Tritanopia (blue-blind)
#FFD3CB
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #f2de91;
/* rgb */ color: rgb(242, 222, 145);
/* oklch */ color: oklch(90.0% 0.099 95.3);
Tailwind
colors: {
  custom: {
    50: '#f8e8b2',
    500: '#f2de91',
    950: '#000000',
  },
}
SCSS
$custom: #f2de91;
$custom-light: #f8e8b2;
$custom-dark: #000000;
JSON
{
  "hex": "#f2de91",
  "rgb": {
    "r": 242,
    "g": 222,
    "b": 145
  },
  "hsl": {
    "h": 47.629,
    "s": 78.862,
    "l": 75.882
  },
  "oklch": {
    "l": 0.89986,
    "c": 0.09899,
    "h": 95.3
  },
  "luminance": 0.73164
}

Semantic roles & 50–950 ramp

primary
#F2DE91
secondary
#5871CF
accent
#35DB0A
background
#FFFEFD
surface
#FFFCF8
border
#D7D5D1
text
#171611
muted
#858481

Preview Lab

Preview with #F2DE91

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

Preview Lab → · Contrast checker → · Palette generator →

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