#F6E178#F6E178

#F6E178 is a very light, vivid yellow. Relative luminance 0.748; OKLCH L 90.6% C 0.128 H 98.2°. Best body text is #000000 at 15.96:1 contrast (WCAG AA passes).

Color values

HEX#F6E178
RGBrgb(246, 225, 120)
HSLhsl(50, 88%, 72%)
HSVhsv(50, 51%, 96%)
CMYKcmyk(0%, 8.5%, 51.2%, 3.5%)
CIE-LABlab(89.30, -5.98, 53.46)
CIE-LCHlch(89.30, 53.79, 96.38°)
OKLaboklab(90.57% -0.0183 0.1265)
OKLCHoklch(90.57% 0.128 98.2)
XYZxyz(68.3236, 74.8020, 28.6049)
Luminance0.7480 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6E178 #788DF6
analogous
#F6A278 #F6E178 #CCF678
triadic
#F6E178 #78F6E1 #E178F6
tetradic
#F6E178 #78F6A2 #788DF6 #F678CC
square
#F6E178 #78F6A2 #788DF6 #F678CC
split-complementary
#F6E178 #78CCF6 #A278F6
monochromatic
#E4C10F #F2D43F #F6E178 #FAEEB1 #FDF9E2

Accessibility & contrast

On white

1.32
#F6E178 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.96
#F6E178 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6E178
15.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6E178#FFFFFF#000000##000000
##F6E1781.001.3215.9615.96
#FFFFFF1.321.0021.0021.00
#00000015.9621.001.001.00
##00000015.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DC6F
Deuteranopia (green-blind)
#F9E47D
Tritanopia (blue-blind)
#FFD4C9
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f6e178;
/* rgb */ color: rgb(246, 225, 120);
/* oklch */ color: oklch(90.6% 0.128 98.2);
Tailwind
colors: {
  custom: {
    50: '#fbeaa1',
    500: '#f6e178',
    950: '#000000',
  },
}
SCSS
$custom: #f6e178;
$custom-light: #fbeaa1;
$custom-dark: #000000;
JSON
{
  "hex": "#f6e178",
  "rgb": {
    "r": 246,
    "g": 225,
    "b": 120
  },
  "hsl": {
    "h": 50,
    "s": 87.5,
    "l": 71.765
  },
  "oklch": {
    "l": 0.90572,
    "c": 0.12782,
    "h": 98.2
  },
  "luminance": 0.74799
}

Semantic roles & 50–950 ramp

primary
#F6E178
secondary
#4159D1
accent
#27E401
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F6E178

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

Preview Lab → · Contrast checker → · Palette generator →

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