#F8E38F#F8E38F

#F8E38F is a very light, moderate yellow. Relative luminance 0.769; OKLCH L 91.5% C 0.107 H 95.8°. Best body text is #000000 at 16.38:1 contrast (WCAG AA passes).

Color values

HEX#F8E38F
RGBrgb(248, 227, 143)
HSLhsl(48, 88%, 77%)
HSVhsv(48, 42%, 97%)
CMYKcmyk(0%, 8.5%, 42.3%, 2.7%)
CIE-LABlab(90.27, -4.07, 43.56)
CIE-LCHlch(90.27, 43.75, 95.34°)
OKLaboklab(91.47% -0.0107 0.106)
OKLCHoklch(91.47% 0.107 95.8)
XYZxyz(71.1402, 76.8803, 37.0733)
Luminance0.7688 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E38F #8FA4F8
analogous
#F8AF8F #F8E38F #D9F88F
triadic
#F8E38F #8FF8E3 #E38FF8
tetradic
#F8E38F #8FF8AF #8FA4F8 #F88FD9
square
#F8E38F #8FF8AF #8FA4F8 #F88FD9
split-complementary
#F8E38F #8FD9F8 #AF8FF8
monochromatic
#F1C61C #F4D555 #F8E38F #FCF1C9 #FDF8E2

Accessibility & contrast

On white

1.28
#F8E38F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.38
#F8E38F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8E38F
16.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8E38F#FFFFFF#000000##000000
##F8E38F1.001.2816.3816.38
#FFFFFF1.281.0021.0021.00
#00000016.3821.001.001.00
##00000016.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DF89
Deuteranopia (green-blind)
#F9E692
Tritanopia (blue-blind)
#FFD7CE
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f8e38f;
/* rgb */ color: rgb(248, 227, 143);
/* oklch */ color: oklch(91.5% 0.107 95.8);
Tailwind
colors: {
  custom: {
    50: '#fcebb1',
    500: '#f8e38f',
    950: '#000000',
  },
}
SCSS
$custom: #f8e38f;
$custom-light: #fcebb1;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e38f",
  "rgb": {
    "r": 248,
    "g": 227,
    "b": 143
  },
  "hsl": {
    "h": 48,
    "s": 88.235,
    "l": 76.667
  },
  "oklch": {
    "l": 0.91472,
    "c": 0.10654,
    "h": 95.8
  },
  "luminance": 0.76878
}

Semantic roles & 50–950 ramp

primary
#F8E38F
secondary
#556FD7
accent
#2EE501
background
#FFFEFD
surface
#FFFDF7
border
#D7D5D0
text
#181611
muted
#868481

Preview Lab

Preview with #F8E38F

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

Preview Lab → · Contrast checker → · Palette generator →

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