#F8F36C#F8F36C

#F8F36C is a very light, vivid yellow. Relative luminance 0.851; OKLCH L 94.3% C 0.156 H 107.1°. Best body text is #000000 at 18.03:1 contrast (WCAG AA passes).

Color values

HEX#F8F36C
RGBrgb(248, 243, 108)
HSLhsl(58, 91%, 70%)
HSVhsv(58, 56%, 97%)
CMYKcmyk(0%, 2%, 56.5%, 2.7%)
CIE-LABlab(93.94, -15.02, 64.30)
CIE-LCHlch(93.94, 66.03, 103.15°)
OKLaboklab(94.26% -0.0456 0.1487)
OKLCHoklch(94.26% 0.156 107.1)
XYZxyz(73.4710, 85.1425, 26.7484)
Luminance0.8514 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F36C #6C71F8
analogous
#F8AD6C #F8F36C #B7F86C
triadic
#F8F36C #6CF8F3 #F36CF8
tetradic
#F8F36C #6CF8AD #6C71F8 #F86CB7
square
#F8F36C #6CF8AD #6C71F8 #F86CB7
split-complementary
#F8F36C #6CB7F8 #AD6CF8
monochromatic
#DFD70B #F5EE32 #F8F36C #FBF8A6 #FEFDE1

Accessibility & contrast

On white

1.16
#F8F36C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.03
#F8F36C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F36C
18.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F36C#FFFFFF#000000##000000
##F8F36C1.001.1618.0318.03
#FFFFFF1.161.0021.0021.00
#00000018.0321.001.001.00
##00000018.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB5E
Deuteranopia (green-blind)
#FFF073
Tritanopia (blue-blind)
#FFE5D6
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f8f36c;
/* rgb */ color: rgb(248, 243, 108);
/* oklch */ color: oklch(94.3% 0.156 107.1);
Tailwind
colors: {
  custom: {
    50: '#fdf69a',
    500: '#f8f36c',
    950: '#000000',
  },
}
SCSS
$custom: #f8f36c;
$custom-light: #fdf69a;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f36c",
  "rgb": {
    "r": 248,
    "g": 243,
    "b": 108
  },
  "hsl": {
    "h": 57.857,
    "s": 90.909,
    "l": 69.804
  },
  "oklch": {
    "l": 0.9426,
    "c": 0.15551,
    "h": 107.1
  },
  "luminance": 0.8514
}

Semantic roles & 50–950 ramp

primary
#F8F36C
secondary
#363BD2
accent
#08E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F8F36C

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

Preview Lab → · Contrast checker → · Palette generator →

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