#F7F867#F7F867

#F7F867 is a very light, vivid yellow. Relative luminance 0.879; OKLCH L 95.2% C 0.165 H 109.5°. Best body text is #000000 at 18.58:1 contrast (WCAG AA passes).

Color values

HEX#F7F867
RGBrgb(247, 248, 103)
HSLhsl(60, 91%, 69%)
HSVhsv(60, 58%, 97%)
CMYKcmyk(0.4%, 0%, 58.5%, 2.7%)
CIE-LABlab(95.11, -18.19, 67.69)
CIE-LCHlch(95.11, 70.10, 105.04°)
OKLaboklab(95.16% -0.0551 0.1553)
OKLCHoklch(95.16% 0.165 109.5)
XYZxyz(74.3755, 87.8902, 25.8759)
Luminance0.8789 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F867 #6867F8
analogous
#F8B167 #F7F867 #AFF867
triadic
#F7F867 #67F7F8 #F867F7
tetradic
#F7F867 #67F8B1 #6867F8 #F867AF
square
#F7F867 #67F8B1 #6867F8 #F867AF
split-complementary
#F7F867 #67AFF8 #B167F8
monochromatic
#D9DB0A #F4F52C #F7F867 #FAFBA2 #FDFDDC

Accessibility & contrast

On white

1.13
#F7F867 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.58
#F7F867 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7F867
18.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7F867#FFFFFF#000000##000000
##F7F8671.001.1318.5818.58
#FFFFFF1.131.0021.0021.00
#00000018.5821.001.001.00
##00000018.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE56
Deuteranopia (green-blind)
#FFF370
Tritanopia (blue-blind)
#FFEAD9
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f7f867;
/* rgb */ color: rgb(247, 248, 103);
/* oklch */ color: oklch(95.2% 0.165 109.5);
Tailwind
colors: {
  custom: {
    50: '#fdfa98',
    500: '#f7f867',
    950: '#000000',
  },
}
SCSS
$custom: #f7f867;
$custom-light: #fdfa98;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f867",
  "rgb": {
    "r": 247,
    "g": 248,
    "b": 103
  },
  "hsl": {
    "h": 60.414,
    "s": 91.195,
    "l": 68.824
  },
  "oklch": {
    "l": 0.9516,
    "c": 0.16478,
    "h": 109.5
  },
  "luminance": 0.87888
}

Semantic roles & 50–950 ramp

primary
#F7F867
secondary
#3332D2
accent
#00E602
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F7F867

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

Preview Lab → · Contrast checker → · Palette generator →

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