#F7F174#F7F174

#F7F174 is a very light, vivid yellow. Relative luminance 0.839; OKLCH L 93.9% C 0.147 H 106.4°. Best body text is #000000 at 17.79:1 contrast (WCAG AA passes).

Color values

HEX#F7F174
RGBrgb(247, 241, 116)
HSLhsl(57, 89%, 71%)
HSVhsv(57, 53%, 97%)
CMYKcmyk(0%, 2.4%, 53%, 3.1%)
CIE-LABlab(93.43, -13.85, 60.17)
CIE-LCHlch(93.43, 61.74, 102.96°)
OKLaboklab(93.86% -0.0414 0.1407)
OKLCHoklch(93.86% 0.147 106.4)
XYZxyz(72.9675, 83.9478, 28.8795)
Luminance0.8395 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F174 #747AF7
analogous
#F7AF74 #F7F174 #BBF774
triadic
#F7F174 #74F7F1 #F174F7
tetradic
#F7F174 #74F7AF #747AF7 #F774BB
square
#F7F174 #74F7AF #747AF7 #F774BB
split-complementary
#F7F174 #74BBF7 #AF74F7
monochromatic
#E4DA0D #F4EB3A #F7F174 #FAF7AE #FDFCE2

Accessibility & contrast

On white

1.18
#F7F174 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.79
#F7F174 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7F174
17.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7F174#FFFFFF#000000##000000
##F7F1741.001.1817.7917.79
#FFFFFF1.181.0021.0021.00
#00000017.7921.001.001.00
##00000017.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE968
Deuteranopia (green-blind)
#FFEF7A
Tritanopia (blue-blind)
#FFE3D5
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f7f174;
/* rgb */ color: rgb(247, 241, 116);
/* oklch */ color: oklch(93.9% 0.147 106.4);
Tailwind
colors: {
  custom: {
    50: '#fcf59f',
    500: '#f7f174',
    950: '#000000',
  },
}
SCSS
$custom: #f7f174;
$custom-light: #fcf59f;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f174",
  "rgb": {
    "r": 247,
    "g": 241,
    "b": 116
  },
  "hsl": {
    "h": 57.252,
    "s": 89.116,
    "l": 71.176
  },
  "oklch": {
    "l": 0.93855,
    "c": 0.14664,
    "h": 106.4
  },
  "luminance": 0.83946
}

Semantic roles & 50–950 ramp

primary
#F7F174
secondary
#3D44D2
accent
#0BE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F7F174

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

Preview Lab → · Contrast checker → · Palette generator →

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