#F7E167#F7E167

#F7E167 is a very light, vivid yellow. Relative luminance 0.746; OKLCH L 90.5% C 0.143 H 99.2°. Best body text is #000000 at 15.92:1 contrast (WCAG AA passes).

Color values

HEX#F7E167
RGBrgb(247, 225, 103)
HSLhsl(51, 90%, 69%)
HSVhsv(51, 58%, 97%)
CMYKcmyk(0%, 8.9%, 58.3%, 3.1%)
CIE-LABlab(89.21, -6.88, 61.15)
CIE-LCHlch(89.21, 61.54, 96.42°)
OKLaboklab(90.46% -0.0228 0.1414)
OKLCHoklch(90.46% 0.143 99.2)
XYZxyz(67.7338, 74.6067, 23.6620)
Luminance0.7460 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E167 #677DF7
analogous
#F79967 #F7E167 #C5F767
triadic
#F7E167 #67F7E1 #E167F7
tetradic
#F7E167 #67F799 #677DF7 #F767C5
square
#F7E167 #67F799 #677DF7 #F767C5
split-complementary
#F7E167 #67C5F7 #9967F7
monochromatic
#D8B90B #F4D62D #F7E167 #FAECA1 #FDF8DB

Accessibility & contrast

On white

1.32
#F7E167 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.92
#F7E167 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7E167
15.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7E167#FFFFFF#000000##000000
##F7E1671.001.3215.9215.92
#FFFFFF1.321.0021.0021.00
#00000015.9221.001.001.00
##00000015.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DB5A
Deuteranopia (green-blind)
#FAE46D
Tritanopia (blue-blind)
#FFD2C6
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f7e167;
/* rgb */ color: rgb(247, 225, 103);
/* oklch */ color: oklch(90.5% 0.143 99.2);
Tailwind
colors: {
  custom: {
    50: '#fdea96',
    500: '#f7e167',
    950: '#000000',
  },
}
SCSS
$custom: #f7e167;
$custom-light: #fdea96;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e167",
  "rgb": {
    "r": 247,
    "g": 225,
    "b": 103
  },
  "hsl": {
    "h": 50.833,
    "s": 90,
    "l": 68.627
  },
  "oklch": {
    "l": 0.90463,
    "c": 0.14319,
    "h": 99.2
  },
  "luminance": 0.74604
}

Semantic roles & 50–950 ramp

primary
#F7E167
secondary
#324AD0
accent
#23E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F7E167

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

Preview Lab → · Contrast checker → · Palette generator →

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