#FBD271#FBD271

#FBD271 is a very light, vivid orange. Relative luminance 0.678; OKLCH L 88.0% C 0.125 H 86.8°. Best body text is #000000 at 14.56:1 contrast (WCAG AA passes).

Color values

HEX#FBD271
RGBrgb(251, 210, 113)
HSLhsl(42, 95%, 71%)
HSVhsv(42, 55%, 98%)
CMYKcmyk(0%, 16.3%, 55%, 1.6%)
CIE-LABlab(85.91, 3.10, 52.84)
CIE-LCHlch(85.91, 52.93, 86.64°)
OKLaboklab(87.97% 0.0069 0.1244)
OKLCHoklch(87.97% 0.125 86.8)
XYZxyz(65.8138, 67.7982, 25.2394)
Luminance0.6780 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBD271 #719AFB
analogous
#FB8D71 #FBD271 #DFFB71
triadic
#FBD271 #71FBD2 #D271FB
tetradic
#FBD271 #71FB8D #719AFB #FB71DF
square
#FBD271 #71FB8D #719AFB #FB71DF
split-complementary
#FBD271 #71DFFB #8D71FB
monochromatic
#EBA707 #F9BF35 #FBD271 #FDE5AD #FEF6E1

Accessibility & contrast

On white

1.44
#FBD271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.56
#FBD271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBD271
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBD271#FFFFFF#000000##000000
##FBD2711.001.4414.5614.56
#FFFFFF1.441.0021.0021.00
#00000014.5621.001.001.00
##00000014.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D068
Deuteranopia (green-blind)
#F0DB75
Tritanopia (blue-blind)
#FFC3BC
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #fbd271;
/* rgb */ color: rgb(251, 210, 113);
/* oklch */ color: oklch(88.0% 0.125 86.8);
Tailwind
colors: {
  custom: {
    50: '#ffdf9c',
    500: '#fbd271',
    950: '#000000',
  },
}
SCSS
$custom: #fbd271;
$custom-light: #ffdf9c;
$custom-dark: #000000;
JSON
{
  "hex": "#fbd271",
  "rgb": {
    "r": 251,
    "g": 210,
    "b": 113
  },
  "hsl": {
    "h": 42.174,
    "s": 94.521,
    "l": 71.373
  },
  "oklch": {
    "l": 0.87971,
    "c": 0.12461,
    "h": 86.8
  },
  "luminance": 0.67795
}

Semantic roles & 50–950 ramp

primary
#FBD271
secondary
#3968D7
accent
#44E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #FBD271

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

Preview Lab → · Contrast checker → · Palette generator →

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