#FBD97F#FBD97F

#FBD97F is a very light, moderate orange. Relative luminance 0.717; OKLCH L 89.5% C 0.116 H 89.3°. Best body text is #000000 at 15.33:1 contrast (WCAG AA passes).

Color values

HEX#FBD97F
RGBrgb(251, 217, 127)
HSLhsl(44, 94%, 74%)
HSVhsv(44, 49%, 98%)
CMYKcmyk(0%, 13.5%, 49.4%, 1.6%)
CIE-LABlab(87.81, 0.68, 48.40)
CIE-LCHlch(87.81, 48.41, 89.20°)
OKLaboklab(89.53% 0.0014 0.1158)
OKLCHoklch(89.53% 0.116 89.3)
XYZxyz(68.4297, 71.6704, 30.3039)
Luminance0.7167 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBD97F #7FA1FB
analogous
#FB9B7F #FBD97F #DFFB7F
triadic
#FBD97F #7FFBD9 #D97FFB
tetradic
#FBD97F #7FFB9B #7FA1FB #FB7FDF
square
#FBD97F #7FFB9B #7FA1FB #FB7FDF
split-complementary
#FBD97F #7FDFFB #9B7FFB
monochromatic
#F7B608 #F9C744 #FBD97F #FDEBBA #FEF6E1

Accessibility & contrast

On white

1.37
#FBD97F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.33
#FBD97F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBD97F
15.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBD97F#FFFFFF#000000##000000
##FBD97F1.001.3715.3315.33
#FFFFFF1.371.0021.0021.00
#00000015.3321.001.001.00
##00000015.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD777
Deuteranopia (green-blind)
#F4E082
Tritanopia (blue-blind)
#FFCCC3
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #fbd97f;
/* rgb */ color: rgb(251, 217, 127);
/* oklch */ color: oklch(89.5% 0.116 89.3);
Tailwind
colors: {
  custom: {
    50: '#ffe4a6',
    500: '#fbd97f',
    950: '#000000',
  },
}
SCSS
$custom: #fbd97f;
$custom-light: #ffe4a6;
$custom-dark: #000000;
JSON
{
  "hex": "#fbd97f",
  "rgb": {
    "r": 251,
    "g": 217,
    "b": 127
  },
  "hsl": {
    "h": 43.548,
    "s": 93.939,
    "l": 74.118
  },
  "oklch": {
    "l": 0.89525,
    "c": 0.11585,
    "h": 89.3
  },
  "luminance": 0.71667
}

Semantic roles & 50–950 ramp

primary
#FBD97F
secondary
#466ED9
accent
#3FE600
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#18150F
muted
#868480

Preview Lab

Preview with #FBD97F

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

Preview Lab → · Contrast checker → · Palette generator →

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