#FFFB4E#FFFB4E

#FFFB4E is a very light, vivid yellow. Relative luminance 0.908; OKLCH L 96.2% C 0.184 H 108.1°. Best body text is #000000 at 19.16:1 contrast (WCAG AA passes).

Color values

HEX#FFFB4E
RGBrgb(255, 251, 78)
HSLhsl(59, 100%, 65%)
HSVhsv(59, 69%, 100%)
CMYKcmyk(0%, 1.6%, 69.4%, 0%)
CIE-LABlab(96.33, -17.84, 78.73)
CIE-LCHlch(96.33, 80.72, 102.77°)
OKLaboklab(96.22% -0.057 0.1747)
OKLCHoklch(96.22% 0.184 108.1)
XYZxyz(77.1152, 90.8069, 20.6716)
Luminance0.9080 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFB4E #4E52FF
analogous
#FFA24E #FFFB4E #AAFF4E
triadic
#FFFB4E #4EFFFB #FB4EFF
tetradic
#FFFB4E #4EFFA2 #4E52FF #FF4EAA
square
#FFFB4E #4EFFA2 #4E52FF #FF4EAA
split-complementary
#FFFB4E #4EAAFF #A24EFF
monochromatic
#D3CE00 #FFFA11 #FFFB4E #FFFC8B #FFFEC8

Accessibility & contrast

On white

1.10
#FFFB4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.16
#FFFB4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFB4E
19.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFB4E#FFFFFF#000000##000000
##FFFB4E1.001.1019.1619.16
#FFFFFF1.101.0021.0021.00
#00000019.1621.001.001.00
##00000019.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF130
Deuteranopia (green-blind)
#FFF75A
Tritanopia (blue-blind)
#FFEBD9
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fffb4e;
/* rgb */ color: rgb(255, 251, 78);
/* oklch */ color: oklch(96.2% 0.184 108.1);
Tailwind
colors: {
  custom: {
    50: '#fffc8a',
    500: '#fffb4e',
    950: '#000000',
  },
}
SCSS
$custom: #fffb4e;
$custom-light: #fffc8a;
$custom-dark: #000000;
JSON
{
  "hex": "#fffb4e",
  "rgb": {
    "r": 255,
    "g": 251,
    "b": 78
  },
  "hsl": {
    "h": 58.644,
    "s": 100,
    "l": 65.294
  },
  "oklch": {
    "l": 0.96224,
    "c": 0.18376,
    "h": 108.1
  },
  "luminance": 0.90804
}

Semantic roles & 50–950 ramp

primary
#FFFB4E
secondary
#2428CD
accent
#05E600
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#19170D
muted
#87857F

Preview Lab

Preview with #FFFB4E

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

Preview Lab → · Contrast checker → · Palette generator →

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