#F7E170#F7E170

#F7E170 is a very light, vivid yellow. Relative luminance 0.748; OKLCH L 90.6% C 0.135 H 98.5°. Best body text is #000000 at 15.96:1 contrast (WCAG AA passes).

Color values

HEX#F7E170
RGBrgb(247, 225, 112)
HSLhsl(50, 89%, 70%)
HSVhsv(50, 55%, 97%)
CMYKcmyk(0%, 8.9%, 54.7%, 3.1%)
CIE-LABlab(89.30, -6.22, 57.20)
CIE-LCHlch(89.30, 57.53, 96.21°)
OKLaboklab(90.56% -0.02 0.1339)
OKLCHoklch(90.56% 0.135 98.5)
XYZxyz(68.2100, 74.7972, 26.1705)
Luminance0.7479 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E170 #7086F7
analogous
#F79D70 #F7E170 #CAF770
triadic
#F7E170 #70F7E1 #E170F7
tetradic
#F7E170 #70F79D #7086F7 #F770CA
square
#F7E170 #70F79D #7086F7 #F770CA
split-complementary
#F7E170 #70CAF7 #9D70F7
monochromatic
#E0BE0D #F4D536 #F7E170 #FAEDAA #FDF9E2

Accessibility & contrast

On white

1.32
#F7E170 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.96
#F7E170 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7E170
15.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7E170#FFFFFF#000000##000000
##F7E1701.001.3215.9615.96
#FFFFFF1.321.0021.0021.00
#00000015.9621.001.001.00
##00000015.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DC65
Deuteranopia (green-blind)
#FAE475
Tritanopia (blue-blind)
#FFD3C7
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f7e170;
/* rgb */ color: rgb(247, 225, 112);
/* oklch */ color: oklch(90.6% 0.135 98.5);
Tailwind
colors: {
  custom: {
    50: '#fcea9c',
    500: '#f7e170',
    950: '#000000',
  },
}
SCSS
$custom: #f7e170;
$custom-light: #fcea9c;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e170",
  "rgb": {
    "r": 247,
    "g": 225,
    "b": 112
  },
  "hsl": {
    "h": 50.222,
    "s": 89.404,
    "l": 70.392
  },
  "oklch": {
    "l": 0.90563,
    "c": 0.13533,
    "h": 98.5
  },
  "luminance": 0.74794
}

Semantic roles & 50–950 ramp

primary
#F7E170
secondary
#3A52D2
accent
#25E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F7E170

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

Preview Lab → · Contrast checker → · Palette generator →

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