#FFF08E#FFF08E

#FFF08E is a very light, vivid yellow. Relative luminance 0.855; OKLCH L 94.7% C 0.120 H 100.7°. Best body text is #000000 at 18.11:1 contrast (WCAG AA passes).

Color values

HEX#FFF08E
RGBrgb(255, 240, 142)
HSLhsl(52, 100%, 78%)
HSVhsv(52, 44%, 100%)
CMYKcmyk(0%, 5.9%, 44.3%, 0%)
CIE-LABlab(94.11, -7.94, 49.01)
CIE-LCHlch(94.11, 49.65, 99.21°)
OKLaboklab(94.65% -0.0223 0.1182)
OKLCHoklch(94.65% 0.12 100.7)
XYZxyz(77.2844, 85.5356, 38.0249)
Luminance0.8553 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF08E #8E9DFF
analogous
#FFB78E #FFF08E #D6FF8E
triadic
#FFF08E #8EFFF0 #F08EFF
tetradic
#FFF08E #8EFFB7 #8E9DFF #FF8ED6
square
#FFF08E #8EFFB7 #8E9DFF #FF8ED6
split-complementary
#FFF08E #8ED6FF #B78EFF
monochromatic
#FFE014 #FFE851 #FFF08E #FFF8CB #FFFBE0

Accessibility & contrast

On white

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

On black

18.11
#FFF08E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF08E
18.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF08E#FFFFFF#000000##000000
##FFF08E1.001.1618.1118.11
#FFFFFF1.161.0021.0021.00
#00000018.1121.001.001.00
##00000018.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA86
Deuteranopia (green-blind)
#FFF192
Tritanopia (blue-blind)
#FFE4D8
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #fff08e;
/* rgb */ color: rgb(255, 240, 142);
/* oklch */ color: oklch(94.7% 0.120 100.7);
Tailwind
colors: {
  custom: {
    50: '#fff4b0',
    500: '#fff08e',
    950: '#000000',
  },
}
SCSS
$custom: #fff08e;
$custom-light: #fff4b0;
$custom-dark: #000000;
JSON
{
  "hex": "#fff08e",
  "rgb": {
    "r": 255,
    "g": 240,
    "b": 142
  },
  "hsl": {
    "h": 52.035,
    "s": 100,
    "l": 77.843
  },
  "oklch": {
    "l": 0.94651,
    "c": 0.12025,
    "h": 100.7
  },
  "luminance": 0.85533
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FFF08E

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

Preview Lab → · Contrast checker → · Palette generator →

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