#F6F189#F6F189

#F6F189 is a very light, vivid yellow. Relative luminance 0.843; OKLCH L 94.0% C 0.126 H 106.2°. Best body text is #000000 at 17.86:1 contrast (WCAG AA passes).

Color values

HEX#F6F189
RGBrgb(246, 241, 137)
HSLhsl(57, 86%, 75%)
HSVhsv(57, 44%, 96%)
CMYKcmyk(0%, 2%, 44.3%, 3.5%)
CIE-LABlab(93.59, -12.42, 50.59)
CIE-LCHlch(93.59, 52.10, 103.79°)
OKLaboklab(94.04% -0.0352 0.1215)
OKLCHoklch(94.04% 0.126 106.2)
XYZxyz(73.9782, 84.3115, 36.0388)
Luminance0.8431 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6F189 #898EF6
analogous
#F6BB89 #F6F189 #C4F689
triadic
#F6F189 #89F6F1 #F189F6
tetradic
#F6F189 #89F6BB #898EF6 #F689C4
square
#F6F189 #89F6BB #898EF6 #F689C4
split-complementary
#F6F189 #89C4F6 #BB89F6
monochromatic
#EDE417 #F2EA50 #F6F189 #FAF8C2 #FDFCE3

Accessibility & contrast

On white

1.18
#F6F189 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.86
#F6F189 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6F189
17.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6F189#FFFFFF#000000##000000
##F6F1891.001.1817.8617.86
#FFFFFF1.181.0021.0021.00
#00000017.8621.001.001.00
##00000017.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA80
Deuteranopia (green-blind)
#FFEF8E
Tritanopia (blue-blind)
#FFE5D8
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #f6f189;
/* rgb */ color: rgb(246, 241, 137);
/* oklch */ color: oklch(94.0% 0.126 106.2);
Tailwind
colors: {
  custom: {
    50: '#fbf5ad',
    500: '#f6f189',
    950: '#000000',
  },
}
SCSS
$custom: #f6f189;
$custom-light: #fbf5ad;
$custom-dark: #000000;
JSON
{
  "hex": "#f6f189",
  "rgb": {
    "r": 246,
    "g": 241,
    "b": 137
  },
  "hsl": {
    "h": 57.248,
    "s": 85.827,
    "l": 75.098
  },
  "oklch": {
    "l": 0.94038,
    "c": 0.12648,
    "h": 106.2
  },
  "luminance": 0.8431
}

Semantic roles & 50–950 ramp

primary
#F6F189
secondary
#5056D3
accent
#0DE203
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #F6F189

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

Preview Lab → · Contrast checker → · Palette generator →

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