#FFF08D#FFF08D

#FFF08D is a very light, vivid yellow. Relative luminance 0.855; OKLCH L 94.6% C 0.121 H 100.8°. Best body text is #000000 at 18.10:1 contrast (WCAG AA passes).

Color values

HEX#FFF08D
RGBrgb(255, 240, 141)
HSLhsl(52, 100%, 78%)
HSVhsv(52, 45%, 100%)
CMYKcmyk(0%, 5.9%, 44.7%, 0%)
CIE-LABlab(94.10, -8.04, 49.47)
CIE-LCHlch(94.10, 50.12, 99.23°)
OKLaboklab(94.64% -0.0227 0.1191)
OKLCHoklch(94.64% 0.121 100.8)
XYZxyz(77.2097, 85.5057, 37.6313)
Luminance0.8550 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF08D #8D9CFF
analogous
#FFB78D #FFF08D #D5FF8D
triadic
#FFF08D #8DFFF0 #F08DFF
tetradic
#FFF08D #8DFFB7 #8D9CFF #FF8DD5
square
#FFF08D #8DFFB7 #8D9CFF #FF8DD5
split-complementary
#FFF08D #8DD5FF #B78DFF
monochromatic
#FFE013 #FFE850 #FFF08D #FFF8CA #FFFBE0

Accessibility & contrast

On white

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

On black

18.10
#FFF08D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF08D
18.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF08D#FFFFFF#000000##000000
##FFF08D1.001.1618.1018.10
#FFFFFF1.161.0021.0021.00
#00000018.1021.001.001.00
##00000018.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA85
Deuteranopia (green-blind)
#FFF191
Tritanopia (blue-blind)
#FFE3D8
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #fff08d;
/* rgb */ color: rgb(255, 240, 141);
/* oklch */ color: oklch(94.6% 0.121 100.8);
Tailwind
colors: {
  custom: {
    50: '#fff4b0',
    500: '#fff08d',
    950: '#000000',
  },
}
SCSS
$custom: #fff08d;
$custom-light: #fff4b0;
$custom-dark: #000000;
JSON
{
  "hex": "#fff08d",
  "rgb": {
    "r": 255,
    "g": 240,
    "b": 141
  },
  "hsl": {
    "h": 52.105,
    "s": 100,
    "l": 77.647
  },
  "oklch": {
    "l": 0.94637,
    "c": 0.12128,
    "h": 100.8
  },
  "luminance": 0.85503
}

Semantic roles & 50–950 ramp

primary
#FFF08D
secondary
#5063E0
accent
#1EE600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181711
muted
#868581

Preview Lab

Preview with #FFF08D

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

Preview Lab → · Contrast checker → · Palette generator →

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