#F7F670#F7F670

#F7F670 is a very light, vivid yellow. Relative luminance 0.869; OKLCH L 94.8% C 0.155 H 108.6°. Best body text is #000000 at 18.37:1 contrast (WCAG AA passes).

Color values

HEX#F7F670
RGBrgb(247, 246, 112)
HSLhsl(60, 89%, 70%)
HSVhsv(60, 55%, 97%)
CMYKcmyk(0%, 0.4%, 54.7%, 3.1%)
CIE-LABlab(94.68, -16.59, 63.37)
CIE-LCHlch(94.68, 65.50, 104.67°)
OKLaboklab(94.84% -0.0496 0.1471)
OKLCHoklch(94.84% 0.155 108.6)
XYZxyz(74.2402, 86.8575, 28.1805)
Luminance0.8686 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F670 #7071F7
analogous
#F7B370 #F7F670 #B4F770
triadic
#F7F670 #70F7F6 #F670F7
tetradic
#F7F670 #70F7B3 #7071F7 #F770B4
square
#F7F670 #70F7B3 #7071F7 #F770B4
split-complementary
#F7F670 #70B4F7 #B370F7
monochromatic
#E0DE0D #F4F236 #F7F670 #FAFAAA #FDFDE2

Accessibility & contrast

On white

1.14
#F7F670 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.37
#F7F670 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7F670
18.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7F670#FFFFFF#000000##000000
##F7F6701.001.1418.3718.37
#FFFFFF1.141.0021.0021.00
#00000018.3721.001.001.00
##00000018.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED62
Deuteranopia (green-blind)
#FFF277
Tritanopia (blue-blind)
#FFE8D9
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #f7f670;
/* rgb */ color: rgb(247, 246, 112);
/* oklch */ color: oklch(94.8% 0.155 108.6);
Tailwind
colors: {
  custom: {
    50: '#fcf99d',
    500: '#f7f670',
    950: '#000000',
  },
}
SCSS
$custom: #f7f670;
$custom-light: #fcf99d;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f670",
  "rgb": {
    "r": 247,
    "g": 246,
    "b": 112
  },
  "hsl": {
    "h": 59.556,
    "s": 89.404,
    "l": 70.392
  },
  "oklch": {
    "l": 0.94838,
    "c": 0.15528,
    "h": 108.6
  },
  "luminance": 0.86856
}

Semantic roles & 50–950 ramp

primary
#F7F670
secondary
#3A3BD2
accent
#02E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F7F670

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

Preview Lab → · Contrast checker → · Palette generator →

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