#F0A271#F0A271

#F0A271 is a light, moderate orange. Relative luminance 0.456; OKLCH L 77.8% C 0.113 H 52.5°. Best body text is #000000 at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#F0A271
RGBrgb(240, 162, 113)
HSLhsl(23, 81%, 69%)
HSVhsv(23, 53%, 94%)
CMYKcmyk(0%, 32.5%, 52.9%, 5.9%)
CIE-LABlab(73.26, 23.77, 37.10)
CIE-LCHlch(73.26, 44.07, 57.35°)
OKLaboklab(77.83% 0.0688 0.0897)
OKLCHoklch(77.83% 0.113 52.5)
XYZxyz(51.8392, 45.5624, 21.6838)
Luminance0.4556 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0A271 #71BFF0
analogous
#F07180 #F0A271 #F0E271
triadic
#F0A271 #71F0A2 #A271F0
tetradic
#F0A271 #80F071 #71BFF0 #E271F0
square
#F0A271 #80F071 #71BFF0 #E271F0
split-complementary
#F0A271 #71F0E2 #7180F0
monochromatic
#D15E16 #EA7E3A #F0A271 #F6C6A8 #FCEBE0

Accessibility & contrast

On white

2.08
#F0A271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.11
#F0A271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0A271
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0A271#FFFFFF#000000##000000
##F0A2711.002.0810.1110.11
#FFFFFF2.081.0021.0021.00
#00000010.1121.001.001.00
##00000010.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8AA6D
Deuteranopia (green-blind)
#CABB71
Tritanopia (blue-blind)
#FF9396
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #f0a271;
/* rgb */ color: rgb(240, 162, 113);
/* oklch */ color: oklch(77.8% 0.113 52.5);
Tailwind
colors: {
  custom: {
    50: '#f8be9a',
    500: '#f0a271',
    950: '#000000',
  },
}
SCSS
$custom: #f0a271;
$custom-light: #f8be9a;
$custom-dark: #000000;
JSON
{
  "hex": "#f0a271",
  "rgb": {
    "r": 240,
    "g": 162,
    "b": 113
  },
  "hsl": {
    "h": 23.15,
    "s": 80.892,
    "l": 69.216
  },
  "oklch": {
    "l": 0.77835,
    "c": 0.11305,
    "h": 52.5
  },
  "luminance": 0.45558
}

Semantic roles & 50–950 ramp

primary
#F0A271
secondary
#CCE3F1
accent
#8BDD08
background
#FFFBF9
surface
#FFF6F2
border
#D7D0CC
text
#18120E
muted
#86817E

Preview Lab

Preview with #F0A271

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

Preview Lab → · Contrast checker → · Palette generator →

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