#F3DF78#F3DF78

#F3DF78 is a very light, vivid yellow. Relative luminance 0.732; OKLCH L 89.9% C 0.126 H 98.6°. Best body text is #000000 at 15.64:1 contrast (WCAG AA passes).

Color values

HEX#F3DF78
RGBrgb(243, 223, 120)
HSLhsl(50, 84%, 71%)
HSVhsv(50, 51%, 95%)
CMYKcmyk(0%, 8.2%, 50.6%, 4.7%)
CIE-LABlab(88.54, -6.18, 52.49)
CIE-LCHlch(88.54, 52.85, 96.71°)
OKLaboklab(89.91% -0.0187 0.1244)
OKLCHoklch(89.91% 0.126 98.6)
XYZxyz(66.7421, 73.1886, 28.3768)
Luminance0.7319 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F3DF78 #788CF3
analogous
#F3A178 #F3DF78 #C9F378
triadic
#F3DF78 #78F3DF #DF78F3
tetradic
#F3DF78 #78F3A1 #788CF3 #F378C9
square
#F3DF78 #78F3A1 #788CF3 #F378C9
split-complementary
#F3DF78 #78C9F3 #A178F3
monochromatic
#DDBC14 #EED240 #F3DF78 #F8ECB0 #FDF8E3

Accessibility & contrast

On white

1.34
#F3DF78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.64
#F3DF78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F3DF78
15.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F3DF78#FFFFFF#000000##000000
##F3DF781.001.3415.6415.64
#FFFFFF1.341.0021.0021.00
#00000015.6421.001.001.00
##00000015.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0DA6F
Deuteranopia (green-blind)
#F6E17C
Tritanopia (blue-blind)
#FFD2C7
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #f3df78;
/* rgb */ color: rgb(243, 223, 120);
/* oklch */ color: oklch(89.9% 0.126 98.6);
Tailwind
colors: {
  custom: {
    50: '#f9e8a1',
    500: '#f3df78',
    950: '#000000',
  },
}
SCSS
$custom: #f3df78;
$custom-light: #f9e8a1;
$custom-dark: #000000;
JSON
{
  "hex": "#f3df78",
  "rgb": {
    "r": 243,
    "g": 223,
    "b": 120
  },
  "hsl": {
    "h": 50.244,
    "s": 83.673,
    "l": 71.176
  },
  "oklch": {
    "l": 0.89908,
    "c": 0.12581,
    "h": 98.6
  },
  "luminance": 0.73186
}

Semantic roles & 50–950 ramp

primary
#F3DF78
secondary
#4258CE
accent
#29E005
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F3DF78

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

Preview Lab → · Contrast checker → · Palette generator →

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