#F7E671#F7E671

#F7E671 is a very light, vivid yellow. Relative luminance 0.776; OKLCH L 91.6% C 0.139 H 101.1°. Best body text is #000000 at 16.51:1 contrast (WCAG AA passes).

Color values

HEX#F7E671
RGBrgb(247, 230, 113)
HSLhsl(52, 89%, 71%)
HSVhsv(52, 54%, 97%)
CMYKcmyk(0%, 6.9%, 54.3%, 3.1%)
CIE-LABlab(90.58, -8.64, 58.23)
CIE-LCHlch(90.58, 58.87, 98.44°)
OKLaboklab(91.58% -0.0268 0.1362)
OKLCHoklch(91.58% 0.139 101.1)
XYZxyz(69.6375, 77.5626, 26.9225)
Luminance0.7756 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E671 #7182F7
analogous
#F7A371 #F7E671 #C5F771
triadic
#F7E671 #71F7E6 #E671F7
tetradic
#F7E671 #71F7A3 #7182F7 #F771C5
square
#F7E671 #71F7A3 #7182F7 #F771C5
split-complementary
#F7E671 #71C5F7 #A371F7
monochromatic
#E1C60D #F4DC37 #F7E671 #FAF0AB #FDFAE2

Accessibility & contrast

On white

1.27
#F7E671 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.51
#F7E671 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7E671
16.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7E671#FFFFFF#000000##000000
##F7E6711.001.2716.5116.51
#FFFFFF1.271.0021.0021.00
#00000016.5121.001.001.00
##00000016.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E066
Deuteranopia (green-blind)
#FDE777
Tritanopia (blue-blind)
#FFD8CC
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #f7e671;
/* rgb */ color: rgb(247, 230, 113);
/* oklch */ color: oklch(91.6% 0.139 101.1);
Tailwind
colors: {
  custom: {
    50: '#fced9d',
    500: '#f7e671',
    950: '#000000',
  },
}
SCSS
$custom: #f7e671;
$custom-light: #fced9d;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e671",
  "rgb": {
    "r": 247,
    "g": 230,
    "b": 113
  },
  "hsl": {
    "h": 52.388,
    "s": 89.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.91582,
    "c": 0.1388,
    "h": 101.1
  },
  "luminance": 0.7756
}

Semantic roles & 50–950 ramp

primary
#F7E671
secondary
#3A4ED2
accent
#1DE600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F7E671

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

Preview Lab → · Contrast checker → · Palette generator →

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