#F7D461#F7D461

#F7D461 is a very light, vivid yellow. Relative luminance 0.677; OKLCH L 87.8% C 0.138 H 92.4°. Best body text is #000000 at 14.54:1 contrast (WCAG AA passes).

Color values

HEX#F7D461
RGBrgb(247, 212, 97)
HSLhsl(46, 90%, 67%)
HSVhsv(46, 61%, 97%)
CMYKcmyk(0%, 14.2%, 60.7%, 3.1%)
CIE-LABlab(85.87, -0.71, 60.07)
CIE-LCHlch(85.87, 60.08, 90.68°)
OKLaboklab(87.8% -0.0058 0.1383)
OKLCHoklch(87.8% 0.138 92.4)
XYZxyz(64.0618, 67.7275, 21.0054)
Luminance0.6772 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7D461 #6184F7
analogous
#F78961 #F7D461 #CFF761
triadic
#F7D461 #61F7D4 #D461F7
tetradic
#F7D461 #61F789 #6184F7 #F761CF
square
#F7D461 #61F789 #6184F7 #F761CF
split-complementary
#F7D461 #61CFF7 #8961F7
monochromatic
#D3A40B #F4C427 #F7D461 #FAE49B #FDF4D6

Accessibility & contrast

On white

1.44
#F7D461 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.54
#F7D461 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7D461
14.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7D461#FFFFFF#000000##000000
##F7D4611.001.4414.5414.54
#FFFFFF1.441.0021.0021.00
#00000014.5421.001.001.00
##00000014.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D155
Deuteranopia (green-blind)
#F1DB66
Tritanopia (blue-blind)
#FFC5BB
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #f7d461;
/* rgb */ color: rgb(247, 212, 97);
/* oklch */ color: oklch(87.8% 0.138 92.4);
Tailwind
colors: {
  custom: {
    50: '#fde092',
    500: '#f7d461',
    950: '#000000',
  },
}
SCSS
$custom: #f7d461;
$custom-light: #fde092;
$custom-dark: #000000;
JSON
{
  "hex": "#f7d461",
  "rgb": {
    "r": 247,
    "g": 212,
    "b": 97
  },
  "hsl": {
    "h": 46,
    "s": 90.361,
    "l": 67.451
  },
  "oklch": {
    "l": 0.87804,
    "c": 0.13842,
    "h": 92.4
  },
  "luminance": 0.67724
}

Semantic roles & 50–950 ramp

primary
#F7D461
secondary
#2E54CE
accent
#36E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F7D461

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

Preview Lab → · Contrast checker → · Palette generator →

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