#F7D867#F7D867

#F7D867 is a very light, vivid yellow. Relative luminance 0.699; OKLCH L 88.7% C 0.136 H 94.1°. Best body text is #000000 at 14.97:1 contrast (WCAG AA passes).

Color values

HEX#F7D867
RGBrgb(247, 216, 103)
HSLhsl(47, 90%, 69%)
HSVhsv(47, 58%, 97%)
CMYKcmyk(0%, 12.6%, 58.3%, 3.1%)
CIE-LABlab(86.93, -2.34, 58.58)
CIE-LCHlch(86.93, 58.63, 92.28°)
OKLaboklab(88.66% -0.0098 0.1358)
OKLCHoklch(88.66% 0.136 94.1)
XYZxyz(65.3646, 69.8683, 22.8723)
Luminance0.6986 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7D867 #6786F7
analogous
#F79067 #F7D867 #CEF767
triadic
#F7D867 #67F7D8 #D867F7
tetradic
#F7D867 #67F790 #6786F7 #F767CE
square
#F7D867 #67F790 #6786F7 #F767CE
split-complementary
#F7D867 #67CEF7 #9067F7
monochromatic
#D8AC0B #F4C92D #F7D867 #FAE7A1 #FDF6DB

Accessibility & contrast

On white

1.40
#F7D867 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.97
#F7D867 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7D867
14.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7D867#FFFFFF#000000##000000
##F7D8671.001.4014.9714.97
#FFFFFF1.401.0021.0021.00
#00000014.9721.001.001.00
##00000014.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD45C
Deuteranopia (green-blind)
#F4DE6C
Tritanopia (blue-blind)
#FFC9BF
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #f7d867;
/* rgb */ color: rgb(247, 216, 103);
/* oklch */ color: oklch(88.7% 0.136 94.1);
Tailwind
colors: {
  custom: {
    50: '#fde396',
    500: '#f7d867',
    950: '#000000',
  },
}
SCSS
$custom: #f7d867;
$custom-light: #fde396;
$custom-dark: #000000;
JSON
{
  "hex": "#f7d867",
  "rgb": {
    "r": 247,
    "g": 216,
    "b": 103
  },
  "hsl": {
    "h": 47.083,
    "s": 90,
    "l": 68.627
  },
  "oklch": {
    "l": 0.88661,
    "c": 0.13619,
    "h": 94.1
  },
  "luminance": 0.69865
}

Semantic roles & 50–950 ramp

primary
#F7D867
secondary
#3254D0
accent
#31E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F7D867

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

Preview Lab → · Contrast checker → · Palette generator →

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