#F0AF51#F0AF51

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

Color values

HEX#F0AF51
RGBrgb(240, 175, 81)
HSLhsl(35, 84%, 63%)
HSVhsv(35, 66%, 94%)
CMYKcmyk(0%, 27.1%, 66.3%, 5.9%)
CIE-LABlab(75.94, 14.63, 56.11)
CIE-LCHlch(75.94, 57.99, 75.39°)
OKLaboklab(79.79% 0.0373 0.1278)
OKLCHoklch(79.79% 0.133 73.7)
XYZxyz(52.7537, 49.7834, 14.6137)
Luminance0.4978 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0AF51 #5192F0
analogous
#F06051 #F0AF51 #E1F051
triadic
#F0AF51 #51F0AF #AF51F0
tetradic
#F0AF51 #51F060 #5192F0 #F051E1
square
#F0AF51 #51F060 #5192F0 #F051E1
split-complementary
#F0AF51 #51E1F0 #6051F0
monochromatic
#B77310 #EB9519 #F0AF51 #F5C989 #FAE3C2

Accessibility & contrast

On white

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

On black

10.96
#F0AF51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0AF51
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0AF51#FFFFFF#000000##000000
##F0AF511.001.9210.9610.96
#FFFFFF1.921.0021.0021.00
#00000010.9621.001.001.00
##00000010.9621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f0af51;
/* rgb */ color: rgb(240, 175, 81);
/* oklch */ color: oklch(79.8% 0.133 73.7);
Tailwind
colors: {
  custom: {
    50: '#f9c686',
    500: '#f0af51',
    950: '#000000',
  },
}
SCSS
$custom: #f0af51;
$custom-light: #f9c686;
$custom-dark: #000000;
JSON
{
  "hex": "#f0af51",
  "rgb": {
    "r": 240,
    "g": 175,
    "b": 81
  },
  "hsl": {
    "h": 35.472,
    "s": 84.127,
    "l": 62.941
  },
  "oklch": {
    "l": 0.79794,
    "c": 0.13311,
    "h": 73.7
  },
  "luminance": 0.49779
}

Semantic roles & 50–950 ramp

primary
#F0AF51
secondary
#B2C9EB
accent
#5FE105
background
#FFFCF8
surface
#FFF8F0
border
#D7D1CB
text
#18130B
muted
#86827C

Preview Lab

Preview with #F0AF51

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

Preview Lab → · Contrast checker → · Palette generator →

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