#F8E592#F8E592

#F8E592 is a very light, moderate yellow. Relative luminance 0.781; OKLCH L 91.9% C 0.105 H 96.8°. Best body text is #000000 at 16.61:1 contrast (WCAG AA passes).

Color values

HEX#F8E592
RGBrgb(248, 229, 146)
HSLhsl(49, 88%, 77%)
HSVhsv(49, 41%, 97%)
CMYKcmyk(0%, 7.7%, 41.1%, 2.7%)
CIE-LABlab(90.81, -4.78, 42.77)
CIE-LCHlch(90.81, 43.04, 96.37°)
OKLaboklab(91.92% -0.0125 0.1044)
OKLCHoklch(91.92% 0.105 96.8)
XYZxyz(71.9206, 78.0728, 38.4696)
Luminance0.7807 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E592 #92A5F8
analogous
#F8B292 #F8E592 #D8F892
triadic
#F8E592 #92F8E5 #E592F8
tetradic
#F8E592 #92F8B2 #92A5F8 #F892D8
square
#F8E592 #92F8B2 #92A5F8 #F892D8
split-complementary
#F8E592 #92D8F8 #B292F8
monochromatic
#F1CA1F #F4D758 #F8E592 #FCF3CC #FDF8E2

Accessibility & contrast

On white

1.26
#F8E592 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.61
#F8E592 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8E592
16.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8E592#FFFFFF#000000##000000
##F8E5921.001.2616.6116.61
#FFFFFF1.261.0021.0021.00
#00000016.6121.001.001.00
##00000016.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4E18C
Deuteranopia (green-blind)
#FAE895
Tritanopia (blue-blind)
#FFDAD0
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f8e592;
/* rgb */ color: rgb(248, 229, 146);
/* oklch */ color: oklch(91.9% 0.105 96.8);
Tailwind
colors: {
  custom: {
    50: '#fcedb3',
    500: '#f8e592',
    950: '#000000',
  },
}
SCSS
$custom: #f8e592;
$custom-light: #fcedb3;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e592",
  "rgb": {
    "r": 248,
    "g": 229,
    "b": 146
  },
  "hsl": {
    "h": 48.824,
    "s": 87.931,
    "l": 77.255
  },
  "oklch": {
    "l": 0.91918,
    "c": 0.1051,
    "h": 96.8
  },
  "luminance": 0.7807
}

Semantic roles & 50–950 ramp

primary
#F8E592
secondary
#576FD7
accent
#2BE501
background
#FFFEFD
surface
#FFFDF8
border
#D7D5D1
text
#181611
muted
#868481

Preview Lab

Preview with #F8E592

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

Preview Lab → · Contrast checker → · Palette generator →

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