#F2DE99#F2DE99

#F2DE99 is a very light, moderate yellow. Relative luminance 0.734; OKLCH L 90.1% C 0.090 H 93.9°. Best body text is #000000 at 15.68:1 contrast (WCAG AA passes).

Color values

HEX#F2DE99
RGBrgb(242, 222, 153)
HSLhsl(47, 77%, 77%)
HSVhsv(47, 37%, 95%)
CMYKcmyk(0%, 8.3%, 36.8%, 5.1%)
CIE-LABlab(88.65, -2.81, 36.36)
CIE-LCHlch(88.65, 36.47, 94.41°)
OKLaboklab(90.12% -0.0061 0.0899)
OKLCHoklch(90.12% 0.09 93.9)
XYZxyz(68.4903, 73.4219, 40.6948)
Luminance0.7342 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DE99 #99ADF2
analogous
#F2B299 #F2DE99 #D9F299
triadic
#F2DE99 #99F2DE #DE99F2
tetradic
#F2DE99 #99F2B2 #99ADF2 #F299D9
square
#F2DE99 #99F2B2 #99ADF2 #F299D9
split-complementary
#F2DE99 #99D9F2 #B299F2
monochromatic
#E4BB2C #EBCC63 #F2DE99 #F9F0CF #FCF6E4

Accessibility & contrast

On white

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

On black

15.68
#F2DE99 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DE99
15.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DE99#FFFFFF#000000##000000
##F2DE991.001.3415.6815.68
#FFFFFF1.341.0021.0021.00
#00000015.6821.001.001.00
##00000015.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECDB94
Deuteranopia (green-blind)
#F1E19B
Tritanopia (blue-blind)
#FFD4CC
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #f2de99;
/* rgb */ color: rgb(242, 222, 153);
/* oklch */ color: oklch(90.1% 0.090 93.9);
Tailwind
colors: {
  custom: {
    50: '#f7e8b7',
    500: '#f2de99',
    950: '#000000',
  },
}
SCSS
$custom: #f2de99;
$custom-light: #f7e8b7;
$custom-dark: #000000;
JSON
{
  "hex": "#f2de99",
  "rgb": {
    "r": 242,
    "g": 222,
    "b": 153
  },
  "hsl": {
    "h": 46.517,
    "s": 77.391,
    "l": 77.451
  },
  "oklch": {
    "l": 0.90121,
    "c": 0.09013,
    "h": 93.9
  },
  "luminance": 0.7342
}

Semantic roles & 50–950 ramp

primary
#F2DE99
secondary
#6079D0
accent
#3ADA0C
background
#FFFEFD
surface
#FFFCF8
border
#D7D5D1
text
#171611
muted
#858481

Preview Lab

Preview with #F2DE99

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

Preview Lab → · Contrast checker → · Palette generator →

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