#F8E185#F8E185

#F8E185 is a very light, moderate yellow. Relative luminance 0.755; OKLCH L 90.9% C 0.115 H 95.7°. Best body text is #000000 at 16.10:1 contrast (WCAG AA passes).

Color values

HEX#F8E185
RGBrgb(248, 225, 133)
HSLhsl(48, 89%, 75%)
HSVhsv(48, 46%, 97%)
CMYKcmyk(0%, 9.3%, 46.4%, 2.7%)
CIE-LABlab(89.63, -4.03, 47.67)
CIE-LCHlch(89.63, 47.84, 94.84°)
OKLaboklab(90.92% -0.0115 0.1147)
OKLCHoklch(90.92% 0.115 95.7)
XYZxyz(69.8723, 75.5030, 33.0788)
Luminance0.7550 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E185 #859CF8
analogous
#F8A885 #F8E185 #D6F885
triadic
#F8E185 #85F8E1 #E185F8
tetradic
#F8E185 #85F8A8 #859CF8 #F885D6
square
#F8E185 #85F8A8 #859CF8 #F885D6
split-complementary
#F8E185 #85D6F8 #A885F8
monochromatic
#F1C511 #F5D34B #F8E185 #FBEFBF #FDF8E2

Accessibility & contrast

On white

1.30
#F8E185 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.10
#F8E185 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8E185
16.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8E185#FFFFFF#000000##000000
##F8E1851.001.3016.1016.10
#FFFFFF1.301.0021.0021.00
#00000016.1021.001.001.00
##00000016.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DD7E
Deuteranopia (green-blind)
#F8E589
Tritanopia (blue-blind)
#FFD4CB
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f8e185;
/* rgb */ color: rgb(248, 225, 133);
/* oklch */ color: oklch(90.9% 0.115 95.7);
Tailwind
colors: {
  custom: {
    50: '#fceaaa',
    500: '#f8e185',
    950: '#000000',
  },
}
SCSS
$custom: #f8e185;
$custom-light: #fceaaa;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e185",
  "rgb": {
    "r": 248,
    "g": 225,
    "b": 133
  },
  "hsl": {
    "h": 48,
    "s": 89.147,
    "l": 74.706
  },
  "oklch": {
    "l": 0.90923,
    "c": 0.11524,
    "h": 95.7
  },
  "luminance": 0.755
}

Semantic roles & 50–950 ramp

primary
#F8E185
secondary
#4C67D5
accent
#2EE600
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#181610
muted
#868481

Preview Lab

Preview with #F8E185

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

Preview Lab → · Contrast checker → · Palette generator →

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