#F6E08C#F6E08C

#F6E08C is a very light, moderate yellow. Relative luminance 0.748; OKLCH L 90.7% C 0.107 H 95.2°. Best body text is #000000 at 15.96:1 contrast (WCAG AA passes).

Color values

HEX#F6E08C
RGBrgb(246, 224, 140)
HSLhsl(48, 85%, 76%)
HSVhsv(48, 43%, 96%)
CMYKcmyk(0%, 8.9%, 43.1%, 3.5%)
CIE-LABlab(89.30, -3.64, 43.78)
CIE-LCHlch(89.30, 43.93, 94.76°)
OKLaboklab(90.65% -0.0096 0.1064)
OKLCHoklch(90.65% 0.107 95.2)
XYZxyz(69.3971, 74.8001, 35.5882)
Luminance0.7480 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6E08C #8CA2F6
analogous
#F6AB8C #F6E08C #D7F68C
triadic
#F6E08C #8CF6E0 #E08CF6
tetradic
#F6E08C #8CF6AB #8CA2F6 #F68CD7
square
#F6E08C #8CF6AB #8CA2F6 #F68CD7
split-complementary
#F6E08C #8CD7F6 #AB8CF6
monochromatic
#EDC11A #F2D153 #F6E08C #FAEFC5 #FDF7E3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F6E08C#FFFFFF#000000##000000
##F6E08C1.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)
#F0DC85
Deuteranopia (green-blind)
#F6E38F
Tritanopia (blue-blind)
#FFD4CB
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f6e08c;
/* rgb */ color: rgb(246, 224, 140);
/* oklch */ color: oklch(90.7% 0.107 95.2);
Tailwind
colors: {
  custom: {
    50: '#fbe9af',
    500: '#f6e08c',
    950: '#000000',
  },
}
SCSS
$custom: #f6e08c;
$custom-light: #fbe9af;
$custom-dark: #000000;
JSON
{
  "hex": "#f6e08c",
  "rgb": {
    "r": 246,
    "g": 224,
    "b": 140
  },
  "hsl": {
    "h": 47.547,
    "s": 85.484,
    "l": 75.686
  },
  "oklch": {
    "l": 0.90653,
    "c": 0.1068,
    "h": 95.2
  },
  "luminance": 0.74798
}

Semantic roles & 50–950 ramp

primary
#F6E08C
secondary
#536DD4
accent
#32E204
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#181610
muted
#868481

Preview Lab

Preview with #F6E08C

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

Preview Lab → · Contrast checker → · Palette generator →

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