#FFFB2D#FFFB2D

#FFFB2D is a very light, vivid yellow. Relative luminance 0.904; OKLCH L 96.1% C 0.199 H 108.4°. Best body text is #000000 at 19.09:1 contrast (WCAG AA passes).

Color values

HEX#FFFB2D
RGBrgb(255, 251, 45)
HSLhsl(59, 100%, 59%)
HSVhsv(59, 82%, 100%)
CMYKcmyk(0%, 1.6%, 82.4%, 0%)
CIE-LABlab(96.18, -19.02, 88.04)
CIE-LCHlch(96.18, 90.07, 102.19°)
OKLaboklab(96.06% -0.0629 0.189)
OKLCHoklch(96.06% 0.199 108.4)
XYZxyz(76.2140, 90.4464, 15.9254)
Luminance0.9044 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFB2D #2D31FF
analogous
#FF922D #FFFB2D #9AFF2D
triadic
#FFFB2D #2DFFFB #FB2DFF
tetradic
#FFFB2D #2DFF92 #2D31FF #FF2D9A
square
#FFFB2D #2DFF92 #2D31FF #FF2D9A
split-complementary
#FFFB2D #2D9AFF #922DFF
monochromatic
#B2AE00 #EFEA00 #FFFB2D #FFFC6A #FFFDA7

Accessibility & contrast

On white

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

On black

19.09
#FFFB2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFB2D
19.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFB2D#FFFFFF#000000##000000
##FFFB2D1.001.1019.0919.09
#FFFFFF1.101.0021.0021.00
#00000019.0921.001.001.00
##00000019.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF100
Deuteranopia (green-blind)
#FFF742
Tritanopia (blue-blind)
#FFEAD7
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fffb2d;
/* rgb */ color: rgb(255, 251, 45);
/* oklch */ color: oklch(96.1% 0.199 108.4);
Tailwind
colors: {
  custom: {
    50: '#fffc7b',
    500: '#fffb2d',
    950: '#000000',
  },
}
SCSS
$custom: #fffb2d;
$custom-light: #fffc7b;
$custom-dark: #000000;
JSON
{
  "hex": "#fffb2d",
  "rgb": {
    "r": 255,
    "g": 251,
    "b": 45
  },
  "hsl": {
    "h": 58.857,
    "s": 100,
    "l": 58.824
  },
  "oklch": {
    "l": 0.96058,
    "c": 0.19915,
    "h": 108.4
  },
  "luminance": 0.90444
}

Semantic roles & 50–950 ramp

primary
#FFFB2D
secondary
#1F22B1
accent
#2DFF29
background
#FFFFFB
surface
#FFFFF2
border
#D7D7CC
text
#19170B
muted
#87857E

Preview Lab

Preview with #FFFB2D

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

Preview Lab → · Contrast checker → · Palette generator →

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