#F6E487#F6E487

#F6E487 is a very light, moderate yellow. Relative luminance 0.768; OKLCH L 91.4% C 0.116 H 98.6°. Best body text is #000000 at 16.37:1 contrast (WCAG AA passes).

Color values

HEX#F6E487
RGBrgb(246, 228, 135)
HSLhsl(50, 86%, 75%)
HSVhsv(50, 45%, 96%)
CMYKcmyk(0%, 7.3%, 45.1%, 3.5%)
CIE-LABlab(90.24, -6.15, 47.42)
CIE-LCHlch(90.24, 47.82, 97.39°)
OKLaboklab(91.38% -0.0173 0.1143)
OKLCHoklch(91.38% 0.116 98.6)
XYZxyz(70.1244, 76.8313, 34.0530)
Luminance0.7683 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6E487 #8799F6
analogous
#F6AC87 #F6E487 #D1F687
triadic
#F6E487 #87F6E4 #E487F6
tetradic
#F6E487 #87F6AC #8799F6 #F687D1
square
#F6E487 #87F6AC #8799F6 #F687D1
split-complementary
#F6E487 #87D1F6 #AC87F6
monochromatic
#EDCA15 #F2D74E #F6E487 #FAF1C0 #FDF9E3

Accessibility & contrast

On white

1.28
#F6E487 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.37
#F6E487 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6E487
16.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6E487#FFFFFF#000000##000000
##F6E4871.001.2816.3716.37
#FFFFFF1.281.0021.0021.00
#00000016.3721.001.001.00
##00000016.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DF7F
Deuteranopia (green-blind)
#F9E68B
Tritanopia (blue-blind)
#FFD8CE
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f6e487;
/* rgb */ color: rgb(246, 228, 135);
/* oklch */ color: oklch(91.4% 0.116 98.6);
Tailwind
colors: {
  custom: {
    50: '#fbecab',
    500: '#f6e487',
    950: '#000000',
  },
}
SCSS
$custom: #f6e487;
$custom-light: #fbecab;
$custom-dark: #000000;
JSON
{
  "hex": "#f6e487",
  "rgb": {
    "r": 246,
    "g": 228,
    "b": 135
  },
  "hsl": {
    "h": 50.27,
    "s": 86.047,
    "l": 74.706
  },
  "oklch": {
    "l": 0.91379,
    "c": 0.11557,
    "h": 98.6
  },
  "luminance": 0.76829
}

Semantic roles & 50–950 ramp

primary
#F6E487
secondary
#4E64D3
accent
#27E303
background
#FFFEFD
surface
#FFFDF7
border
#D7D5D0
text
#181610
muted
#868481

Preview Lab

Preview with #F6E487

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

Preview Lab → · Contrast checker → · Palette generator →

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