#F6E187#F6E187

#F6E187 is a very light, moderate yellow. Relative luminance 0.752; OKLCH L 90.8% C 0.113 H 96.6°. Best body text is #000000 at 16.04:1 contrast (WCAG AA passes).

Color values

HEX#F6E187
RGBrgb(246, 225, 135)
HSLhsl(49, 86%, 75%)
HSVhsv(49, 45%, 96%)
CMYKcmyk(0%, 8.5%, 45.1%, 3.5%)
CIE-LABlab(89.48, -4.64, 46.48)
CIE-LCHlch(89.48, 46.71, 95.70°)
OKLaboklab(90.78% -0.013 0.1121)
OKLCHoklch(90.78% 0.113 96.6)
XYZxyz(69.3063, 75.1950, 33.7803)
Luminance0.7519 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6E187 #879CF6
analogous
#F6AA87 #F6E187 #D3F687
triadic
#F6E187 #87F6E1 #E187F6
tetradic
#F6E187 #87F6AA #879CF6 #F687D3
square
#F6E187 #87F6AA #879CF6 #F687D3
split-complementary
#F6E187 #87D3F6 #AA87F6
monochromatic
#EDC515 #F2D34E #F6E187 #FAEFC0 #FDF8E3

Accessibility & contrast

On white

1.31
#F6E187 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.04
#F6E187 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6E187
16.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6E187#FFFFFF#000000##000000
##F6E1871.001.3116.0416.04
#FFFFFF1.311.0021.0021.00
#00000016.0421.001.001.00
##00000016.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1DD80
Deuteranopia (green-blind)
#F7E48B
Tritanopia (blue-blind)
#FFD5CB
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f6e187;
/* rgb */ color: rgb(246, 225, 135);
/* oklch */ color: oklch(90.8% 0.113 96.6);
Tailwind
colors: {
  custom: {
    50: '#fbeaab',
    500: '#f6e187',
    950: '#000000',
  },
}
SCSS
$custom: #f6e187;
$custom-light: #fbeaab;
$custom-dark: #000000;
JSON
{
  "hex": "#f6e187",
  "rgb": {
    "r": 246,
    "g": 225,
    "b": 135
  },
  "hsl": {
    "h": 48.649,
    "s": 86.047,
    "l": 74.706
  },
  "oklch": {
    "l": 0.90778,
    "c": 0.11289,
    "h": 96.6
  },
  "luminance": 0.75193
}

Semantic roles & 50–950 ramp

primary
#F6E187
secondary
#4E67D3
accent
#2DE303
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#181610
muted
#868481

Preview Lab

Preview with #F6E187

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

Preview Lab → · Contrast checker → · Palette generator →

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