#FFF46B#FFF46B

#FFF46B is a very light, vivid yellow. Relative luminance 0.870; OKLCH L 95.0% C 0.157 H 104.7°. Best body text is #000000 at 18.40:1 contrast (WCAG AA passes).

Color values

HEX#FFF46B
RGBrgb(255, 244, 107)
HSLhsl(56, 100%, 71%)
HSVhsv(56, 58%, 100%)
CMYKcmyk(0%, 4.3%, 58%, 0%)
CIE-LABlab(94.75, -12.78, 65.78)
CIE-LCHlch(94.75, 67.01, 101.00°)
OKLaboklab(95.03% -0.0398 0.1516)
OKLCHoklch(95.03% 0.157 104.7)
XYZxyz(76.2471, 87.0255, 26.6883)
Luminance0.8702 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF46B #6B76FF
analogous
#FFAA6B #FFF46B #C0FF6B
triadic
#FFF46B #6BFFF4 #F46BFF
tetradic
#FFF46B #6BFFAA #6B76FF #FF6BC0
square
#FFF46B #6BFFAA #6B76FF #FF6BC0
split-complementary
#FFF46B #6BC0FF #AA6BFF
monochromatic
#F0DE00 #FFEF2E #FFF46B #FFF9A8 #FFFDE0

Accessibility & contrast

On white

1.14
#FFF46B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.40
#FFF46B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF46B
18.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF46B#FFFFFF#000000##000000
##FFF46B1.001.1418.4018.40
#FFFFFF1.141.0021.0021.00
#00000018.4021.001.001.00
##00000018.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC5C
Deuteranopia (green-blind)
#FFF372
Tritanopia (blue-blind)
#FFE5D6
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #fff46b;
/* rgb */ color: rgb(255, 244, 107);
/* oklch */ color: oklch(95.0% 0.157 104.7);
Tailwind
colors: {
  custom: {
    50: '#fff79a',
    500: '#fff46b',
    950: '#000000',
  },
}
SCSS
$custom: #fff46b;
$custom-light: #fff79a;
$custom-dark: #000000;
JSON
{
  "hex": "#fff46b",
  "rgb": {
    "r": 255,
    "g": 244,
    "b": 107
  },
  "hsl": {
    "h": 55.541,
    "s": 100,
    "l": 70.98
  },
  "oklch": {
    "l": 0.95033,
    "c": 0.15668,
    "h": 104.7
  },
  "luminance": 0.87023
}

Semantic roles & 50–950 ramp

primary
#FFF46B
secondary
#3340DB
accent
#11E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FFF46B

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

Preview Lab → · Contrast checker → · Palette generator →

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