#FBF38E#FBF38E

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

Color values

HEX#FBF38E
RGBrgb(251, 243, 142)
HSLhsl(56, 93%, 77%)
HSVhsv(56, 43%, 98%)
CMYKcmyk(0%, 3.2%, 43.4%, 1.6%)
CIE-LABlab(94.55, -10.98, 49.49)
CIE-LCHlch(94.55, 50.69, 102.51°)
OKLaboklab(94.92% -0.0309 0.1193)
OKLCHoklch(94.92% 0.123 104.5)
XYZxyz(76.7183, 86.5655, 38.2534)
Luminance0.8656 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF38E #8E96FB
analogous
#FBBC8E #FBF38E #CDFB8E
triadic
#FBF38E #8EFBF3 #F38EFB
tetradic
#FBF38E #8EFBBC #8E96FB #FB8ECD
square
#FBF38E #8EFBBC #8E96FB #FB8ECD
split-complementary
#FBF38E #8ECDFB #BC8EFB
monochromatic
#F7E618 #F9ED53 #FBF38E #FDF9C9 #FEFCE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FBF38E#FFFFFF#000000##000000
##FBF38E1.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)
#FFEC86
Deuteranopia (green-blind)
#FFF292
Tritanopia (blue-blind)
#FFE7DB
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #fbf38e;
/* rgb */ color: rgb(251, 243, 142);
/* oklch */ color: oklch(94.9% 0.123 104.5);
Tailwind
colors: {
  custom: {
    50: '#fef6b1',
    500: '#fbf38e',
    950: '#000000',
  },
}
SCSS
$custom: #fbf38e;
$custom-light: #fef6b1;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf38e",
  "rgb": {
    "r": 251,
    "g": 243,
    "b": 142
  },
  "hsl": {
    "h": 55.596,
    "s": 93.162,
    "l": 77.059
  },
  "oklch": {
    "l": 0.94923,
    "c": 0.12321,
    "h": 104.5
  },
  "luminance": 0.86563
}

Semantic roles & 50–950 ramp

primary
#FBF38E
secondary
#535DDB
accent
#11E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #FBF38E

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

Preview Lab → · Contrast checker → · Palette generator →

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