#F0B478#F0B478

#F0B478 is a light, moderate orange. Relative luminance 0.525; OKLCH L 81.2% C 0.104 H 65.5°. Best body text is #000000 at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#F0B478
RGBrgb(240, 180, 120)
HSLhsl(30, 80%, 71%)
HSVhsv(30, 50%, 94%)
CMYKcmyk(0%, 25%, 50%, 5.9%)
CIE-LABlab(77.60, 14.86, 38.95)
CIE-LCHlch(77.60, 41.69, 69.11°)
OKLaboklab(81.24% 0.043 0.0943)
OKLCHoklch(81.24% 0.104 65.5)
XYZxyz(55.6493, 52.5275, 24.9734)
Luminance0.5252 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0B478 #78B4F0
analogous
#F07878 #F0B478 #F0F078
triadic
#F0B478 #78F0B4 #B478F0
tetradic
#F0B478 #78F078 #78B4F0 #F078F0
square
#F0B478 #78F078 #78B4F0 #F078F0
split-complementary
#F0B478 #78F0F0 #7878F0
monochromatic
#D67718 #EA9541 #F0B478 #F6D3AF #FCF0E3

Accessibility & contrast

On white

1.83
#F0B478 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.50
#F0B478 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0B478
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0B478#FFFFFF#000000##000000
##F0B4781.001.8311.5011.50
#FFFFFF1.831.0021.0021.00
#00000011.5021.001.001.00
##00000011.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B873
Deuteranopia (green-blind)
#D6C579
Tritanopia (blue-blind)
#FFA7A5
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #f0b478;
/* rgb */ color: rgb(240, 180, 120);
/* oklch */ color: oklch(81.2% 0.104 65.5);
Tailwind
colors: {
  custom: {
    50: '#f8caa0',
    500: '#f0b478',
    950: '#000000',
  },
}
SCSS
$custom: #f0b478;
$custom-light: #f8caa0;
$custom-dark: #000000;
JSON
{
  "hex": "#f0b478",
  "rgb": {
    "r": 240,
    "g": 180,
    "b": 120
  },
  "hsl": {
    "h": 30,
    "s": 80,
    "l": 70.588
  },
  "oklch": {
    "l": 0.81238,
    "c": 0.10366,
    "h": 65.5
  },
  "luminance": 0.52524
}

Semantic roles & 50–950 ramp

primary
#F0B478
secondary
#4286CA
accent
#73DC09
background
#FFFDFC
surface
#FFF9F5
border
#D7D2CF
text
#18130F
muted
#868280

Preview Lab

Preview with #F0B478

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

Preview Lab → · Contrast checker → · Palette generator →

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