#F6D778#F6D778

#F6D778 is a very light, moderate yellow. Relative luminance 0.696; OKLCH L 88.6% C 0.120 H 91.8°. Best body text is #000000 at 14.91:1 contrast (WCAG AA passes).

Color values

HEX#F6D778
RGBrgb(246, 215, 120)
HSLhsl(45, 88%, 72%)
HSVhsv(45, 51%, 96%)
CMYKcmyk(0%, 12.6%, 51.2%, 3.5%)
CIE-LABlab(86.78, -0.92, 50.43)
CIE-LCHlch(86.78, 50.44, 91.04°)
OKLaboklab(88.58% -0.0037 0.1199)
OKLCHoklch(88.58% 0.12 91.8)
XYZxyz(65.6990, 69.5528, 27.7301)
Luminance0.6955 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6D778 #7897F6
analogous
#F69878 #F6D778 #D6F678
triadic
#F6D778 #78F6D7 #D778F6
tetradic
#F6D778 #78F698 #7897F6 #F678D6
square
#F6D778 #78F698 #7897F6 #F678D6
split-complementary
#F6D778 #78D6F6 #9878F6
monochromatic
#E4B00F #F2C63F #F6D778 #FAE8B1 #FDF6E2

Accessibility & contrast

On white

1.41
#F6D778 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.91
#F6D778 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6D778
14.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6D778#FFFFFF#000000##000000
##F6D7781.001.4114.9114.91
#FFFFFF1.411.0021.0021.00
#00000014.9121.001.001.00
##00000014.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D470
Deuteranopia (green-blind)
#F1DD7C
Tritanopia (blue-blind)
#FFCAC1
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #f6d778;
/* rgb */ color: rgb(246, 215, 120);
/* oklch */ color: oklch(88.6% 0.120 91.8);
Tailwind
colors: {
  custom: {
    50: '#fbe3a1',
    500: '#f6d778',
    950: '#000000',
  },
}
SCSS
$custom: #f6d778;
$custom-light: #fbe3a1;
$custom-dark: #000000;
JSON
{
  "hex": "#f6d778",
  "rgb": {
    "r": 246,
    "g": 215,
    "b": 120
  },
  "hsl": {
    "h": 45.238,
    "s": 87.5,
    "l": 71.765
  },
  "oklch": {
    "l": 0.88578,
    "c": 0.11991,
    "h": 91.8
  },
  "luminance": 0.6955
}

Semantic roles & 50–950 ramp

primary
#F6D778
secondary
#4164D1
accent
#39E401
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150F
muted
#868480

Preview Lab

Preview with #F6D778

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

Preview Lab → · Contrast checker → · Palette generator →

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