#F7E174#F7E174

#F7E174 is a very light, vivid yellow. Relative luminance 0.749; OKLCH L 90.6% C 0.132 H 98.1°. Best body text is #000000 at 15.98:1 contrast (WCAG AA passes).

Color values

HEX#F7E174
RGBrgb(247, 225, 116)
HSLhsl(50, 89%, 71%)
HSVhsv(50, 53%, 97%)
CMYKcmyk(0%, 8.9%, 53%, 3.1%)
CIE-LABlab(89.34, -5.91, 55.40)
CIE-LCHlch(89.34, 55.71, 96.08°)
OKLaboklab(90.61% -0.0186 0.1304)
OKLCHoklch(90.61% 0.132 98.1)
XYZxyz(68.4377, 74.8883, 27.3696)
Luminance0.7489 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E174 #748AF7
analogous
#F79F74 #F7E174 #CBF774
triadic
#F7E174 #74F7E1 #E174F7
tetradic
#F7E174 #74F79F #748AF7 #F774CB
square
#F7E174 #74F79F #748AF7 #F774CB
split-complementary
#F7E174 #74CBF7 #9F74F7
monochromatic
#E4BF0D #F4D53A #F7E174 #FAEDAE #FDF9E2

Accessibility & contrast

On white

1.31
#F7E174 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.98
#F7E174 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7E174
15.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7E174#FFFFFF#000000##000000
##F7E1741.001.3115.9815.98
#FFFFFF1.311.0021.0021.00
#00000015.9821.001.001.00
##00000015.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DC6A
Deuteranopia (green-blind)
#F9E479
Tritanopia (blue-blind)
#FFD3C8
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f7e174;
/* rgb */ color: rgb(247, 225, 116);
/* oklch */ color: oklch(90.6% 0.132 98.1);
Tailwind
colors: {
  custom: {
    50: '#fcea9f',
    500: '#f7e174',
    950: '#000000',
  },
}
SCSS
$custom: #f7e174;
$custom-light: #fcea9f;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e174",
  "rgb": {
    "r": 247,
    "g": 225,
    "b": 116
  },
  "hsl": {
    "h": 49.924,
    "s": 89.116,
    "l": 71.176
  },
  "oklch": {
    "l": 0.9061,
    "c": 0.13167,
    "h": 98.1
  },
  "luminance": 0.74886
}

Semantic roles & 50–950 ramp

primary
#F7E174
secondary
#3D56D2
accent
#27E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F7E174

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

Preview Lab → · Contrast checker → · Palette generator →

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