#F8F37D#F8F37D

#F8F37D is a very light, vivid yellow. Relative luminance 0.855; OKLCH L 94.5% C 0.140 H 106.6°. Best body text is #000000 at 18.11:1 contrast (WCAG AA passes).

Color values

HEX#F8F37D
RGBrgb(248, 243, 125)
HSLhsl(58, 90%, 73%)
HSVhsv(58, 50%, 97%)
CMYKcmyk(0%, 2%, 49.6%, 2.7%)
CIE-LABlab(94.12, -13.70, 56.90)
CIE-LCHlch(94.12, 58.53, 103.54°)
OKLaboklab(94.45% -0.0401 0.1344)
OKLCHoklch(94.45% 0.14 106.6)
XYZxyz(74.4655, 85.5404, 31.9864)
Luminance0.8554 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F37D #7D82F8
analogous
#F8B57D #F8F37D #BFF87D
triadic
#F8F37D #7DF8F3 #F37DF8
tetradic
#F8F37D #7DF8B5 #7D82F8 #F87DBF
square
#F8F37D #7DF8B5 #7D82F8 #F87DBF
split-complementary
#F8F37D #7DBFF8 #B57DF8
monochromatic
#EEE50D #F5EE43 #F8F37D #FBF8B7 #FDFCE2

Accessibility & contrast

On white

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

On black

18.11
#F8F37D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F37D
18.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F37D#FFFFFF#000000##000000
##F8F37D1.001.1618.1118.11
#FFFFFF1.161.0021.0021.00
#00000018.1121.001.001.00
##00000018.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB72
Deuteranopia (green-blind)
#FFF083
Tritanopia (blue-blind)
#FFE6D8
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f8f37d;
/* rgb */ color: rgb(248, 243, 125);
/* oklch */ color: oklch(94.5% 0.140 106.6);
Tailwind
colors: {
  custom: {
    50: '#fdf6a5',
    500: '#f8f37d',
    950: '#000000',
  },
}
SCSS
$custom: #f8f37d;
$custom-light: #fdf6a5;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f37d",
  "rgb": {
    "r": 248,
    "g": 243,
    "b": 125
  },
  "hsl": {
    "h": 57.561,
    "s": 89.781,
    "l": 73.137
  },
  "oklch": {
    "l": 0.94452,
    "c": 0.14028,
    "h": 106.6
  },
  "luminance": 0.85538
}

Semantic roles & 50–950 ramp

primary
#F8F37D
secondary
#454BD4
accent
#09E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F8F37D

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

Preview Lab → · Contrast checker → · Palette generator →

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