#FBF38B#FBF38B

#FBF38B is a very light, vivid yellow. Relative luminance 0.865; OKLCH L 94.9% C 0.126 H 104.7°. Best body text is #000000 at 18.29:1 contrast (WCAG AA passes).

Color values

HEX#FBF38B
RGBrgb(251, 243, 139)
HSLhsl(56, 93%, 76%)
HSVhsv(56, 45%, 98%)
CMYKcmyk(0%, 3.2%, 44.6%, 1.6%)
CIE-LABlab(94.52, -11.27, 50.87)
CIE-LCHlch(94.52, 52.11, 102.49°)
OKLaboklab(94.88% -0.032 0.1222)
OKLCHoklch(94.88% 0.126 104.7)
XYZxyz(76.4961, 86.4766, 37.0832)
Luminance0.8647 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF38B #8B93FB
analogous
#FBBB8B #FBF38B #CBFB8B
triadic
#FBF38B #8BFBF3 #F38BFB
tetradic
#FBF38B #8BFBBB #8B93FB #FB8BCB
square
#FBF38B #8BFBBB #8B93FB #FB8BCB
split-complementary
#FBF38B #8BCBFB #BB8BFB
monochromatic
#F7E715 #F9ED50 #FBF38B #FDF9C6 #FEFCE1

Accessibility & contrast

On white

1.15
#FBF38B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.29
#FBF38B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF38B
18.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF38B#FFFFFF#000000##000000
##FBF38B1.001.1518.2918.29
#FFFFFF1.151.0021.0021.00
#00000018.2921.001.001.00
##00000018.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC82
Deuteranopia (green-blind)
#FFF290
Tritanopia (blue-blind)
#FFE7DA
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #fbf38b;
/* rgb */ color: rgb(251, 243, 139);
/* oklch */ color: oklch(94.9% 0.126 104.7);
Tailwind
colors: {
  custom: {
    50: '#fef6af',
    500: '#fbf38b',
    950: '#000000',
  },
}
SCSS
$custom: #fbf38b;
$custom-light: #fef6af;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf38b",
  "rgb": {
    "r": 251,
    "g": 243,
    "b": 139
  },
  "hsl": {
    "h": 55.714,
    "s": 93.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.9488,
    "c": 0.1263,
    "h": 104.7
  },
  "luminance": 0.86474
}

Semantic roles & 50–950 ramp

primary
#FBF38B
secondary
#505ADA
accent
#10E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #FBF38B

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

Preview Lab → · Contrast checker → · Palette generator →

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