#FBF38D#FBF38D

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

Color values

HEX#FBF38D
RGBrgb(251, 243, 141)
HSLhsl(56, 93%, 77%)
HSVhsv(56, 44%, 98%)
CMYKcmyk(0%, 3.2%, 43.8%, 1.6%)
CIE-LABlab(94.54, -11.08, 49.95)
CIE-LCHlch(94.54, 51.16, 102.51°)
OKLaboklab(94.91% -0.0313 0.1202)
OKLCHoklch(94.91% 0.124 104.6)
XYZxyz(76.6436, 86.5356, 37.8598)
Luminance0.8653 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF38D #8D95FB
analogous
#FBBC8D #FBF38D #CCFB8D
triadic
#FBF38D #8DFBF3 #F38DFB
tetradic
#FBF38D #8DFBBC #8D95FB #FB8DCC
square
#FBF38D #8DFBBC #8D95FB #FB8DCC
split-complementary
#FBF38D #8DCCFB #BC8DFB
monochromatic
#F7E717 #F9ED52 #FBF38D #FDF9C8 #FEFCE1

Accessibility & contrast

On white

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

On black

18.31
#FBF38D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF38D
18.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF38D#FFFFFF#000000##000000
##FBF38D1.001.1518.3118.31
#FFFFFF1.151.0021.0021.00
#00000018.3121.001.001.00
##00000018.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC85
Deuteranopia (green-blind)
#FFF291
Tritanopia (blue-blind)
#FFE7DB
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #fbf38d;
/* rgb */ color: rgb(251, 243, 141);
/* oklch */ color: oklch(94.9% 0.124 104.6);
Tailwind
colors: {
  custom: {
    50: '#fef6b0',
    500: '#fbf38d',
    950: '#000000',
  },
}
SCSS
$custom: #fbf38d;
$custom-light: #fef6b0;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf38d",
  "rgb": {
    "r": 251,
    "g": 243,
    "b": 141
  },
  "hsl": {
    "h": 55.636,
    "s": 93.22,
    "l": 76.863
  },
  "oklch": {
    "l": 0.94908,
    "c": 0.12424,
    "h": 104.6
  },
  "luminance": 0.86534
}

Semantic roles & 50–950 ramp

primary
#FBF38D
secondary
#525CDB
accent
#11E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181711
muted
#868581

Preview Lab

Preview with #FBF38D

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

Preview Lab → · Contrast checker → · Palette generator →

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