#FBE17C#FBE17C

#FBE17C is a very light, vivid yellow. Relative luminance 0.758; OKLCH L 91.1% C 0.125 H 95.3°. Best body text is #000000 at 16.16:1 contrast (WCAG AA passes).

Color values

HEX#FBE17C
RGBrgb(251, 225, 124)
HSLhsl(48, 94%, 74%)
HSVhsv(48, 51%, 98%)
CMYKcmyk(0%, 10.4%, 50.6%, 1.6%)
CIE-LABlab(89.77, -3.64, 52.24)
CIE-LCHlch(89.77, 52.36, 93.99°)
OKLaboklab(91.07% -0.0114 0.1241)
OKLCHoklch(91.07% 0.125 95.3)
XYZxyz(70.3493, 75.8178, 29.9936)
Luminance0.7581 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBE17C #7C96FB
analogous
#FBA17C #FBE17C #D5FB7C
triadic
#FBE17C #7CFBE1 #E17CFB
tetradic
#FBE17C #7CFBA1 #7C96FB #FB7CD5
square
#FBE17C #7CFBA1 #7C96FB #FB7CD5
split-complementary
#FBE17C #7CD5FB #A17CFB
monochromatic
#F5C407 #F9D341 #FBE17C #FDEFB7 #FEF8E1

Accessibility & contrast

On white

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

On black

16.16
#FBE17C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBE17C
16.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBE17C#FFFFFF#000000##000000
##FBE17C1.001.3016.1616.16
#FFFFFF1.301.0021.0021.00
#00000016.1621.001.001.00
##00000016.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DD73
Deuteranopia (green-blind)
#FAE580
Tritanopia (blue-blind)
#FFD4C9
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #fbe17c;
/* rgb */ color: rgb(251, 225, 124);
/* oklch */ color: oklch(91.1% 0.125 95.3);
Tailwind
colors: {
  custom: {
    50: '#ffeaa4',
    500: '#fbe17c',
    950: '#000000',
  },
}
SCSS
$custom: #fbe17c;
$custom-light: #ffeaa4;
$custom-dark: #000000;
JSON
{
  "hex": "#fbe17c",
  "rgb": {
    "r": 251,
    "g": 225,
    "b": 124
  },
  "hsl": {
    "h": 47.717,
    "s": 94.074,
    "l": 73.529
  },
  "oklch": {
    "l": 0.91065,
    "c": 0.12461,
    "h": 95.3
  },
  "luminance": 0.75815
}

Semantic roles & 50–950 ramp

primary
#FBE17C
secondary
#4361D8
accent
#2FE600
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#18160F
muted
#868480

Preview Lab

Preview with #FBE17C

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

Preview Lab → · Contrast checker → · Palette generator →

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