#F2DA76#F2DA76

#F2DA76 is a very light, vivid yellow. Relative luminance 0.703; OKLCH L 88.8% C 0.123 H 96.2°. Best body text is #000000 at 15.07:1 contrast (WCAG AA passes).

Color values

HEX#F2DA76
RGBrgb(242, 218, 118)
HSLhsl(48, 83%, 71%)
HSVhsv(48, 51%, 95%)
CMYKcmyk(0%, 9.9%, 51.2%, 5.1%)
CIE-LABlab(87.16, -4.22, 51.76)
CIE-LCHlch(87.16, 51.93, 94.66°)
OKLaboklab(88.79% -0.0132 0.1227)
OKLCHoklch(88.79% 0.123 96.2)
XYZxyz(64.9616, 70.3307, 27.2894)
Luminance0.7033 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DA76 #768EF2
analogous
#F29C76 #F2DA76 #CCF276
triadic
#F2DA76 #76F2DA #DA76F2
tetradic
#F2DA76 #76F29C #768EF2 #F276CC
square
#F2DA76 #76F29C #768EF2 #F276CC
split-complementary
#F2DA76 #76CCF2 #9C76F2
monochromatic
#D9B315 #EDCB3E #F2DA76 #F7E9AE #FCF7E3

Accessibility & contrast

On white

1.39
#F2DA76 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.07
#F2DA76 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DA76
15.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DA76#FFFFFF#000000##000000
##F2DA761.001.3915.0715.07
#FFFFFF1.391.0021.0021.00
#00000015.0721.001.001.00
##00000015.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD66D
Deuteranopia (green-blind)
#F2DE7A
Tritanopia (blue-blind)
#FFCDC3
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #f2da76;
/* rgb */ color: rgb(242, 218, 118);
/* oklch */ color: oklch(88.8% 0.123 96.2);
Tailwind
colors: {
  custom: {
    50: '#f9e5a0',
    500: '#f2da76',
    950: '#000000',
  },
}
SCSS
$custom: #f2da76;
$custom-light: #f9e5a0;
$custom-dark: #000000;
JSON
{
  "hex": "#f2da76",
  "rgb": {
    "r": 242,
    "g": 218,
    "b": 118
  },
  "hsl": {
    "h": 48.387,
    "s": 82.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.88789,
    "c": 0.12338,
    "h": 96.2
  },
  "luminance": 0.70328
}

Semantic roles & 50–950 ramp

primary
#F2DA76
secondary
#405BCC
accent
#30DF06
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150F
muted
#868480

Preview Lab

Preview with #F2DA76

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

Preview Lab → · Contrast checker → · Palette generator →

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