#F2DE92#F2DE92

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

Color values

HEX#F2DE92
RGBrgb(242, 222, 146)
HSLhsl(48, 79%, 76%)
HSVhsv(48, 40%, 95%)
CMYKcmyk(0%, 8.3%, 39.7%, 5.1%)
CIE-LABlab(88.54, -3.58, 39.76)
CIE-LCHlch(88.54, 39.92, 95.14°)
OKLaboklab(90% -0.0088 0.0975)
OKLCHoklch(90% 0.098 95.1)
XYZxyz(67.9290, 73.1974, 37.7388)
Luminance0.7319 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DE92 #92A6F2
analogous
#F2AE92 #F2DE92 #D6F292
triadic
#F2DE92 #92F2DE #DE92F2
tetradic
#F2DE92 #92F2AE #92A6F2 #F292D6
square
#F2DE92 #92F2AE #92A6F2 #F292D6
split-complementary
#F2DE92 #92D6F2 #AE92F2
monochromatic
#E5BD25 #EBCD5B #F2DE92 #F9EFC9 #FCF7E4

Accessibility & contrast

On white

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

On black

15.64
#F2DE92 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DE92
15.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DE92#FFFFFF#000000##000000
##F2DE921.001.3415.6415.64
#FFFFFF1.341.0021.0021.00
#00000015.6421.001.001.00
##00000015.6421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2de92;
/* rgb */ color: rgb(242, 222, 146);
/* oklch */ color: oklch(90.0% 0.098 95.1);
Tailwind
colors: {
  custom: {
    50: '#f8e8b3',
    500: '#f2de92',
    950: '#000000',
  },
}
SCSS
$custom: #f2de92;
$custom-light: #f8e8b3;
$custom-dark: #000000;
JSON
{
  "hex": "#f2de92",
  "rgb": {
    "r": 242,
    "g": 222,
    "b": 146
  },
  "hsl": {
    "h": 47.5,
    "s": 78.689,
    "l": 76.078
  },
  "oklch": {
    "l": 0.90002,
    "c": 0.09789,
    "h": 95.1
  },
  "luminance": 0.73195
}

Semantic roles & 50–950 ramp

primary
#F2DE92
secondary
#5972CF
accent
#36DB0B
background
#FFFEFD
surface
#FFFCF8
border
#D7D5D1
text
#171611
muted
#858481

Preview Lab

Preview with #F2DE92

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

Preview Lab → · Contrast checker → · Palette generator →

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