#F8EE6B#F8EE6B

#F8EE6B is a very light, vivid yellow. Relative luminance 0.822; OKLCH L 93.2% C 0.151 H 104.9°. Best body text is #000000 at 17.43:1 contrast (WCAG AA passes).

Color values

HEX#F8EE6B
RGBrgb(248, 238, 107)
HSLhsl(56, 91%, 70%)
HSVhsv(56, 57%, 97%)
CMYKcmyk(0%, 4%, 56.9%, 2.7%)
CIE-LABlab(92.65, -12.65, 63.28)
CIE-LCHlch(92.65, 64.53, 101.30°)
OKLaboklab(93.23% -0.039 0.1464)
OKLCHoklch(93.23% 0.151 104.9)
XYZxyz(71.9421, 82.1695, 25.9777)
Luminance0.8217 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8EE6B #6B75F8
analogous
#F8A86B #F8EE6B #BBF86B
triadic
#F8EE6B #6BF8EE #EE6BF8
tetradic
#F8EE6B #6BF8A8 #6B75F8 #F86BBB
square
#F8EE6B #6BF8A8 #6B75F8 #F86BBB
split-complementary
#F8EE6B #6BBBF8 #A86BF8
monochromatic
#DECF0B #F5E731 #F8EE6B #FBF5A5 #FEFBE0

Accessibility & contrast

On white

1.20
#F8EE6B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.43
#F8EE6B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8EE6B
17.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8EE6B#FFFFFF#000000##000000
##F8EE6B1.001.2017.4317.43
#FFFFFF1.201.0021.0021.00
#00000017.4321.001.001.00
##00000017.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE65D
Deuteranopia (green-blind)
#FFED72
Tritanopia (blue-blind)
#FFE0D1
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f8ee6b;
/* rgb */ color: rgb(248, 238, 107);
/* oklch */ color: oklch(93.2% 0.151 104.9);
Tailwind
colors: {
  custom: {
    50: '#fdf39a',
    500: '#f8ee6b',
    950: '#000000',
  },
}
SCSS
$custom: #f8ee6b;
$custom-light: #fdf39a;
$custom-dark: #000000;
JSON
{
  "hex": "#f8ee6b",
  "rgb": {
    "r": 248,
    "g": 238,
    "b": 107
  },
  "hsl": {
    "h": 55.745,
    "s": 90.968,
    "l": 69.608
  },
  "oklch": {
    "l": 0.93227,
    "c": 0.15146,
    "h": 104.9
  },
  "luminance": 0.82167
}

Semantic roles & 50–950 ramp

primary
#F8EE6B
secondary
#3540D2
accent
#10E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F8EE6B

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

Preview Lab → · Contrast checker → · Palette generator →

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