#FFF08C#FFF08C

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

Color values

HEX#FFF08C
RGBrgb(255, 240, 140)
HSLhsl(52, 100%, 77%)
HSVhsv(52, 45%, 100%)
CMYKcmyk(0%, 5.9%, 45.1%, 0%)
CIE-LABlab(94.09, -8.13, 49.94)
CIE-LCHlch(94.09, 50.60, 99.25°)
OKLaboklab(94.62% -0.0231 0.1201)
OKLCHoklch(94.62% 0.122 100.9)
XYZxyz(77.1356, 85.4761, 37.2412)
Luminance0.8547 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF08C #8C9BFF
analogous
#FFB78C #FFF08C #D4FF8C
triadic
#FFF08C #8CFFF0 #F08CFF
tetradic
#FFF08C #8CFFB7 #8C9BFF #FF8CD4
square
#FFF08C #8CFFB7 #8C9BFF #FF8CD4
split-complementary
#FFF08C #8CD4FF #B78CFF
monochromatic
#FFE012 #FFE84F #FFF08C #FFF8C9 #FFFBE0

Accessibility & contrast

On white

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

On black

18.09
#FFF08C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF08C
18.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF08C#FFFFFF#000000##000000
##FFF08C1.001.1618.0918.09
#FFFFFF1.161.0021.0021.00
#00000018.0921.001.001.00
##00000018.0921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fff08c;
/* rgb */ color: rgb(255, 240, 140);
/* oklch */ color: oklch(94.6% 0.122 100.9);
Tailwind
colors: {
  custom: {
    50: '#fff4af',
    500: '#fff08c',
    950: '#000000',
  },
}
SCSS
$custom: #fff08c;
$custom-light: #fff4af;
$custom-dark: #000000;
JSON
{
  "hex": "#fff08c",
  "rgb": {
    "r": 255,
    "g": 240,
    "b": 140
  },
  "hsl": {
    "h": 52.174,
    "s": 100,
    "l": 77.451
  },
  "oklch": {
    "l": 0.94622,
    "c": 0.12231,
    "h": 100.9
  },
  "luminance": 0.85474
}

Semantic roles & 50–950 ramp

primary
#FFF08C
secondary
#4F62E0
accent
#1EE600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #FFF08C

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

Preview Lab → · Contrast checker → · Palette generator →

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