#FBE172#FBE172

#FBE172 is a very light, vivid yellow. Relative luminance 0.756; OKLCH L 90.9% C 0.134 H 96.4°. Best body text is #000000 at 16.12:1 contrast (WCAG AA passes).

Color values

HEX#FBE172
RGBrgb(251, 225, 114)
HSLhsl(49, 94%, 72%)
HSVhsv(49, 55%, 98%)
CMYKcmyk(0%, 10.4%, 54.6%, 1.6%)
CIE-LABlab(89.66, -4.45, 56.79)
CIE-LCHlch(89.66, 56.96, 94.48°)
OKLaboklab(90.94% -0.0149 0.1331)
OKLCHoklch(90.94% 0.134 96.4)
XYZxyz(69.7487, 75.5776, 26.8303)
Luminance0.7558 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBE172 #728CFB
analogous
#FB9D72 #FBE172 #D1FB72
triadic
#FBE172 #72FBE1 #E172FB
tetradic
#FBE172 #72FB9D #728CFB #FB72D1
square
#FBE172 #72FB9D #728CFB #FB72D1
split-complementary
#FBE172 #72D1FB #9D72FB
monochromatic
#ECC007 #F9D436 #FBE172 #FDEEAE #FEF9E1

Accessibility & contrast

On white

1.30
#FBE172 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.12
#FBE172 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBE172
16.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBE172#FFFFFF#000000##000000
##FBE1721.001.3016.1216.12
#FFFFFF1.301.0021.0021.00
#00000016.1221.001.001.00
##00000016.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DC68
Deuteranopia (green-blind)
#FBE577
Tritanopia (blue-blind)
#FFD3C8
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #fbe172;
/* rgb */ color: rgb(251, 225, 114);
/* oklch */ color: oklch(90.9% 0.134 96.4);
Tailwind
colors: {
  custom: {
    50: '#ffea9d',
    500: '#fbe172',
    950: '#000000',
  },
}
SCSS
$custom: #fbe172;
$custom-light: #ffea9d;
$custom-dark: #000000;
JSON
{
  "hex": "#fbe172",
  "rgb": {
    "r": 251,
    "g": 225,
    "b": 114
  },
  "hsl": {
    "h": 48.613,
    "s": 94.483,
    "l": 71.569
  },
  "oklch": {
    "l": 0.9094,
    "c": 0.13393,
    "h": 96.4
  },
  "luminance": 0.75575
}

Semantic roles & 50–950 ramp

primary
#FBE172
secondary
#3A58D7
accent
#2CE600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #FBE172

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

Preview Lab → · Contrast checker → · Palette generator →

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