#FBD478#FBD478

#FBD478 is a very light, moderate orange. Relative luminance 0.690; OKLCH L 88.5% C 0.119 H 87.0°. Best body text is #000000 at 14.79:1 contrast (WCAG AA passes).

Color values

HEX#FBD478
RGBrgb(251, 212, 120)
HSLhsl(42, 94%, 73%)
HSVhsv(42, 52%, 98%)
CMYKcmyk(0%, 15.5%, 52.2%, 1.6%)
CIE-LABlab(86.48, 2.63, 50.18)
CIE-LCHlch(86.48, 50.25, 86.99°)
OKLaboklab(88.45% 0.0064 0.1192)
OKLCHoklch(88.45% 0.119 87)
XYZxyz(66.7200, 68.9557, 27.5611)
Luminance0.6895 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBD478 #789FFB
analogous
#FB9278 #FBD478 #E1FB78
triadic
#FBD478 #78FBD4 #D478FB
tetradic
#FBD478 #78FB92 #789FFB #FB78E1
square
#FBD478 #78FB92 #789FFB #FB78E1
split-complementary
#FBD478 #78E1FB #9278FB
monochromatic
#F1AC07 #F9C13D #FBD478 #FDE7B3 #FEF6E1

Accessibility & contrast

On white

1.42
#FBD478 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.79
#FBD478 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBD478
14.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBD478#FFFFFF#000000##000000
##FBD4781.001.4214.7914.79
#FFFFFF1.421.0021.0021.00
#00000014.7921.001.001.00
##00000014.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D270
Deuteranopia (green-blind)
#F1DD7B
Tritanopia (blue-blind)
#FFC6BE
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #fbd478;
/* rgb */ color: rgb(251, 212, 120);
/* oklch */ color: oklch(88.5% 0.119 87.0);
Tailwind
colors: {
  custom: {
    50: '#ffe1a1',
    500: '#fbd478',
    950: '#000000',
  },
}
SCSS
$custom: #fbd478;
$custom-light: #ffe1a1;
$custom-dark: #000000;
JSON
{
  "hex": "#fbd478",
  "rgb": {
    "r": 251,
    "g": 212,
    "b": 120
  },
  "hsl": {
    "h": 42.137,
    "s": 94.245,
    "l": 72.745
  },
  "oklch": {
    "l": 0.88451,
    "c": 0.11938,
    "h": 87
  },
  "luminance": 0.68952
}

Semantic roles & 50–950 ramp

primary
#FBD478
secondary
#3F6DD8
accent
#44E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150F
muted
#868480

Preview Lab

Preview with #FBD478

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

Preview Lab → · Contrast checker → · Palette generator →

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