#F7F167#F7F167

#F7F167 is a very light, vivid yellow. Relative luminance 0.837; OKLCH L 93.7% C 0.158 H 106.7°. Best body text is #000000 at 17.73:1 contrast (WCAG AA passes).

Color values

HEX#F7F167
RGBrgb(247, 241, 103)
HSLhsl(58, 90%, 69%)
HSVhsv(58, 58%, 97%)
CMYKcmyk(0%, 2.4%, 58.3%, 3.1%)
CIE-LABlab(93.31, -14.80, 65.71)
CIE-LCHlch(93.31, 67.35, 102.69°)
OKLaboklab(93.72% -0.0455 0.1511)
OKLCHoklch(93.72% 0.158 106.7)
XYZxyz(72.2635, 83.6663, 25.1720)
Luminance0.8366 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F167 #676DF7
analogous
#F7A967 #F7F167 #B5F767
triadic
#F7F167 #67F7F1 #F167F7
tetradic
#F7F167 #67F7A9 #676DF7 #F767B5
square
#F7F167 #67F7A9 #676DF7 #F767B5
split-complementary
#F7F167 #67B5F7 #A967F7
monochromatic
#D8D00B #F4EC2D #F7F167 #FAF6A1 #FDFCDB

Accessibility & contrast

On white

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

On black

17.73
#F7F167 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7F167
17.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7F167#FFFFFF#000000##000000
##F7F1671.001.1817.7317.73
#FFFFFF1.181.0021.0021.00
#00000017.7321.001.001.00
##00000017.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE958
Deuteranopia (green-blind)
#FFEE6F
Tritanopia (blue-blind)
#FFE3D3
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f7f167;
/* rgb */ color: rgb(247, 241, 103);
/* oklch */ color: oklch(93.7% 0.158 106.7);
Tailwind
colors: {
  custom: {
    50: '#fdf597',
    500: '#f7f167',
    950: '#000000',
  },
}
SCSS
$custom: #f7f167;
$custom-light: #fdf597;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f167",
  "rgb": {
    "r": 247,
    "g": 241,
    "b": 103
  },
  "hsl": {
    "h": 57.5,
    "s": 90,
    "l": 68.627
  },
  "oklch": {
    "l": 0.93718,
    "c": 0.15777,
    "h": 106.7
  },
  "luminance": 0.83664
}

Semantic roles & 50–950 ramp

primary
#F7F167
secondary
#3238D0
accent
#0AE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F7F167

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

Preview Lab → · Contrast checker → · Palette generator →

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