#F7F370#F7F370

#F7F370 is a very light, vivid yellow. Relative luminance 0.850; OKLCH L 94.2% C 0.152 H 107.4°. Best body text is #000000 at 18.01:1 contrast (WCAG AA passes).

Color values

HEX#F7F370
RGBrgb(247, 243, 112)
HSLhsl(58, 89%, 70%)
HSVhsv(58, 55%, 97%)
CMYKcmyk(0%, 1.6%, 54.7%, 3.1%)
CIE-LABlab(93.90, -15.13, 62.49)
CIE-LCHlch(93.90, 64.29, 103.61°)
OKLaboklab(94.22% -0.0455 0.1453)
OKLCHoklch(94.22% 0.152 107.4)
XYZxyz(73.3351, 85.0473, 27.8788)
Luminance0.8505 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F370 #7074F7
analogous
#F7AF70 #F7F370 #B8F770
triadic
#F7F370 #70F7F3 #F370F7
tetradic
#F7F370 #70F7AF #7074F7 #F770B8
square
#F7F370 #70F7AF #7074F7 #F770B8
split-complementary
#F7F370 #70B8F7 #AF70F7
monochromatic
#E0DA0D #F4EE36 #F7F370 #FAF8AA #FDFDE2

Accessibility & contrast

On white

1.17
#F7F370 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.01
#F7F370 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7F370
18.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7F370#FFFFFF#000000##000000
##F7F3701.001.1718.0118.01
#FFFFFF1.171.0021.0021.00
#00000018.0121.001.001.00
##00000018.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB63
Deuteranopia (green-blind)
#FFF077
Tritanopia (blue-blind)
#FFE5D6
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #f7f370;
/* rgb */ color: rgb(247, 243, 112);
/* oklch */ color: oklch(94.2% 0.152 107.4);
Tailwind
colors: {
  custom: {
    50: '#fcf69d',
    500: '#f7f370',
    950: '#000000',
  },
}
SCSS
$custom: #f7f370;
$custom-light: #fcf69d;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f370",
  "rgb": {
    "r": 247,
    "g": 243,
    "b": 112
  },
  "hsl": {
    "h": 58.222,
    "s": 89.404,
    "l": 70.392
  },
  "oklch": {
    "l": 0.94221,
    "c": 0.1522,
    "h": 107.4
  },
  "luminance": 0.85045
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F7F370

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

Preview Lab → · Contrast checker → · Palette generator →

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