#FFF261#FFF261

#FFF261 is a very light, vivid yellow. Relative luminance 0.856; OKLCH L 94.5% C 0.163 H 104.2°. Best body text is #000000 at 18.13:1 contrast (WCAG AA passes).

Color values

HEX#FFF261
RGBrgb(255, 242, 97)
HSLhsl(55, 100%, 69%)
HSVhsv(55, 62%, 100%)
CMYKcmyk(0%, 5.1%, 62%, 0%)
CIE-LABlab(94.15, -12.45, 69.32)
CIE-LCHlch(94.15, 70.42, 100.18°)
OKLaboklab(94.53% -0.0399 0.1578)
OKLCHoklch(94.53% 0.163 104.2)
XYZxyz(75.1526, 85.6301, 23.8765)
Luminance0.8563 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF261 #616EFF
analogous
#FFA361 #FFF261 #BDFF61
triadic
#FFF261 #61FFF2 #F261FF
tetradic
#FFF261 #61FFA3 #616EFF #FF61BD
square
#FFF261 #61FFA3 #616EFF #FF61BD
split-complementary
#FFF261 #61BDFF #A361FF
monochromatic
#E6D300 #FFED24 #FFF261 #FFF79E #FFFCDB

Accessibility & contrast

On white

1.16
#FFF261 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.13
#FFF261 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF261
18.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF261#FFFFFF#000000##000000
##FFF2611.001.1618.1318.13
#FFFFFF1.161.0021.0021.00
#00000018.1321.001.001.00
##00000018.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA4F
Deuteranopia (green-blind)
#FFF169
Tritanopia (blue-blind)
#FFE3D4
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #fff261;
/* rgb */ color: rgb(255, 242, 97);
/* oklch */ color: oklch(94.5% 0.163 104.2);
Tailwind
colors: {
  custom: {
    50: '#fff694',
    500: '#fff261',
    950: '#000000',
  },
}
SCSS
$custom: #fff261;
$custom-light: #fff694;
$custom-dark: #000000;
JSON
{
  "hex": "#fff261",
  "rgb": {
    "r": 255,
    "g": 242,
    "b": 97
  },
  "hsl": {
    "h": 55.063,
    "s": 100,
    "l": 69.02
  },
  "oklch": {
    "l": 0.94532,
    "c": 0.16272,
    "h": 104.2
  },
  "luminance": 0.85627
}

Semantic roles & 50–950 ramp

primary
#FFF261
secondary
#2B39DA
accent
#13E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#19170E
muted
#87857F

Preview Lab

Preview with #FFF261

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

Preview Lab → · Contrast checker → · Palette generator →

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