#F8F36B#F8F36B

#F8F36B 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.02:1 contrast (WCAG AA passes).

Color values

HEX#F8F36B
RGBrgb(248, 243, 107)
HSLhsl(58, 91%, 70%)
HSVhsv(58, 57%, 97%)
CMYKcmyk(0%, 2%, 56.9%, 2.7%)
CIE-LABlab(93.94, -15.09, 64.72)
CIE-LCHlch(93.94, 66.46, 103.13°)
OKLaboklab(94.25% -0.0459 0.1494)
OKLCHoklch(94.25% 0.156 107.1)
XYZxyz(73.4181, 85.1214, 26.4697)
Luminance0.8512 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F36B #6B70F8
analogous
#F8AC6B #F8F36B #B7F86B
triadic
#F8F36B #6BF8F3 #F36BF8
tetradic
#F8F36B #6BF8AC #6B70F8 #F86BB7
square
#F8F36B #6BF8AC #6B70F8 #F86BB7
split-complementary
#F8F36B #6BB7F8 #AC6BF8
monochromatic
#DED70B #F5EE31 #F8F36B #FBF8A5 #FEFCE0

Accessibility & contrast

On white

1.17
#F8F36B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.02
#F8F36B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F36B
18.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F36B#FFFFFF#000000##000000
##F8F36B1.001.1718.0218.02
#FFFFFF1.171.0021.0021.00
#00000018.0221.001.001.00
##00000018.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB5C
Deuteranopia (green-blind)
#FFF072
Tritanopia (blue-blind)
#FFE5D5
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f8f36b;
/* rgb */ color: rgb(248, 243, 107);
/* oklch */ color: oklch(94.3% 0.156 107.1);
Tailwind
colors: {
  custom: {
    50: '#fdf69a',
    500: '#f8f36b',
    950: '#000000',
  },
}
SCSS
$custom: #f8f36b;
$custom-light: #fdf69a;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f36b",
  "rgb": {
    "r": 248,
    "g": 243,
    "b": 107
  },
  "hsl": {
    "h": 57.872,
    "s": 90.968,
    "l": 69.608
  },
  "oklch": {
    "l": 0.9425,
    "c": 0.15634,
    "h": 107.1
  },
  "luminance": 0.85119
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F8F36B

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

Preview Lab → · Contrast checker → · Palette generator →

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