#F7F374#F7F374

#F7F374 is a very light, vivid yellow. Relative luminance 0.851; OKLCH L 94.3% C 0.149 H 107.3°. Best body text is #000000 at 18.03:1 contrast (WCAG AA passes).

Color values

HEX#F7F374
RGBrgb(247, 243, 116)
HSLhsl(58, 89%, 71%)
HSVhsv(58, 53%, 97%)
CMYKcmyk(0%, 1.6%, 53%, 3.1%)
CIE-LABlab(93.94, -14.82, 60.76)
CIE-LCHlch(93.94, 62.54, 103.71°)
OKLaboklab(94.27% -0.0442 0.142)
OKLCHoklch(94.27% 0.149 107.3)
XYZxyz(73.5628, 85.1384, 29.0779)
Luminance0.8514 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F374 #7478F7
analogous
#F7B174 #F7F374 #B9F774
triadic
#F7F374 #74F7F3 #F374F7
tetradic
#F7F374 #74F7B1 #7478F7 #F774B9
square
#F7F374 #74F7B1 #7478F7 #F774B9
split-complementary
#F7F374 #74B9F7 #B174F7
monochromatic
#E4DD0D #F4EE3A #F7F374 #FAF8AE #FDFDE2

Accessibility & contrast

On white

1.16
#F7F374 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.03
#F7F374 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7F374
18.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7F374#FFFFFF#000000##000000
##F7F3741.001.1618.0318.03
#FFFFFF1.161.0021.0021.00
#00000018.0321.001.001.00
##00000018.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB67
Deuteranopia (green-blind)
#FFF07B
Tritanopia (blue-blind)
#FFE5D7
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f7f374;
/* rgb */ color: rgb(247, 243, 116);
/* oklch */ color: oklch(94.3% 0.149 107.3);
Tailwind
colors: {
  custom: {
    50: '#fcf69f',
    500: '#f7f374',
    950: '#000000',
  },
}
SCSS
$custom: #f7f374;
$custom-light: #fcf69f;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f374",
  "rgb": {
    "r": 247,
    "g": 243,
    "b": 116
  },
  "hsl": {
    "h": 58.168,
    "s": 89.116,
    "l": 71.176
  },
  "oklch": {
    "l": 0.94265,
    "c": 0.14868,
    "h": 107.3
  },
  "luminance": 0.85136
}

Semantic roles & 50–950 ramp

primary
#F7F374
secondary
#3D42D2
accent
#07E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F7F374

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

Preview Lab → · Contrast checker → · Palette generator →

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