#F7D261#F7D261

#F7D261 is a very light, vivid yellow. Relative luminance 0.667; OKLCH L 87.4% C 0.137 H 91.2°. Best body text is #000000 at 14.35:1 contrast (WCAG AA passes).

Color values

HEX#F7D261
RGBrgb(247, 210, 97)
HSLhsl(45, 90%, 67%)
HSVhsv(45, 61%, 97%)
CMYKcmyk(0%, 15%, 60.7%, 3.1%)
CIE-LABlab(85.37, 0.31, 59.52)
CIE-LCHlch(85.37, 59.52, 89.70°)
OKLaboklab(87.41% -0.0028 0.1371)
OKLCHoklch(87.41% 0.137 91.2)
XYZxyz(63.5650, 66.7338, 20.8397)
Luminance0.6673 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7D261 #6186F7
analogous
#F78761 #F7D261 #D1F761
triadic
#F7D261 #61F7D2 #D261F7
tetradic
#F7D261 #61F787 #6186F7 #F761D1
square
#F7D261 #61F787 #6186F7 #F761D1
split-complementary
#F7D261 #61D1F7 #8761F7
monochromatic
#D3A20B #F4C127 #F7D261 #FAE39B #FDF3D6

Accessibility & contrast

On white

1.46
#F7D261 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.35
#F7D261 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7D261
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7D261#FFFFFF#000000##000000
##F7D2611.001.4614.3514.35
#FFFFFF1.461.0021.0021.00
#00000014.3521.001.001.00
##00000014.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CF55
Deuteranopia (green-blind)
#F0DA66
Tritanopia (blue-blind)
#FFC3B9
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #f7d261;
/* rgb */ color: rgb(247, 210, 97);
/* oklch */ color: oklch(87.4% 0.137 91.2);
Tailwind
colors: {
  custom: {
    50: '#fddf92',
    500: '#f7d261',
    950: '#000000',
  },
}
SCSS
$custom: #f7d261;
$custom-light: #fddf92;
$custom-dark: #000000;
JSON
{
  "hex": "#f7d261",
  "rgb": {
    "r": 247,
    "g": 210,
    "b": 97
  },
  "hsl": {
    "h": 45.2,
    "s": 90.361,
    "l": 67.451
  },
  "oklch": {
    "l": 0.87409,
    "c": 0.13714,
    "h": 91.2
  },
  "luminance": 0.6673
}

Semantic roles & 50–950 ramp

primary
#F7D261
secondary
#2E56CE
accent
#39E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F7D261

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

Preview Lab → · Contrast checker → · Palette generator →

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