#FFF07E#FFF07E

#FFF07E is a very light, vivid yellow. Relative luminance 0.851; OKLCH L 94.4% C 0.136 H 101.9°. Best body text is #000000 at 18.02:1 contrast (WCAG AA passes).

Color values

HEX#FFF07E
RGBrgb(255, 240, 126)
HSLhsl(53, 100%, 75%)
HSVhsv(53, 51%, 100%)
CMYKcmyk(0%, 5.9%, 50.6%, 0%)
CIE-LABlab(93.92, -9.38, 56.35)
CIE-LCHlch(93.92, 57.12, 99.45°)
OKLaboklab(94.44% -0.028 0.1332)
OKLCHoklch(94.44% 0.136 101.9)
XYZxyz(76.1682, 85.0891, 32.1462)
Luminance0.8509 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF07E #7E8DFF
analogous
#FFAF7E #FFF07E #CEFF7E
triadic
#FFF07E #7EFFF0 #F07EFF
tetradic
#FFF07E #7EFFAF #7E8DFF #FF7ECE
square
#FFF07E #7EFFAF #7E8DFF #FF7ECE
split-complementary
#FFF07E #7ECEFF #AF7EFF
monochromatic
#FFE204 #FFE941 #FFF07E #FFF7BB #FFFBE0

Accessibility & contrast

On white

1.17
#FFF07E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.02
#FFF07E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF07E
18.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF07E#FFFFFF#000000##000000
##FFF07E1.001.1718.0218.02
#FFFFFF1.171.0021.0021.00
#00000018.0221.001.001.00
##00000018.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA74
Deuteranopia (green-blind)
#FFF183
Tritanopia (blue-blind)
#FFE2D6
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #fff07e;
/* rgb */ color: rgb(255, 240, 126);
/* oklch */ color: oklch(94.4% 0.136 101.9);
Tailwind
colors: {
  custom: {
    50: '#fff4a6',
    500: '#fff07e',
    950: '#000000',
  },
}
SCSS
$custom: #fff07e;
$custom-light: #fff4a6;
$custom-dark: #000000;
JSON
{
  "hex": "#fff07e",
  "rgb": {
    "r": 255,
    "g": 240,
    "b": 126
  },
  "hsl": {
    "h": 53.023,
    "s": 100,
    "l": 74.706
  },
  "oklch": {
    "l": 0.94436,
    "c": 0.1361,
    "h": 101.9
  },
  "luminance": 0.85087
}

Semantic roles & 50–950 ramp

primary
#FFF07E
secondary
#4355DE
accent
#1BE600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FFF07E

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

Preview Lab → · Contrast checker → · Palette generator →

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