#FBF368#FBF368

#FBF368 is a very light, vivid yellow. Relative luminance 0.856; OKLCH L 94.5% C 0.159 H 106.0°. Best body text is #000000 at 18.12:1 contrast (WCAG AA passes).

Color values

HEX#FBF368
RGBrgb(251, 243, 104)
HSLhsl(57, 95%, 70%)
HSVhsv(57, 59%, 98%)
CMYKcmyk(0%, 3.2%, 58.6%, 1.6%)
CIE-LABlab(94.15, -14.10, 66.30)
CIE-LCHlch(94.15, 67.78, 102.01°)
OKLaboklab(94.47% -0.0436 0.1524)
OKLCHoklch(94.47% 0.159 106)
XYZxyz(74.3354, 85.6123, 25.7031)
Luminance0.8561 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF368 #6870FB
analogous
#FBAA68 #FBF368 #B9FB68
triadic
#FBF368 #68FBF3 #F368FB
tetradic
#FBF368 #68FBAA #6870FB #FB68B9
square
#FBF368 #68FBAA #6870FB #FB68B9
split-complementary
#FBF368 #68B9FB #AA68FB
monochromatic
#E3D706 #F9EE2C #FBF368 #FDF8A4 #FEFCDF

Accessibility & contrast

On white

1.16
#FBF368 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.12
#FBF368 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF368
18.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF368#FFFFFF#000000##000000
##FBF3681.001.1618.1218.12
#FFFFFF1.161.0021.0021.00
#00000018.1221.001.001.00
##00000018.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB59
Deuteranopia (green-blind)
#FFF170
Tritanopia (blue-blind)
#FFE4D5
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #fbf368;
/* rgb */ color: rgb(251, 243, 104);
/* oklch */ color: oklch(94.5% 0.159 106.0);
Tailwind
colors: {
  custom: {
    50: '#fff698',
    500: '#fbf368',
    950: '#000000',
  },
}
SCSS
$custom: #fbf368;
$custom-light: #fff698;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf368",
  "rgb": {
    "r": 251,
    "g": 243,
    "b": 104
  },
  "hsl": {
    "h": 56.735,
    "s": 94.839,
    "l": 69.608
  },
  "oklch": {
    "l": 0.94467,
    "c": 0.1585,
    "h": 106
  },
  "luminance": 0.8561
}

Semantic roles & 50–950 ramp

primary
#FBF368
secondary
#323BD6
accent
#0CE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FBF368

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

Preview Lab → · Contrast checker → · Palette generator →

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