#FFF970#FFF970

#FFF970 is a very light, vivid yellow. Relative luminance 0.902; OKLCH L 96.1% C 0.157 H 106.7°. Best body text is #000000 at 19.04:1 contrast (WCAG AA passes).

Color values

HEX#FFF970
RGBrgb(255, 249, 112)
HSLhsl(57, 100%, 72%)
HSVhsv(57, 56%, 100%)
CMYKcmyk(0%, 2.4%, 56.1%, 0%)
CIE-LABlab(96.07, -14.87, 65.11)
CIE-LCHlch(96.07, 66.79, 102.86°)
OKLaboklab(96.1% -0.0452 0.1507)
OKLCHoklch(96.1% 0.157 106.7)
XYZxyz(78.0427, 90.1836, 28.6222)
Luminance0.9018 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF970 #7076FF
analogous
#FFB270 #FFF970 #BDFF70
triadic
#FFF970 #70FFF9 #F970FF
tetradic
#FFF970 #70FFB2 #7076FF #FF70BD
square
#FFF970 #70FFB2 #7076FF #FF70BD
split-complementary
#FFF970 #70BDFF #B270FF
monochromatic
#F5EA00 #FFF633 #FFF970 #FFFCAD #FFFEE0

Accessibility & contrast

On white

1.10
#FFF970 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.04
#FFF970 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF970
19.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF970#FFFFFF#000000##000000
##FFF9701.001.1019.0419.04
#FFFFFF1.101.0021.0021.00
#00000019.0421.001.001.00
##00000019.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF062
Deuteranopia (green-blind)
#FFF677
Tritanopia (blue-blind)
#FFEBDB
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fff970;
/* rgb */ color: rgb(255, 249, 112);
/* oklch */ color: oklch(96.1% 0.157 106.7);
Tailwind
colors: {
  custom: {
    50: '#fffb9d',
    500: '#fff970',
    950: '#000000',
  },
}
SCSS
$custom: #fff970;
$custom-light: #fffb9d;
$custom-dark: #000000;
JSON
{
  "hex": "#fff970",
  "rgb": {
    "r": 255,
    "g": 249,
    "b": 112
  },
  "hsl": {
    "h": 57.483,
    "s": 100,
    "l": 71.961
  },
  "oklch": {
    "l": 0.961,
    "c": 0.15734,
    "h": 106.7
  },
  "luminance": 0.90181
}

Semantic roles & 50–950 ramp

primary
#FFF970
secondary
#373EDC
accent
#0AE600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FFF970

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

Preview Lab → · Contrast checker → · Palette generator →

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