#F2DD76#F2DD76

#F2DD76 is a very light, vivid yellow. Relative luminance 0.719; OKLCH L 89.4% C 0.126 H 98.0°. Best body text is #000000 at 15.38:1 contrast (WCAG AA passes).

Color values

HEX#F2DD76
RGBrgb(242, 221, 118)
HSLhsl(50, 83%, 71%)
HSVhsv(50, 51%, 95%)
CMYKcmyk(0%, 8.7%, 51.2%, 5.1%)
CIE-LABlab(87.92, -5.74, 52.67)
CIE-LCHlch(87.92, 52.99, 96.22°)
OKLaboklab(89.39% -0.0176 0.1247)
OKLCHoklch(89.39% 0.126 98)
XYZxyz(65.7466, 71.9007, 27.5511)
Luminance0.7190 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DD76 #768BF2
analogous
#F29F76 #F2DD76 #C9F276
triadic
#F2DD76 #76F2DD #DD76F2
tetradic
#F2DD76 #76F29F #768BF2 #F276C9
square
#F2DD76 #76F29F #768BF2 #F276C9
split-complementary
#F2DD76 #76C9F2 #9F76F2
monochromatic
#D9B815 #EDCF3E #F2DD76 #F7EBAE #FCF8E3

Accessibility & contrast

On white

1.37
#F2DD76 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.38
#F2DD76 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DD76
15.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DD76#FFFFFF#000000##000000
##F2DD761.001.3715.3815.38
#FFFFFF1.371.0021.0021.00
#00000015.3821.001.001.00
##00000015.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD86D
Deuteranopia (green-blind)
#F4E07A
Tritanopia (blue-blind)
#FFD0C5
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #f2dd76;
/* rgb */ color: rgb(242, 221, 118);
/* oklch */ color: oklch(89.4% 0.126 98.0);
Tailwind
colors: {
  custom: {
    50: '#f9e7a0',
    500: '#f2dd76',
    950: '#000000',
  },
}
SCSS
$custom: #f2dd76;
$custom-light: #f9e7a0;
$custom-dark: #000000;
JSON
{
  "hex": "#f2dd76",
  "rgb": {
    "r": 242,
    "g": 221,
    "b": 118
  },
  "hsl": {
    "h": 49.839,
    "s": 82.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.89392,
    "c": 0.12591,
    "h": 98
  },
  "luminance": 0.71898
}

Semantic roles & 50–950 ramp

primary
#F2DD76
secondary
#4058CC
accent
#2BDF06
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F2DD76

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

Preview Lab → · Contrast checker → · Palette generator →

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