#F8F385#F8F385

#F8F385 is a very light, vivid yellow. Relative luminance 0.858; OKLCH L 94.6% C 0.133 H 106.4°. Best body text is #000000 at 18.15:1 contrast (WCAG AA passes).

Color values

HEX#F8F385
RGBrgb(248, 243, 133)
HSLhsl(57, 89%, 75%)
HSVhsv(57, 46%, 97%)
CMYKcmyk(0%, 2%, 46.4%, 2.7%)
CIE-LABlab(94.21, -13.00, 53.29)
CIE-LCHlch(94.21, 54.85, 103.71°)
OKLaboklab(94.55% -0.0373 0.1271)
OKLCHoklch(94.55% 0.133 106.4)
XYZxyz(74.9973, 85.7531, 34.7871)
Luminance0.8575 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F385 #858AF8
analogous
#F8B985 #F8F385 #C4F885
triadic
#F8F385 #85F8F3 #F385F8
tetradic
#F8F385 #85F8B9 #858AF8 #F885C4
square
#F8F385 #85F8B9 #858AF8 #F885C4
split-complementary
#F8F385 #85C4F8 #B985F8
monochromatic
#F1E811 #F5ED4B #F8F385 #FBF9BF #FDFCE2

Accessibility & contrast

On white

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

On black

18.15
#F8F385 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F385
18.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F385#FFFFFF#000000##000000
##F8F3851.001.1618.1518.15
#FFFFFF1.161.0021.0021.00
#00000018.1521.001.001.00
##00000018.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC7C
Deuteranopia (green-blind)
#FFF18A
Tritanopia (blue-blind)
#FFE7D9
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f8f385;
/* rgb */ color: rgb(248, 243, 133);
/* oklch */ color: oklch(94.6% 0.133 106.4);
Tailwind
colors: {
  custom: {
    50: '#fcf6ab',
    500: '#f8f385',
    950: '#000000',
  },
}
SCSS
$custom: #f8f385;
$custom-light: #fcf6ab;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f385",
  "rgb": {
    "r": 248,
    "g": 243,
    "b": 133
  },
  "hsl": {
    "h": 57.391,
    "s": 89.147,
    "l": 74.706
  },
  "oklch": {
    "l": 0.94554,
    "c": 0.13251,
    "h": 106.4
  },
  "luminance": 0.85751
}

Semantic roles & 50–950 ramp

primary
#F8F385
secondary
#4C52D5
accent
#0AE600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #F8F385

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

Preview Lab → · Contrast checker → · Palette generator →

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