#F6E173#F6E173

#F6E173 is a very light, vivid yellow. Relative luminance 0.747; OKLCH L 90.5% C 0.133 H 98.7°. Best body text is #000000 at 15.94:1 contrast (WCAG AA passes).

Color values

HEX#F6E173
RGBrgb(246, 225, 115)
HSLhsl(50, 88%, 71%)
HSVhsv(50, 53%, 96%)
CMYKcmyk(0%, 8.5%, 53.3%, 3.5%)
CIE-LABlab(89.24, -6.39, 55.73)
CIE-LCHlch(89.24, 56.10, 96.54°)
OKLaboklab(90.51% -0.02 0.131)
OKLCHoklch(90.51% 0.133 98.7)
XYZxyz(68.0281, 74.6838, 27.0484)
Luminance0.7468 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6E173 #7388F6
analogous
#F69F73 #F6E173 #C9F673
triadic
#F6E173 #73F6E1 #E173F6
tetradic
#F6E173 #73F69F #7388F6 #F673C9
square
#F6E173 #73F69F #7388F6 #F673C9
split-complementary
#F6E173 #73C9F6 #9F73F6
monochromatic
#E0BF0E #F2D539 #F6E173 #FAEDAD #FDF9E2

Accessibility & contrast

On white

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

On black

15.94
#F6E173 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6E173
15.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6E173#FFFFFF#000000##000000
##F6E1731.001.3215.9415.94
#FFFFFF1.321.0021.0021.00
#00000015.9421.001.001.00
##00000015.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DC69
Deuteranopia (green-blind)
#F9E478
Tritanopia (blue-blind)
#FFD3C8
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f6e173;
/* rgb */ color: rgb(246, 225, 115);
/* oklch */ color: oklch(90.5% 0.133 98.7);
Tailwind
colors: {
  custom: {
    50: '#fcea9e',
    500: '#f6e173',
    950: '#000000',
  },
}
SCSS
$custom: #f6e173;
$custom-light: #fcea9e;
$custom-dark: #000000;
JSON
{
  "hex": "#f6e173",
  "rgb": {
    "r": 246,
    "g": 225,
    "b": 115
  },
  "hsl": {
    "h": 50.382,
    "s": 87.919,
    "l": 70.784
  },
  "oklch": {
    "l": 0.9051,
    "c": 0.13252,
    "h": 98.7
  },
  "luminance": 0.74681
}

Semantic roles & 50–950 ramp

primary
#F6E173
secondary
#3D54D1
accent
#25E401
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F6E173

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

Preview Lab → · Contrast checker → · Palette generator →

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