#FFF770#FFF770

#FFF770 is a very light, vivid yellow. Relative luminance 0.890; OKLCH L 95.7% C 0.155 H 105.8°. Best body text is #000000 at 18.79:1 contrast (WCAG AA passes).

Color values

HEX#FFF770
RGBrgb(255, 247, 112)
HSLhsl(57, 100%, 72%)
HSVhsv(57, 56%, 100%)
CMYKcmyk(0%, 3.1%, 56.1%, 0%)
CIE-LABlab(95.56, -13.90, 64.53)
CIE-LCHlch(95.56, 66.01, 102.15°)
OKLaboklab(95.69% -0.0424 0.1495)
OKLCHoklch(95.69% 0.155 105.8)
XYZxyz(77.4278, 88.9538, 28.4173)
Luminance0.8895 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF770 #7078FF
analogous
#FFAF70 #FFF770 #C0FF70
triadic
#FFF770 #70FFF7 #F770FF
tetradic
#FFF770 #70FFAF #7078FF #FF70C0
square
#FFF770 #70FFAF #7078FF #FF70C0
split-complementary
#FFF770 #70C0FF #AF70FF
monochromatic
#F5E700 #FFF433 #FFF770 #FFFAAD #FFFDE0

Accessibility & contrast

On white

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

On black

18.79
#FFF770 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF770
18.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF770#FFFFFF#000000##000000
##FFF7701.001.1218.7918.79
#FFFFFF1.121.0021.0021.00
#00000018.7921.001.001.00
##00000018.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF62
Deuteranopia (green-blind)
#FFF577
Tritanopia (blue-blind)
#FFE9D9
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #fff770;
/* rgb */ color: rgb(255, 247, 112);
/* oklch */ color: oklch(95.7% 0.155 105.8);
Tailwind
colors: {
  custom: {
    50: '#fff99d',
    500: '#fff770',
    950: '#000000',
  },
}
SCSS
$custom: #fff770;
$custom-light: #fff99d;
$custom-dark: #000000;
JSON
{
  "hex": "#fff770",
  "rgb": {
    "r": 255,
    "g": 247,
    "b": 112
  },
  "hsl": {
    "h": 56.643,
    "s": 100,
    "l": 71.961
  },
  "oklch": {
    "l": 0.95693,
    "c": 0.15538,
    "h": 105.8
  },
  "luminance": 0.88951
}

Semantic roles & 50–950 ramp

primary
#FFF770
secondary
#3741DC
accent
#0DE600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FFF770

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

Preview Lab → · Contrast checker → · Palette generator →

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