#FBE97C#FBE97C

#FBE97C is a very light, vivid yellow. Relative luminance 0.802; OKLCH L 92.7% C 0.131 H 100.1°. Best body text is #000000 at 17.05:1 contrast (WCAG AA passes).

Color values

HEX#FBE97C
RGBrgb(251, 233, 124)
HSLhsl(51, 94%, 74%)
HSVhsv(51, 51%, 98%)
CMYKcmyk(0%, 7.2%, 50.6%, 1.6%)
CIE-LABlab(91.79, -7.65, 54.66)
CIE-LCHlch(91.79, 55.20, 97.97°)
OKLaboklab(92.66% -0.023 0.1294)
OKLCHoklch(92.66% 0.131 100.1)
XYZxyz(72.5629, 80.2449, 30.7314)
Luminance0.8024 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBE97C #7C8EFB
analogous
#FBA97C #FBE97C #CDFB7C
triadic
#FBE97C #7CFBE9 #E97CFB
tetradic
#FBE97C #7CFBA9 #7C8EFB #FB7CCD
square
#FBE97C #7CFBA9 #7C8EFB #FB7CCD
split-complementary
#FBE97C #7CCDFB #A97CFB
monochromatic
#F5D307 #F9DF41 #FBE97C #FDF3B7 #FEFAE1

Accessibility & contrast

On white

1.23
#FBE97C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.05
#FBE97C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBE97C
17.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBE97C#FFFFFF#000000##000000
##FBE97C1.001.2317.0517.05
#FFFFFF1.231.0021.0021.00
#00000017.0521.001.001.00
##00000017.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE372
Deuteranopia (green-blind)
#FFEB81
Tritanopia (blue-blind)
#FFDCD0
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #fbe97c;
/* rgb */ color: rgb(251, 233, 124);
/* oklch */ color: oklch(92.7% 0.131 100.1);
Tailwind
colors: {
  custom: {
    50: '#ffefa4',
    500: '#fbe97c',
    950: '#000000',
  },
}
SCSS
$custom: #fbe97c;
$custom-light: #ffefa4;
$custom-dark: #000000;
JSON
{
  "hex": "#fbe97c",
  "rgb": {
    "r": 251,
    "g": 233,
    "b": 124
  },
  "hsl": {
    "h": 51.496,
    "s": 94.074,
    "l": 73.529
  },
  "oklch": {
    "l": 0.92664,
    "c": 0.13144,
    "h": 100.1
  },
  "luminance": 0.80242
}

Semantic roles & 50–950 ramp

primary
#FBE97C
secondary
#4358D8
accent
#21E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18160F
muted
#868580

Preview Lab

Preview with #FBE97C

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

Preview Lab → · Contrast checker → · Palette generator →

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