#F7B251#F7B251

#F7B251 is a light, vivid orange. Relative luminance 0.522; OKLCH L 81.1% C 0.138 H 72.8°. Best body text is #000000 at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#F7B251
RGBrgb(247, 178, 81)
HSLhsl(35, 91%, 64%)
HSVhsv(35, 67%, 97%)
CMYKcmyk(0%, 27.9%, 67.2%, 3.1%)
CIE-LABlab(77.41, 15.96, 57.93)
CIE-LCHlch(77.41, 60.09, 74.59°)
OKLaboklab(81.11% 0.0408 0.1314)
OKLCHoklch(81.11% 0.138 72.8)
XYZxyz(55.7670, 52.2135, 14.9241)
Luminance0.5221 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7B251 #5196F7
analogous
#F75F51 #F7B251 #E9F751
triadic
#F7B251 #51F7B2 #B251F7
tetradic
#F7B251 #51F75F #5196F7 #F751E9
square
#F7B251 #51F75F #5196F7 #F751E9
split-complementary
#F7B251 #51E9F7 #5F51F7
monochromatic
#C57709 #F49816 #F7B251 #FACC8C #FCE6C6

Accessibility & contrast

On white

1.84
#F7B251 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.44
#F7B251 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7B251
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7B251#FFFFFF#000000##000000
##F7B2511.001.8411.4411.44
#FFFFFF1.841.0021.0021.00
#00000011.4421.001.001.00
##00000011.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB546
Deuteranopia (green-blind)
#DBC654
Tritanopia (blue-blind)
#FFA09D
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #f7b251;
/* rgb */ color: rgb(247, 178, 81);
/* oklch */ color: oklch(81.1% 0.138 72.8);
Tailwind
colors: {
  custom: {
    50: '#fec986',
    500: '#f7b251',
    950: '#000000',
  },
}
SCSS
$custom: #f7b251;
$custom-light: #fec986;
$custom-dark: #000000;
JSON
{
  "hex": "#f7b251",
  "rgb": {
    "r": 247,
    "g": 178,
    "b": 81
  },
  "hsl": {
    "h": 35.06,
    "s": 91.209,
    "l": 64.314
  },
  "oklch": {
    "l": 0.81112,
    "c": 0.13759,
    "h": 72.8
  },
  "luminance": 0.52209
}

Semantic roles & 50–950 ramp

primary
#F7B251
secondary
#2B69C2
accent
#5FE600
background
#FFFDFB
surface
#FFF9F2
border
#D7D2CC
text
#19130B
muted
#87827E

Preview Lab

Preview with #F7B251

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

Preview Lab → · Contrast checker → · Palette generator →

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