#F2DF99#F2DF99

#F2DF99 is a very light, moderate yellow. Relative luminance 0.740; OKLCH L 90.3% C 0.091 H 94.7°. Best body text is #000000 at 15.79:1 contrast (WCAG AA passes).

Color values

HEX#F2DF99
RGBrgb(242, 223, 153)
HSLhsl(47, 77%, 77%)
HSVhsv(47, 37%, 95%)
CMYKcmyk(0%, 7.9%, 36.8%, 5.1%)
CIE-LABlab(88.90, -3.32, 36.69)
CIE-LCHlch(88.90, 36.84, 95.16°)
OKLaboklab(90.32% -0.0075 0.0907)
OKLCHoklch(90.32% 0.091 94.7)
XYZxyz(68.7566, 73.9547, 40.7836)
Luminance0.7395 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DF99 #99ACF2
analogous
#F2B399 #F2DF99 #D8F299
triadic
#F2DF99 #99F2DF #DF99F2
tetradic
#F2DF99 #99F2B3 #99ACF2 #F299D8
square
#F2DF99 #99F2B3 #99ACF2 #F299D8
split-complementary
#F2DF99 #99D8F2 #B399F2
monochromatic
#E4BD2C #EBCE63 #F2DF99 #F9F0CF #FCF6E4

Accessibility & contrast

On white

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

On black

15.79
#F2DF99 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DF99
15.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DF99#FFFFFF#000000##000000
##F2DF991.001.3315.7915.79
#FFFFFF1.331.0021.0021.00
#00000015.7921.001.001.00
##00000015.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDDC94
Deuteranopia (green-blind)
#F2E29B
Tritanopia (blue-blind)
#FFD5CD
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #f2df99;
/* rgb */ color: rgb(242, 223, 153);
/* oklch */ color: oklch(90.3% 0.091 94.7);
Tailwind
colors: {
  custom: {
    50: '#f7e8b7',
    500: '#f2df99',
    950: '#000000',
  },
}
SCSS
$custom: #f2df99;
$custom-light: #f7e8b7;
$custom-dark: #000000;
JSON
{
  "hex": "#f2df99",
  "rgb": {
    "r": 242,
    "g": 223,
    "b": 153
  },
  "hsl": {
    "h": 47.191,
    "s": 77.391,
    "l": 77.451
  },
  "oklch": {
    "l": 0.90321,
    "c": 0.09101,
    "h": 94.7
  },
  "luminance": 0.73953
}

Semantic roles & 50–950 ramp

primary
#F2DF99
secondary
#6078D0
accent
#38DA0C
background
#FFFEFD
surface
#FFFCF8
border
#D7D5D1
text
#171611
muted
#858481

Preview Lab

Preview with #F2DF99

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

Preview Lab → · Contrast checker → · Palette generator →

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