#F0AF54#F0AF54

#F0AF54 is a light, vivid orange. Relative luminance 0.498; OKLCH L 79.8% C 0.131 H 73.0°. Best body text is #000000 at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#F0AF54
RGBrgb(240, 175, 84)
HSLhsl(35, 84%, 64%)
HSVhsv(35, 65%, 94%)
CMYKcmyk(0%, 27.1%, 65%, 5.9%)
CIE-LABlab(75.96, 14.80, 54.76)
CIE-LCHlch(75.96, 56.73, 74.87°)
OKLaboklab(79.83% 0.0382 0.1254)
OKLCHoklch(79.83% 0.131 73)
XYZxyz(52.8687, 49.8294, 15.2193)
Luminance0.4983 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0AF54 #5495F0
analogous
#F06154 #F0AF54 #E3F054
triadic
#F0AF54 #54F0AF #AF54F0
tetradic
#F0AF54 #54F061 #5495F0 #F054E3
square
#F0AF54 #54F061 #5495F0 #F054E3
split-complementary
#F0AF54 #54E3F0 #6154F0
monochromatic
#B97310 #EB951C #F0AF54 #F5C98C #FAE4C5

Accessibility & contrast

On white

1.92
#F0AF54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.97
#F0AF54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0AF54
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0AF54#FFFFFF#000000##000000
##F0AF541.001.9210.9710.97
#FFFFFF1.921.0021.0021.00
#00000010.9721.001.001.00
##00000010.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B24A
Deuteranopia (green-blind)
#D5C256
Tritanopia (blue-blind)
#FF9E9B
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #f0af54;
/* rgb */ color: rgb(240, 175, 84);
/* oklch */ color: oklch(79.8% 0.131 73.0);
Tailwind
colors: {
  custom: {
    50: '#f9c687',
    500: '#f0af54',
    950: '#000000',
  },
}
SCSS
$custom: #f0af54;
$custom-light: #f9c687;
$custom-dark: #000000;
JSON
{
  "hex": "#f0af54",
  "rgb": {
    "r": 240,
    "g": 175,
    "b": 84
  },
  "hsl": {
    "h": 35,
    "s": 83.871,
    "l": 63.529
  },
  "oklch": {
    "l": 0.79825,
    "c": 0.13105,
    "h": 73
  },
  "luminance": 0.49825
}

Semantic roles & 50–950 ramp

primary
#F0AF54
secondary
#B4CBEC
accent
#60E005
background
#FFFCF8
surface
#FFF8F0
border
#D7D1CB
text
#18130B
muted
#86827C

Preview Lab

Preview with #F0AF54

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

Preview Lab → · Contrast checker → · Palette generator →

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