#F2DE8A#F2DE8A

#F2DE8A is a very light, moderate yellow. Relative luminance 0.730; OKLCH L 89.9% C 0.107 H 96.4°. Best body text is #000000 at 15.59:1 contrast (WCAG AA passes).

Color values

HEX#F2DE8A
RGBrgb(242, 222, 138)
HSLhsl(48, 80%, 75%)
HSVhsv(48, 43%, 95%)
CMYKcmyk(0%, 8.3%, 43%, 5.1%)
CIE-LABlab(88.43, -4.40, 43.60)
CIE-LCHlch(88.43, 43.82, 95.77°)
OKLaboklab(89.87% -0.0118 0.1059)
OKLCHoklch(89.87% 0.107 96.4)
XYZxyz(67.3283, 72.9571, 34.5754)
Luminance0.7296 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DE8A #8A9EF2
analogous
#F2AA8A #F2DE8A #D2F28A
triadic
#F2DE8A #8AF2DE #DE8AF2
tetradic
#F2DE8A #8AF2AA #8A9EF2 #F28AD2
square
#F2DE8A #8AF2AA #8A9EF2 #F28AD2
split-complementary
#F2DE8A #8AD2F2 #AA8AF2
monochromatic
#E6BF1C #ECCE53 #F2DE8A #F8EEC1 #FCF7E3

Accessibility & contrast

On white

1.35
#F2DE8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.59
#F2DE8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DE8A
15.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DE8A#FFFFFF#000000##000000
##F2DE8A1.001.3515.5915.59
#FFFFFF1.351.0021.0021.00
#00000015.5921.001.001.00
##00000015.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EEDA83
Deuteranopia (green-blind)
#F3E18D
Tritanopia (blue-blind)
#FFD2C9
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #f2de8a;
/* rgb */ color: rgb(242, 222, 138);
/* oklch */ color: oklch(89.9% 0.107 96.4);
Tailwind
colors: {
  custom: {
    50: '#f8e8ad',
    500: '#f2de8a',
    950: '#000000',
  },
}
SCSS
$custom: #f2de8a;
$custom-light: #f8e8ad;
$custom-dark: #000000;
JSON
{
  "hex": "#f2de8a",
  "rgb": {
    "r": 242,
    "g": 222,
    "b": 138
  },
  "hsl": {
    "h": 48.462,
    "s": 80,
    "l": 74.51
  },
  "oklch": {
    "l": 0.89874,
    "c": 0.10654,
    "h": 96.4
  },
  "luminance": 0.72955
}

Semantic roles & 50–950 ramp

primary
#F2DE8A
secondary
#526ACE
accent
#32DC09
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#171610
muted
#858481

Preview Lab

Preview with #F2DE8A

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

Preview Lab → · Contrast checker → · Palette generator →

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