#FFFBA2#FFFBA2

#FFFBA2 is a very light, moderate yellow. Relative luminance 0.929; OKLCH L 97.2% C 0.110 H 106.1°. Best body text is #000000 at 19.57:1 contrast (WCAG AA passes).

Color values

HEX#FFFBA2
RGBrgb(255, 251, 162)
HSLhsl(57, 100%, 82%)
HSVhsv(57, 36%, 100%)
CMYKcmyk(0%, 1.6%, 36.5%, 0%)
CIE-LABlab(97.17, -11.32, 43.16)
CIE-LCHlch(97.17, 44.62, 104.70°)
OKLaboklab(97.17% -0.0305 0.1059)
OKLCHoklch(97.17% 0.11 106.1)
XYZxyz(82.2598, 92.8648, 47.7668)
Luminance0.9286 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFBA2 #A2A6FF
analogous
#FFCDA2 #FFFBA2 #D5FFA2
triadic
#FFFBA2 #A2FFFB #FBA2FF
tetradic
#FFFBA2 #A2FFCD #A2A6FF #FFA2D5
square
#FFFBA2 #A2FFCD #A2A6FF #FFA2D5
split-complementary
#FFFBA2 #A2D5FF #CDA2FF
monochromatic
#FFF628 #FFF865 #FFFBA2 #FFFEDF #FFFEE0

Accessibility & contrast

On white

1.07
#FFFBA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.57
#FFFBA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFBA2
19.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFBA2#FFFFFF#000000##000000
##FFFBA21.001.0719.5719.57
#FFFFFF1.071.0021.0021.00
#00000019.5721.001.001.00
##00000019.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF49B
Deuteranopia (green-blind)
#FFF9A6
Tritanopia (blue-blind)
#FFF0E5
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #fffba2;
/* rgb */ color: rgb(255, 251, 162);
/* oklch */ color: oklch(97.2% 0.110 106.1);
Tailwind
colors: {
  custom: {
    50: '#fffcbe',
    500: '#fffba2',
    950: '#000000',
  },
}
SCSS
$custom: #fffba2;
$custom-light: #fffcbe;
$custom-dark: #000000;
JSON
{
  "hex": "#fffba2",
  "rgb": {
    "r": 255,
    "g": 251,
    "b": 162
  },
  "hsl": {
    "h": 57.419,
    "s": 100,
    "l": 81.765
  },
  "oklch": {
    "l": 0.97166,
    "c": 0.1102,
    "h": 106.1
  },
  "luminance": 0.92863
}

Semantic roles & 50–950 ramp

primary
#FFFBA2
secondary
#6267E3
accent
#0AE600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181712
muted
#868582

Preview Lab

Preview with #FFFBA2

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

Preview Lab → · Contrast checker → · Palette generator →

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