#FFF07D#FFF07D

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

Color values

HEX#FFF07D
RGBrgb(255, 240, 125)
HSLhsl(53, 100%, 75%)
HSVhsv(53, 51%, 100%)
CMYKcmyk(0%, 5.9%, 51%, 0%)
CIE-LABlab(93.91, -9.46, 56.80)
CIE-LCHlch(93.91, 57.58, 99.45°)
OKLaboklab(94.42% -0.0283 0.1341)
OKLCHoklch(94.42% 0.137 101.9)
XYZxyz(76.1040, 85.0635, 31.8081)
Luminance0.8506 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF07D #7D8CFF
analogous
#FFAF7D #FFF07D #CDFF7D
triadic
#FFF07D #7DFFF0 #F07DFF
tetradic
#FFF07D #7DFFAF #7D8CFF #FF7DCD
square
#FFF07D #7DFFAF #7D8CFF #FF7DCD
split-complementary
#FFF07D #7DCDFF #AF7DFF
monochromatic
#FFE203 #FFE940 #FFF07D #FFF7BA #FFFBE0

Accessibility & contrast

On white

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

On black

18.01
#FFF07D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF07D
18.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF07D#FFFFFF#000000##000000
##FFF07D1.001.1718.0118.01
#FFFFFF1.171.0021.0021.00
#00000018.0121.001.001.00
##00000018.0121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fff07d;
/* rgb */ color: rgb(255, 240, 125);
/* oklch */ color: oklch(94.4% 0.137 101.9);
Tailwind
colors: {
  custom: {
    50: '#fff4a5',
    500: '#fff07d',
    950: '#000000',
  },
}
SCSS
$custom: #fff07d;
$custom-light: #fff4a5;
$custom-dark: #000000;
JSON
{
  "hex": "#fff07d",
  "rgb": {
    "r": 255,
    "g": 240,
    "b": 125
  },
  "hsl": {
    "h": 53.077,
    "s": 100,
    "l": 74.51
  },
  "oklch": {
    "l": 0.94424,
    "c": 0.13705,
    "h": 101.9
  },
  "luminance": 0.85061
}

Semantic roles & 50–950 ramp

primary
#FFF07D
secondary
#4254DE
accent
#1AE600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FFF07D

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

Preview Lab → · Contrast checker → · Palette generator →

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