#F2DE76#F2DE76

#F2DE76 is a very light, vivid yellow. Relative luminance 0.724; OKLCH L 89.6% C 0.127 H 98.7°. Best body text is #000000 at 15.49:1 contrast (WCAG AA passes).

Color values

HEX#F2DE76
RGBrgb(242, 222, 118)
HSLhsl(50, 83%, 71%)
HSVhsv(50, 51%, 95%)
CMYKcmyk(0%, 8.3%, 51.2%, 5.1%)
CIE-LABlab(88.18, -6.24, 52.98)
CIE-LCHlch(88.18, 53.34, 96.72°)
OKLaboklab(89.59% -0.0191 0.1253)
OKLCHoklch(89.59% 0.127 98.7)
XYZxyz(66.0114, 72.4303, 27.6393)
Luminance0.7243 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DE76 #768AF2
analogous
#F2A076 #F2DE76 #C8F276
triadic
#F2DE76 #76F2DE #DE76F2
tetradic
#F2DE76 #76F2A0 #768AF2 #F276C8
square
#F2DE76 #76F2A0 #768AF2 #F276C8
split-complementary
#F2DE76 #76C8F2 #A076F2
monochromatic
#D9B915 #EDD13E #F2DE76 #F7EBAE #FCF8E3

Accessibility & contrast

On white

1.36
#F2DE76 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.49
#F2DE76 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DE76
15.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DE76#FFFFFF#000000##000000
##F2DE761.001.3615.4915.49
#FFFFFF1.361.0021.0021.00
#00000015.4921.001.001.00
##00000015.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD96D
Deuteranopia (green-blind)
#F5E07B
Tritanopia (blue-blind)
#FFD1C6
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #f2de76;
/* rgb */ color: rgb(242, 222, 118);
/* oklch */ color: oklch(89.6% 0.127 98.7);
Tailwind
colors: {
  custom: {
    50: '#f9e8a0',
    500: '#f2de76',
    950: '#000000',
  },
}
SCSS
$custom: #f2de76;
$custom-light: #f9e8a0;
$custom-dark: #000000;
JSON
{
  "hex": "#f2de76",
  "rgb": {
    "r": 242,
    "g": 222,
    "b": 118
  },
  "hsl": {
    "h": 50.323,
    "s": 82.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.89593,
    "c": 0.12677,
    "h": 98.7
  },
  "luminance": 0.72428
}

Semantic roles & 50–950 ramp

primary
#F2DE76
secondary
#4057CC
accent
#29DF06
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F2DE76

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

Preview Lab → · Contrast checker → · Palette generator →

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