#F2DA78#F2DA78

#F2DA78 is a very light, vivid yellow. Relative luminance 0.704; OKLCH L 88.8% C 0.121 H 95.9°. Best body text is #000000 at 15.08:1 contrast (WCAG AA passes).

Color values

HEX#F2DA78
RGBrgb(242, 218, 120)
HSLhsl(48, 82%, 71%)
HSVhsv(48, 50%, 95%)
CMYKcmyk(0%, 9.9%, 50.4%, 5.1%)
CIE-LABlab(87.18, -4.05, 50.84)
CIE-LCHlch(87.18, 51.00, 94.56°)
OKLaboklab(88.82% -0.0125 0.1208)
OKLCHoklch(88.82% 0.121 95.9)
XYZxyz(65.0817, 70.3788, 27.9220)
Luminance0.7038 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DA78 #7890F2
analogous
#F29D78 #F2DA78 #CDF278
triadic
#F2DA78 #78F2DA #DA78F2
tetradic
#F2DA78 #78F29D #7890F2 #F278CD
square
#F2DA78 #78F29D #7890F2 #F278CD
split-complementary
#F2DA78 #78CDF2 #9D78F2
monochromatic
#DBB415 #EDCB40 #F2DA78 #F7E9B0 #FCF7E3

Accessibility & contrast

On white

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

On black

15.08
#F2DA78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DA78
15.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DA78#FFFFFF#000000##000000
##F2DA781.001.3915.0815.08
#FFFFFF1.391.0021.0021.00
#00000015.0821.001.001.00
##00000015.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2da78;
/* rgb */ color: rgb(242, 218, 120);
/* oklch */ color: oklch(88.8% 0.121 95.9);
Tailwind
colors: {
  custom: {
    50: '#f9e5a1',
    500: '#f2da78',
    950: '#000000',
  },
}
SCSS
$custom: #f2da78;
$custom-light: #f9e5a1;
$custom-dark: #000000;
JSON
{
  "hex": "#f2da78",
  "rgb": {
    "r": 242,
    "g": 218,
    "b": 120
  },
  "hsl": {
    "h": 48.197,
    "s": 82.432,
    "l": 70.98
  },
  "oklch": {
    "l": 0.88815,
    "c": 0.12145,
    "h": 95.9
  },
  "luminance": 0.70376
}

Semantic roles & 50–950 ramp

primary
#F2DA78
secondary
#425DCC
accent
#31DF07
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150F
muted
#868480

Preview Lab

Preview with #F2DA78

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

Preview Lab → · Contrast checker → · Palette generator →

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