#FBF394#FBF394

#FBF394 is a very light, moderate yellow. Relative luminance 0.867; OKLCH L 95.0% C 0.117 H 104.2°. Best body text is #000000 at 18.35:1 contrast (WCAG AA passes).

Color values

HEX#FBF394
RGBrgb(251, 243, 148)
HSLhsl(55, 93%, 78%)
HSVhsv(55, 41%, 98%)
CMYKcmyk(0%, 3.2%, 41%, 1.6%)
CIE-LABlab(94.63, -10.39, 46.69)
CIE-LCHlch(94.63, 47.83, 102.55°)
OKLaboklab(95.01% -0.0287 0.1133)
OKLCHoklch(95.01% 0.117 104.2)
XYZxyz(77.1810, 86.7505, 40.6901)
Luminance0.8675 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF394 #949CFB
analogous
#FBBF94 #FBF394 #CFFB94
triadic
#FBF394 #94FBF3 #F394FB
tetradic
#FBF394 #94FBBF #949CFB #FB94CF
square
#FBF394 #94FBBF #949CFB #FB94CF
split-complementary
#FBF394 #94CFFB #BF94FB
monochromatic
#F7E61E #F9EC59 #FBF394 #FDFACF #FEFCE2

Accessibility & contrast

On white

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

On black

18.35
#FBF394 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF394
18.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF394#FFFFFF#000000##000000
##FBF3941.001.1418.3518.35
#FFFFFF1.141.0021.0021.00
#00000018.3521.001.001.00
##00000018.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED8D
Deuteranopia (green-blind)
#FFF298
Tritanopia (blue-blind)
#FFE7DC
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #fbf394;
/* rgb */ color: rgb(251, 243, 148);
/* oklch */ color: oklch(95.0% 0.117 104.2);
Tailwind
colors: {
  custom: {
    50: '#fef6b5',
    500: '#fbf394',
    950: '#000000',
  },
}
SCSS
$custom: #fbf394;
$custom-light: #fef6b5;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf394",
  "rgb": {
    "r": 251,
    "g": 243,
    "b": 148
  },
  "hsl": {
    "h": 55.34,
    "s": 92.793,
    "l": 78.235
  },
  "oklch": {
    "l": 0.95011,
    "c": 0.11689,
    "h": 104.2
  },
  "luminance": 0.86749
}

Semantic roles & 50–950 ramp

primary
#FBF394
secondary
#5862DB
accent
#12E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #FBF394

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

Preview Lab → · Contrast checker → · Palette generator →

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