#FFF85A#FFF85A

#FFF85A is a very light, vivid yellow. Relative luminance 0.891; OKLCH L 95.7% C 0.173 H 106.8°. Best body text is #000000 at 18.83:1 contrast (WCAG AA passes).

Color values

HEX#FFF85A
RGBrgb(255, 248, 90)
HSLhsl(57, 100%, 68%)
HSVhsv(57, 65%, 100%)
CMYKcmyk(0%, 2.7%, 64.7%, 0%)
CIE-LABlab(95.64, -15.78, 73.65)
CIE-LCHlch(95.64, 75.32, 102.09°)
OKLaboklab(95.7% -0.0501 0.1659)
OKLCHoklch(95.7% 0.173 106.8)
XYZxyz(76.6556, 89.1355, 22.8378)
Luminance0.8913 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF85A #5A61FF
analogous
#FFA65A #FFF85A #B3FF5A
triadic
#FFF85A #5AFFF8 #F85AFF
tetradic
#FFF85A #5AFFA6 #5A61FF #FF5AB3
square
#FFF85A #5AFFA6 #5A61FF #FF5AB3
split-complementary
#FFF85A #5AB3FF #A65AFF
monochromatic
#DFD500 #FFF51D #FFF85A #FFFB97 #FFFDD4

Accessibility & contrast

On white

1.12
#FFF85A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.83
#FFF85A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF85A
18.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF85A#FFFFFF#000000##000000
##FFF85A1.001.1218.8318.83
#FFFFFF1.121.0021.0021.00
#00000018.8321.001.001.00
##00000018.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF44
Deuteranopia (green-blind)
#FFF564
Tritanopia (blue-blind)
#FFE8D8
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #fff85a;
/* rgb */ color: rgb(255, 248, 90);
/* oklch */ color: oklch(95.7% 0.173 106.8);
Tailwind
colors: {
  custom: {
    50: '#fffa90',
    500: '#fff85a',
    950: '#000000',
  },
}
SCSS
$custom: #fff85a;
$custom-light: #fffa90;
$custom-dark: #000000;
JSON
{
  "hex": "#fff85a",
  "rgb": {
    "r": 255,
    "g": 248,
    "b": 90
  },
  "hsl": {
    "h": 57.455,
    "s": 100,
    "l": 67.647
  },
  "oklch": {
    "l": 0.95696,
    "c": 0.17328,
    "h": 106.8
  },
  "luminance": 0.89133
}

Semantic roles & 50–950 ramp

primary
#FFF85A
secondary
#262DD7
accent
#0AE600
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#19170D
muted
#87857F

Preview Lab

Preview with #FFF85A

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

Preview Lab → · Contrast checker → · Palette generator →

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