#F0B271#F0B271

#F0B271 is a light, moderate orange. Relative luminance 0.516; OKLCH L 80.8% C 0.109 H 66.5°. Best body text is #000000 at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#F0B271
RGBrgb(240, 178, 113)
HSLhsl(31, 81%, 69%)
HSVhsv(31, 53%, 94%)
CMYKcmyk(0%, 25.8%, 52.9%, 5.9%)
CIE-LABlab(77.02, 15.31, 41.81)
CIE-LCHlch(77.02, 44.53, 69.89°)
OKLaboklab(80.76% 0.0435 0.1003)
OKLCHoklch(80.76% 0.109 66.5)
XYZxyz(54.8390, 51.5621, 22.6837)
Luminance0.5156 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0B271 #71AFF0
analogous
#F07371 #F0B271 #EEF071
triadic
#F0B271 #71F0B2 #B271F0
tetradic
#F0B271 #71F073 #71AFF0 #F071EE
square
#F0B271 #71F073 #71AFF0 #F071EE
split-complementary
#F0B271 #71EEF0 #7371F0
monochromatic
#D17616 #EA943A #F0B271 #F6D0A8 #FCEEE0

Accessibility & contrast

On white

1.86
#F0B271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.31
#F0B271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0B271
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0B271#FFFFFF#000000##000000
##F0B2711.001.8611.3111.31
#FFFFFF1.861.0021.0021.00
#00000011.3121.001.001.00
##00000011.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B66C
Deuteranopia (green-blind)
#D5C472
Tritanopia (blue-blind)
#FFA4A2
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #f0b271;
/* rgb */ color: rgb(240, 178, 113);
/* oklch */ color: oklch(80.8% 0.109 66.5);
Tailwind
colors: {
  custom: {
    50: '#f8c99b',
    500: '#f0b271',
    950: '#000000',
  },
}
SCSS
$custom: #f0b271;
$custom-light: #f8c99b;
$custom-dark: #000000;
JSON
{
  "hex": "#f0b271",
  "rgb": {
    "r": 240,
    "g": 178,
    "b": 113
  },
  "hsl": {
    "h": 30.709,
    "s": 80.892,
    "l": 69.216
  },
  "oklch": {
    "l": 0.80756,
    "c": 0.10932,
    "h": 66.5
  },
  "luminance": 0.51558
}

Semantic roles & 50–950 ramp

primary
#F0B271
secondary
#3C81C9
accent
#70DD08
background
#FFFDFC
surface
#FFF9F5
border
#D7D2CF
text
#18130E
muted
#86827F

Preview Lab

Preview with #F0B271

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

Preview Lab → · Contrast checker → · Palette generator →

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